The lack of a simple piece of code to enable new (or just customized SWs with other names):
Quote:
Object GLABarracks
AddModule
Behavior = OCLSpecialPower ModuleTag_88
SpecialPowerTemplate = SuperweaponTerrorCell
OCL = SUPERWEAPON_TerrorCell
CreateLocation = CREATE_AT_LOCATION
End
End
End
|
Note, this is an EXAMPLE of how it should be defined. Just change the stuff to suit your own SW names and off course, the name of the building you want it to be enabled for.
HOWEVER, only use this code in a MAP.INI!!!
If you want it enabled for the command center, you can work around the map.ini, by using the code like this:
Quote:
Behavior = OCLSpecialPower ModuleTag_88
SpecialPowerTemplate = SuperweaponTerrorCell
OCL = SUPERWEAPON_TerrorCell
CreateLocation = CREATE_AT_LOCATION
End
|
Make sure that it is used somewhere at the end of the comm center code (otherwise you would have to change the moduletag most likely), just before the actual code to define the comm center ends (just place the code in there!

).
I haven't been able to add this code to other buildings without using the map.ini way. Somehow, it causes a crash....Perhaps it needs a little bit more...Like I said before, I'll try it later to see if I can get it to work for other buildings using diff methods....First though, I have to get me some Chinook to drop infantry on the ground using a genius way....if it works, it'll be genius that is...
