To Corbin:
Make sure everything else is present in the ini's for TerrorCell (just compare Terror Cell to SW's such as Artillery Barrage to see if it has entries in all ini's that the Artillery barrage has).
However, first check if you did the following:
Quote:
Object GLABarracks
AddModule
Behavior = OCLSpecialPower ModuleTag_88
SpecialPowerTemplate = SuperweaponTerrorCell
OCL = SUPERWEAPON_TerrorCell
CreateLocation = CREATE_AT_LOCATION
End
End
|
THAT should be in your map.ini file, NOT the other stuff that was below that.
Perhaps I should've been clear about the subject, but the code in this post is required to be put in map.ini IF you want it to work for your barracks (or other building...as long as you change the name at the top to the corresponding building's name).
The code that was below this code in my previous post, was meant to be used INSTEAD of the other code, to enable the Terror Cell for your command center. However, that code shouldn't be put in the map.ini, but in factionbuilding.ini instead, which would be put in the data\ini\object folder (manual placing that is).
To Rubra:
I might've spotted the source of your probs:
You have added the Terror Cell to the commandset of the GLA rank, which is a NO-NO. Do NOT, I repeat, NOT add any buttons to the commandset of science ranks, seeing as they are partially hardcoded.
Just add the button to a regular building instead. Don't worry, the player would still have to pay 1 General Point for it though (as you staed in your code).
Also, your FactionBuilding.ini might be giving you troubles. Did you add
Quote:
Object GLACommandCenter
Behavior = OCLSpecialPower ModuleTag_21
SpecialPowerTemplate = SuperweaponTerrorCell
OCL = SUPERWEAPON_TerrorCell
CreateLocation = CREATE_AT_LOCATION
End
|
this to the GLACommandCenter LIKE this? Or did you, like you should, add this:
Quote:
Behavior = OCLSpecialPower ModuleTag_21
SpecialPowerTemplate = SuperweaponTerrorCell
OCL = SUPERWEAPON_TerrorCell
CreateLocation = CREATE_AT_LOCATION
End
|
to the GLACommandCenter, amidst the other SW modules? Notice that the last quote did NOT have the Object GLACommandCenter in it, while the other did.
If you added it to the factionbuilding.ini, the "Object GLACommandCenter" bit was already defined to open the codes for that building. There's no use in defining it a 2nd time as part of the GLA comm center code again (seeing as the game would think that there suddenly are 2 copies of the comm center, which will conflict with each other, thus crash).
It's just a small detail, but it would be a pain in the ass if overlooked...