Author Topic: Putting commander into map  (Read 501 times)

Offline [KamiKaze] Destroyer

  • Jr. Member
  • **
  • Posts: 352
    • View Profile
Putting commander into map
« on: 10-10-2012, 15:10:30 »
Hello,

So, i have never done this before, i think that it would be useful for Warsaw and upcoming Omaha. Any ideas how do i even begin with this? How do you put in commander + his options in a map? =)

I tried to look for tutorials, either there are none or i searched using wrong words ;P

Offline Rabbit032

  • Jr. Member
  • **
  • Posts: 206
  • By all means necessary.
    • View Profile
Re: Putting commander into map
« Reply #1 on: 10-10-2012, 15:10:51 »
Use the object spawn
rem [ObjectSpawnerTemplate: US_Command]
ObjectTemplate.create ObjectSpawner US_Command
ObjectTemplate.activeSafe ObjectSpawner US_Command
ObjectTemplate.modifiedByUser "jeff"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.setObjectTemplate 2 britcommradio
ObjectTemplate.team 2
ObjectTemplate.teamOnVehicle 1

and

rem [ObjectSpawnerTemplate: German_Counter_Command_radio]
ObjectTemplate.create ObjectSpawner German_Counter_Command_radio
ObjectTemplate.activeSafe ObjectSpawner German_Counter_Command_radio
ObjectTemplate.modifiedByUser "jeff"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.setObjectTemplate 1 gercommradio
ObjectTemplate.team 1
ObjectTemplate.teamOnVehicle 1

Wham
Pipe Hitters Union

Offline Rabbit032

  • Jr. Member
  • **
  • Posts: 206
  • By all means necessary.
    • View Profile
Re: Putting commander into map
« Reply #2 on: 10-10-2012, 15:10:42 »
Also, you will need to find an equivalent to this for artillery if you want it, I used this for Dog Green


rem [ObjectSpawnerTemplate: US_Smoke]
ObjectTemplate.create ObjectSpawner US_Smoke
ObjectTemplate.activeSafe ObjectSpawner US_Smoke
ObjectTemplate.modifiedByUser "jeff"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.setObjectTemplate 2 commander_smoke_allied
ObjectTemplate.team 2
ObjectTemplate.teamOnVehicle 1
Pipe Hitters Union

Offline [KamiKaze] Destroyer

  • Jr. Member
  • **
  • Posts: 352
    • View Profile
Re: Putting commander into map
« Reply #3 on: 10-10-2012, 19:10:02 »
Allright, thanks =)

I will try this out  ;)

Cheers