Code is wrong. The upgrade cant have activeanims.
Check how upgrades in TS work and then apply the same logic.
It's basically that the upgrade is directly NAPOWRU_A and no intermediate NAPOWRU _________________ SHP Artist of Twisted Insurrection: Nod buildings
I don't know about RA2, but in TS upgrades themselves are the activeanim. They can't have an activeanim on their own, because they are no real building.
And of course do they obey damage stages. For that you have the key PowerUp1DamagedAnim.
rules.ini
Code:
[BuildingTypes]
004=GAPOWR
045=GAPOWRUP
[GAPOWR]
Upgrades=2
;the rest are just the usual building keys
[GAPOWRUP]
Name=Power Turbine
Prerequisite=GAPOWR
Image=GAPOWR_B ;see here, it is the anim itself, not some other building
TechLevel=7
Armor=wood
Sight=1
Owner=GDI
Cost=100
Points=30
Power=50
Crewed=no
Capturable=no
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
PowersUpBuilding=gapowr
PowersUpToLevel=-1
ThreatPosed=0 ; This value MUST be 0 for all building addons
art.ini
Code:
[GAPOWR]
Normalized=yes
Remapable=yes
Cameo=POWRICON
Foundation=2x2
Buildup=GAPOWRMK
DemandLoadBuildup=true
FreeBuildup=true
NewTheater=yes
Height=2
PowerUp1Anim=GAPOWR_B
;PowerUp1DamagedAnim ;original TS PP has no damage version for the upgrade, but here it would go if you have one
PowerUp1LocXX=-24
PowerUp1LocYY=13
PowerUp1LocZZ=-17
PowerUp1YSort=-5
;the upgrade is the animation itself. It only has an additional cameo key, else it's coded like any ordinary activeanim
[GAPOWR_B]
Cameo=TURBICON
NewTheater=yes
Normalized=yes
Surface=yes
LoopEnd=12
LoopCount=-1
Rate=220
PowerUpXAnimDamaged Tags don't work in RA2/YR as far as i can tell from testing and from what I heard from other modders. _________________ ~ Excelsior ~ QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum