Posted by: Kampy* - Saturday, April 7, 2012 2:20:03 AM
Hello, please help me with this. I need to spawn (or have them on the map from the start) (inf)bunkers with men(9infTH,1Pathfinder) inside. I dont mind if it's a map.ini solution. I'm desperate~ [IMG]http://imagespace.us.to/n-im/7f5eb6f1.jpg[/IMG]

Posted by: Lithium - Tuesday, April 17, 2012 3:19:31 PM
This is the map.ini file to make a full bunker [code]CommandSet FullBunkerCommandSet 1 = Command_TransportExit 2 = Command_TransportExit 3 = Command_TransportExit 4 = Command_TransportExit 5 = Command_TransportExit 6 = Command_TransportExit 7 = Command_TransportExit 8 = Command_TransportExit 9 = Command_TransportExit 10 = Command_TransportExit 11 = Command_Evacuate 12 = Command_Stop End Object CivilianBunker01 RemoveModule ModuleTag_03 CommandSet = FullBunkerCommandSet AddModule Behavior = TransportContain ModuleTag_08_missiledefender PassengersAllowedToFire = Yes InitialPayload = AmericaInfantryMissileDefender 8 EnterSound = GarrisonEnter ExitSound = GarrisonExit End End AddModule Behavior = TransportContain ModuleTag_09_pathfinder PassengersAllowedToFire = Yes Slots = 10 InitialPayload = AmericaInfantryPathfinder 2 EnterSound = GarrisonEnter ExitSound = GarrisonExit End End End [/code] In this case we have lost the garrison model (with the flag and color), I've done it fast, tomorrow if possible I will look [smile] Every time you will spawn a bunker it will be full Note that each bunker will now be full, if you also need in your map empty bunkers you need to make a model for this

Posted by: NewNightmare - Wednesday, April 18, 2012 1:02:53 PM
why not place the bunker and required infantry in the same position (literally 1 on top of another), and go with a [code]** IF ** True ** Then ** Unit '1' garrisons 'Bunker' Unit '2' garrisons 'Bunker' Unit '3' garrisons 'Bunker' Unit '4' garrisons 'Bunker' Unit '5' garrisons 'Bunker' Unit '6' garrisons 'Bunker' Unit '7' garrisons 'Bunker' Unit '8' garrisons 'Bunker' Unit '9' garrisons 'Bunker' Unit '10' garrisons 'Bunker'[/code] You will find 'garrison' order for units inside.. 'unit' rollout. You could also go with Spawn unit 'A' of type 'B', position C,D,E and rotation F degrees - 'named unit at specific location' or something like that. And then the garrison if you want. Note It's something that can be used to show e.g. progress in base development over time (I used it when I had to capture a point and then hold it for x minutes, the whole base just spawned using this 1 type of command => Fade out > spawn > fade in)