cr7ed10
  • cr7ed10
  • 50.25% (Neutral)
  • Private Topic Starter
9 years ago
First of all if i posted this in a wrong section,im sorrry cuz im new here and all i wanted to ask was how to pre deploy infantry units in Transportable units,like Humvee,Chinhooks,GLA technicals etc,i want to make the slots of the Humvee to be deployed with American Rangers as soon as the humvee comes out from the War factory ,how do i do this?and im a little bit good in INI modding so yeah,just saying.
Sponsor
klingondragon
9 years ago
Look at the Chinese troop crawler, then apply the preload line to whatever you want.
cr7ed10
  • cr7ed10
  • 50.25% (Neutral)
  • Private Topic Starter
9 years ago

Look at the Chinese troop crawler, then apply the preload line to whatever you want.

Originally Posted by: klingondragon 



I did it ,for the Humvee but it crashed
Annihilationzh
9 years ago

I did it ,for the Humvee but it crashed

Originally Posted by: cr7ed10 


When did it crash? We also need to see your code if you want us to help.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
cr7ed10
  • cr7ed10
  • 50.25% (Neutral)
  • Private Topic Starter
9 years ago

I did it ,for the Humvee but it crashed

Originally Posted by: Annihilationzh 


When did it crash? We also need to see your code if you want us to help.

Originally Posted by: cr7ed10 



Im trying to Mod the Reborn Mod,here i tried to add 4 American Rangers into the Comanche ,heres the Code, *CIC means Commander In Chief btw ,its a faction in the reborn mod,replacing the American Super Weapon General.

Behavior = TransportContain ModuleTag_08
Slots = 4
InitialPayload = CIC_AmericaInfantryRanger 4
PassengersAllowedToFire = Yes
DamagePercentToUnits = 100%
EnterSound = GarrisonEnter
ExitSound = GarrisonExit
AllowInsideKindOf = INFANTRY
ForbidInsideKindOf = AIRCRAFT HUGE_VEHICLE
NumberOfExitPaths = 3
ExitDelay = 200
End

I copied it from the Chinese Infantry Crawler
Behavior = TransportContain ModuleTag_06
PassengersAllowedToFire = Yes
Slots = 8
InitialPayload = Infa_ChinaInfantryMiniGunner 8
ScatterNearbyOnExit = Yes
HealthRegen%PerSec = 10
DamagePercentToUnits = 50% ;10%
AllowInsideKindOf = INFANTRY
ExitDelay = 250
NumberOfExitPaths = 3 ; Defaults to 1. Set 0 to not use ExitStart/ExitEnd, set higher than 1 to use ExitStart01-nn/ExitEnd01-nn
GoAggressiveOnExit = Yes ; AI Will tell people to set their mood to Aggressive on exiting
ArmedRidersUpgradeMyWeaponSet = Yes
End

When i did that for the commanche,it didnt crash this time but nothing happened ,No Rangers Spawned in there.

klingondragon
9 years ago
Try using the worldbuilder debug.
acidbrain
9 years ago
InitialPayload = CIC_AmericaInfantryRanger 4
is causing the headache...Comment out that line and the game will run...

Maybe you can make an upgrade with a invisible bunker for the comanche and grant the upgrade to the unit at creation, give the invisible bunker the initialpayload and voila, check helix for more info on the code...Or maybe im full of sjit, happens more...

Greetz
Panem et kirkinses
cr7ed10
  • cr7ed10
  • 50.25% (Neutral)
  • Private Topic Starter
9 years ago
Sooo any solution guys?
klingondragon
9 years ago
You could use the bunker upgrade with an initial payload.
cr7ed10
  • cr7ed10
  • 50.25% (Neutral)
  • Private Topic Starter
9 years ago

You could use the bunker upgrade with an initial payload.

Originally Posted by: klingondragon 



How to do that?can u like give me the code or something?Thanks
acidbrain
9 years ago
Check the Helix code...
We can chew it all out for ya but that will
A. Cost us time while we also have other things to do, you got a few hints already
B. You will never learn to code if others do it for you
C. See A & B
D. Check the Helix code.
E. See D

Greetz and Good luck...
and btw Check the Helix code
Panem et kirkinses
Zatsupachi
9 years ago
Run worldbuilder.
Report all errors. Here.
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!