Posted by: cr7ed10 - Friday, September 30, 2016 2:30:01 PM
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.

Posted by: klingondragon - Friday, September 30, 2016 4:17:52 PM
Look at the Chinese troop crawler, then apply the preload line to whatever you want.

Posted by: cr7ed10 - Saturday, October 1, 2016 7:04:04 AM
[quote=klingondragon;141182]Look at the Chinese troop crawler, then apply the preload line to whatever you want.[/quote] I did it ,for the Humvee but it crashed

Posted by: Annihilationzh - Saturday, October 1, 2016 1:19:28 PM
[quote=cr7ed10;141183]I did it ,for the Humvee but it crashed[/quote] When did it crash? We also need to see your code if you want us to help.

Posted by: cr7ed10 - Saturday, October 1, 2016 3:08:48 PM
[quote=Annihilationzh;141184][quote=cr7ed10;141183]I did it ,for the Humvee but it crashed[/quote] When did it crash? We also need to see your code if you want us to help.[/quote] 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.

Posted by: klingondragon - Saturday, October 1, 2016 3:59:55 PM
Try using the worldbuilder debug.

Posted by: acidbrain - Sunday, October 2, 2016 12:54:04 AM
[code=plain]InitialPayload = CIC_AmericaInfantryRanger 4[/code] 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

Posted by: cr7ed10 - Sunday, October 2, 2016 9:28:08 AM
Sooo any solution guys?

Posted by: klingondragon - Sunday, October 2, 2016 10:01:40 AM
You could use the bunker upgrade with an initial payload.

Posted by: cr7ed10 - Sunday, October 2, 2016 10:50:53 AM
[quote=klingondragon;141189]You could use the bunker upgrade with an initial payload.[/quote] How to do that?can u like give me the code or something?Thanks

Posted by: acidbrain - Sunday, October 2, 2016 11:52:14 AM
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

Posted by: Zatsupachi - Monday, October 3, 2016 11:10:12 AM
Run worldbuilder. Report all errors. Here.