chargedanim can be customized

Registered by Daiki Wong

All know that Buildings with ChargedAnimTime only Play the charge animation when the first superweapon(SuperWeapon=) is almost ready,and the following ideas are the enhancement of this function.

;in rulesmd.ini
[BuildingTypes]
IsChargingBuilding=yes
ChargedAnim.Count=
ChargedAnimX.SuperWeapon=0;0 for SuperWeapon,1 for SuperWeapon2.
ChargedAnimX.SuperWeapons=0;0 for the first superweapon in SuperWeapons list,1 for the next and so on.
;X is the index based on 0
ChargedAnimX.Priority=;the bigger one is used
ChargedAnimX.Waits=yes;weather the superweapon waits for the superweapons with higher priority.this also stop the timer of the superweapons while waiting.

;in artmd.ini
[BuildingTypes];work similar with the original tags
SuperAnimX=GAHTWC_E
SuperAnimXDamaged=GAHTWC_ED
SuperAnimXZAdjust=-20
SuperAnimXYSort=543
SuperAnimXTwo=GAHTWC_F
SuperAnimXTwoDamaged=GAHTWC_FD
SuperAnimXTwoZAdjust=-20
SuperAnimXTwoYSort=543
SuperAnimXThree=GAHTWC_G
SuperAnimXThreeDamaged=GAHTWC_GD
SuperAnimXThreeZAdjust=-20
SuperAnimXThreeYSort=543
SuperAnimXFour=GAHTWC_H
SuperAnimXFourDamaged=GAHTWC_HD
SuperAnimXFourZAdjust=-20
SuperAnimXFourYSort=543

For example:
[NAMISL]
SuperWeapon=NukeSpecial
SuperWeapon2=AtomBombSpecial;don't mind the names
SuperWeapons=TeslaBombSpecial,TeslaBomb2Special
ChargedAnimTime=1
IsChargingBuilding=yes
ChargedAnim.Count=4
ChargedAnim0.SuperWeapon=0;play charge animation when NukeSpecial is almost ready
ChargedAnim0.Priority=9
ChargedAnim0.Waits=yes
ChargedAnim1.SuperWeapon=1;play charge animation when AtomBombSpecial is almost ready
ChargedAnim1.Priority=10;ChargedAnim for AtomBombSpecial play first
ChargedAnim1.Waits=no
ChargedAnim2.SuperWeapon=0;play charge animation when TeslaBombSpecial is almost ready
ChargedAnim2.Priority=8
ChargedAnim2.Waits=yes
ChargedAnim3.SuperWeapon=1;play charge animation when TeslaBomb2Special is almost ready
ChargedAnim3.Priority=7
ChargedAnim3.Waits=yes

[NAMISL]
;SuperAnim=NAMISL_E; abandon the original codes
;SuperAnimYSort=543
;SuperAnimZAdjust=-2
;SuperAnimTwo=NAMISL_F
;SuperAnimTwoYSort=543
;SuperAnimTwoZAdjust=-3
;SuperAnimThree=NAMISL_G
;SuperAnimThreeYSort=543
;SuperAnimThreeZAdjust=-4
;;SuperAnimFour=NAMISL_H
;SuperAnimFourYSort=543
;SuperAnimFourZAdjust=-5
;SuperAnimDamaged=NAMISL_ED
;SuperAnimTwoDamaged=NAMISL_FD
;SuperAnimThreeDamaged=NAMISL_GD
;SuperAnimFourDamaged=NAMISL_HD

SuperAnim0=NAMISL_E
SuperAnim0YSort=543
SuperAnim0ZAdjust=-2
SuperAnim0Two=NAMISL_F
SuperAnim0TwoYSort=543
SuperAnim0TwoZAdjust=-3
SuperAnim0Three=NAMISL_G
SuperAnim0ThreeYSort=543
SuperAnim0ThreeZAdjust=-4
SuperAnim0Four=NAMISL_H
SuperAnim0FourYSort=543
SuperAnim0FourZAdjust=-5
SuperAnim0Damaged=NAMISL_ED
SuperAnim0TwoDamaged=NAMISL_FD
SuperAnim0ThreeDamaged=NAMISL_GD
SuperAnim0FourDamaged=NAMISL_HD

;Atom missile anim
SuperAnim1=NAATOMMISL_E
SuperAnim1YSort=543
SuperAnim1ZAdjust=-2
SuperAnim1Two=NAATOMMISL_F
SuperAnim1TwoYSort=543
SuperAnim1TwoZAdjust=-3
SuperAnim1Three=NAATOMMISL_G
SuperAnim1ThreeYSort=543
SuperAnim1ThreeZAdjust=-4
SuperAnim1Four=NAATOMMISL_H
SuperAnim1FourYSort=543
SuperAnim1FourZAdjust=-5
SuperAnim1Damaged=NAATOMMISL_ED
SuperAnim1TwoDamaged=NAATOMMISL_FD
SuperAnim1ThreeDamaged=NAATOMMISL_GD
SuperAnim1FourDamaged=NAATOMMISL_HD

SuperAnim2=NAMISL_E
SuperAnim2YSort=543
SuperAnim2ZAdjust=-2
SuperAnim2Two=NAMISL_F
SuperAnim2TwoYSort=543
SuperAnim2TwoZAdjust=-3
SuperAnim2Three=NAMISL_G
SuperAnim2ThreeYSort=543
SuperAnim2ThreeZAdjust=-4
SuperAnim2Four=NAMISL_H
SuperAnim2FourYSort=543
SuperAnim2FourZAdjust=-5
SuperAnim2Damaged=NAMISL_ED
SuperAnim2TwoDamaged=NAMISL_FD
SuperAnim2ThreeDamaged=NAMISL_GD
SuperAnim2FourDamaged=NAMISL_HD

SuperAnim3=NAMISL_E
SuperAnim3YSort=543
SuperAnim3ZAdjust=-2
SuperAnim3Two=NAMISL_F
SuperAnim3TwoYSort=543
SuperAnim3TwoZAdjust=-3
SuperAnim3Three=NAMISL_G
SuperAnim3ThreeYSort=543
SuperAnim3ThreeZAdjust=-4
SuperAnim3Four=NAMISL_H
SuperAnim3FourYSort=543
SuperAnim3FourZAdjust=-5
SuperAnim3Damaged=NAMISL_ED
SuperAnim3TwoDamaged=NAMISL_FD
SuperAnim3ThreeDamaged=NAMISL_GD
SuperAnim3FourDamaged=NAMISL_HD

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Daiki Wong
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.