Spaceboy
  • Spaceboy
  • 50.25% (Neutral)
  • Captain Topic Starter
13 years ago
i often created building with camonetting or mines
i have EUCammonetting & chinamines2 for cheaper upgrade they are working with other buildings

but in this case i have a firebase & laser patriot who should get thesee upgrades.
The laser System uses the Commandset of a Gattingcannon who uses these upgrades successful.

here is my code from the not working defence systems

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


i just copied the modules from working buildings.
pls look at it what im missing? i did it last times before some weeks?
Sponsor
Annihilationzh
13 years ago
?t=22s

here is my code from the not working defence systems


Define, "not working."

Does it crash? Is the upgrade greyed out? Do you purchase the upgrade and it doesn't activate?
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Spaceboy
  • Spaceboy
  • 50.25% (Neutral)
  • Captain Topic Starter
13 years ago
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.
Annihilationzh
13 years ago
You need a ProductionUpdate module for both of them.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Spaceboy
  • Spaceboy
  • 50.25% (Neutral)
  • Captain Topic Starter
13 years ago
thx 😃