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.