Posted by: Spaceboy - Tuesday, June 19, 2012 8:17:00 AM
Behavior = StealthUpdate ModuleTag_105
StealthDelay = 2000 ; msec
StealthForbiddenConditions = TAKING_DAMAGE ATTACKING
MoveThresholdSpeed = 3
InnateStealth = No ;Require the upgrade first
OrderIdleEnemiesToAttackMeUponReveal = Yes
End
Behavior = StealthUpgrade ModuleTag_106
TriggeredBy = Upgrade_EUCamoNetting
End
Behavior = GenerateMinefieldBehavior ModuleTag_04
TriggeredBy = Upgrade_ChinaMines2
MineName = ChinaStandardMine
SmartBorder = Yes
AlwaysCircular = Yes
Upgradable = Yes
UpgradedTriggeredBy = Upgrade_ChinaEMPMines
UpgradedMineName = ChinaEMPMine
End
Behavior = CommandSetUpgrade ModuleTag_25
CommandSet = EU_FireBaseCommandSetUpgrade
TriggeredBy = Upgrade_ChinaMines2
End
Behavior = ArmorUpgrade ModuleTag_26
TriggeredBy = Upgrade_ChinaEMPMines
End
Posted by: Annihilationzh - Tuesday, June 19, 2012 10:11:15 AM
http://youtu.be/OAXdxjxmAVI?t=22s
[quote]here is my code from the not working defence systems[/quote]
Define, "not working."
Does it crash? Is the upgrade greyed out? Do you purchase the upgrade and it doesn't activate?
Posted by: Spaceboy - Tuesday, June 19, 2012 10:24:52 AM
its greyed out. i tested it with the gla camonetting but its greyed out too.
if
InnateStealth = Yes
the turrets is stealth.
using grantupgrade (only testet for mines) doesnt work to
I think the problem is the upgrade but im confused because its working with the same code by all china defences and emp patriots.
Posted by: Annihilationzh - Tuesday, June 19, 2012 11:14:08 AM
You need a ProductionUpdate module for both of them.
Posted by: Spaceboy - Tuesday, June 19, 2012 11:24:26 AM