danW
CivilianJoined : 22 Aug 2009
Posted: Mon Sep 07, 2009 9:36 pm Post subject:
Soviet Subpen
Having some fun coding the art for the subpen from this website http://zombapro.net/depot/buildshp1.html ive got the buildups and damage frames sorted but cannot get the 2 animations to work
Here is my coding:
[NASUBPEN]
Remapable=yes
Normalized=yes
Height=10
Cameo=NASUBPENICON
Foundation=4x4
Buildup=NASUBPENMK
DemandLoadBuildup=true
IdleAnim=NASUBPEN_A
IdleAnimDamaged=NASUBPEN_A
IdleAnimZAdjust=-77
IdleAnimYSort=543
IdleAnimPowered=no
ActiveAnimTwo=NASUBPEN_B
ActiveAnimTwoDamaged=NASUBPEN_B
ActiveAnimTwoZAdjust=-80
ActiveAnimTwoYSort=543
DockingOffset0=384,-128,0
CanHideThings=True
CanBeHidden=False
OccupyHeight=4
AddOccupy1=-3,-1
AddOccupy2=-3,-2
AddOccupy3=-3,-3
AddOccupy4=-2,-3
AddOccupy5=-4,-2
AddOccupy6=-4,-3
DamageFireOffset0=25,45
DamageFireOffset1=-37,42
DamageFireOffset2=-57,-6
Any ideas? QUICK_EDIT
Back to top
OmegaBolt
PresidentJoined : 21 Mar 2005Location : York, England
Back to top
ArvinCool
Tiberian BeastJoined : 01 Jun 2008
Posted: Mon Sep 07, 2009 10:00 pm Post subject:
I remeber when I coded this before, I am not sure but I think ActicateAnimTwo dont work on naval buildings?
Anyway use these codes if u want:
Code:
[NASUBPEN]
Remapable=yes
Normalized=yes
Height=10
Cameo=nasubpenicon
Foundation=4x4
Buildup=NASUBPENMK
DemandLoadBuildup=true
ActiveAnim=NASUBPEN_B
;ActiveAnimDamaged=NASUBPEN_AD
ActiveAnimZAdjust=-77
ActiveAnimYSort=543
;ActiveAnimTwo=NASUBPEN_B
;ActiveAnimTwoZAdjust=-77
;ActiveAnimTwoYSort=543
;ActiveAnimTwoPowered=no
;ActiveAnimThree=NASUBPEN_B
;ActiveAnimThreeZAdjust=-77
;ActiveAnimThreeYSort=543
;ActiveAnimThreePowered=no
ProductionAnim=NASUBPEN_A
ProductionAnimDamaged=NASUBPEN_AD
ProductionAnimZAdjust=-80
ProductionAnimYSort=543
DockingOffset0=384,-128,0
CanHideThings=True
CanBeHidden=False
OccupyHeight=4
AddOccupy1=-3,-1
AddOccupy2=-3,-2
AddOccupy3=-3,-3
AddOccupy4=-2,-3
AddOccupy5=-4,-2
AddOccupy6=-4,-3
DamageFireOffset0=25,45
DamageFireOffset1=-37,42
DamageFireOffset2=-57,-6
DemandLoad=true
[NASUBPEN_A]
Image=NASUBPEN_A
Normalized=yes
Start=0
LoopStart=0
LoopEnd=17
LoopCount=-1
Rate=200
Layer=ground
NewTheater=yes
Shadow=yes
DemandLoad=true
[NASUBPEN_AD]
Image=NASUBPEN_A
Normalized=yes
Start=18
LoopStart=41
LoopEnd=35
LoopCount=-1
Rate=200
Layer=ground
NewTheater=yes
Shadow=yes
DemandLoad=true
[NASUBPEN_B]
Image=NASUBPEN_B
Normalized=yes
Start=0
LoopStart=0
LoopEnd=11
LoopCount=-1
Rate=200
Layer=ground
NewTheater=yes
DemandLoad=true
CanHideThings=True
CanBeHidden=False
The second animation will be displayed when you buy a naval unit and stay there like a normal animation
Description:
Filesize:
3 KB
Viewed:
1295 Time(s)
_________________ "I'll be staying strapped cuse my mac-eleven make my nuts bigger " QUICK_EDIT
Back to top
danW
CivilianJoined : 22 Aug 2009
Back to top