Kampy*
  • Kampy*
  • 57.5% (Neutral)
  • Private Topic Starter
14 years ago
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~
UserPostedImage
Sponsor
Lithium
13 years ago
This is the map.ini file to make a full bunker

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



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 😄

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
NewNightmare
13 years ago
why not place the bunker and required infantry in the same position (literally 1 on top of another), and go with a
** 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'
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)