Post by Zlixine on Sept 21, 2015 4:38:22 GMT
BY XGAMER
Infantry Sequences
Infantry Sequences tell the game which frame in an Infantry’s SHP file should be used for what purpose. Each tag has 3 or 4 possible values:
The first number is the starting frame for that particular action. Note that RA2 counts the SHP frames starting from 0, so the first frame is considered 0 by RA2.
The second number is the number of frames to be used, including the starting frame.
The third number is complex. It says how to get to the starting frame of a particular direction for that action. Starting with the Starting frame, the game will multiply the facing number (which is 0 for facing “up” and moving counter-clockwise increases the number by one) by the third number to reach the starting frame of the facing direction. This is used to get Prone frames without having to draw them and add new frames. I’ll give an example:
Conscript
Crawl=86,6,6
The game will start at 87 [have to include 0], and use the six frames including frame #87 for facing north, calculate the frame number of the next direction, and then use the next 6 frames from there, and so on.
Prone=86,1,6
Here, the game will only take the first frame (#87), and then calculate the frame number of the next direction, and use that frame for the next direction.
The fourth value is a North, South, East, West, system on a compass rose. The game’s directions are different than yours. The game considers north to be in the top left of your screen. Basically the game’s compass is rotated 45° clockwise. The fourth value is only used on the Idle1=, Idle2=, WetIdle1=, WetIdle2=, and Cheer= tags.
Here are the valid action tags:
Ready=
Used when the infantry unit is just standing there idle.
Guard=
Used when the infantry unit is set to guard mode. This doesn’t seem to be used much by RA2.
Tread=
Specifies frames used when an infantry unit is swimming in the water, and is treading to keep itself above the surface of the water.
Prone=
Specifies all the frames the infantry unit uses while lying on the ground (to reduce damage taken).
Walk=
Specifies frames used when the infantry walks.
Swim=
Specifies frames used when the infantry unit is swimming in the water.
FireUp=
Specifies frames used when the infantry unit is standing and firing at an enemy unit.
WetAttack=
Specifies frames used when the infantry unit is swimming in the water and firing at an enemy unit.
Down=
Specifies frames used when the infantry unit drops to the ground when it is going from standing to prone.
Crawl=
Specifies frames used when the infantry unit is crawling. That’s when a unit is taking fire but is told to move.
Up=
The Opposite of down=. Specifies frames for when the infantry unit is getting up after the danger has passed.
FireProne=
Specifies frames used when an infantry is prone and returning fire.
Idle1=
Idle2=
Specifies frames used when an infantry unit is standing around. This makes it look less like a statue when idle.
WetIdle1=
WetIdle2=
Specifies frames used when an infantry unit is swimming in the water. This makes it look less like a statue when idle.
Die1=
Specifies frames used when an infantry unit is killed by a weapon with a warhead that has InfDeath=1.
Die2=
Specifies frames used when an infantry unit is killed by a weapon with a warhead that has InfDeath=2. This may be randomly chosen between Die2= and Die3=.
Die3=
Specifies frames used when an infantry unit is killed by a weapon with a warhead that has InfDeath=1. This may be randomly chosen between Die3= and Die2=.
Die4=
Specifies frames used when an infantry unit is killed by a weapon with a warhead that has InfDeath=3.
Die5=
Specifies frames used when an infantry unit is killed by a weapon with a warhead that has InfDeath=4.
WetDie1=
Specifies frames used when an infantry unit is killed while swimming in the water. It’s randomly chosen between WetDie1= and WetDie2=.
WetDie2=
Specifies frames used when an infantry unit is killed while swimming in the water. It’s randomly chosen between WetDie2= and WetDie1=.
Deploy=
Specifies frames used when an infantry unit is ordered to “deploy” and thus activate some function (like the GI placing sandbags and mounting a machine gun).
Deployed=
Specifies frames used when an infantry unit is deployed and currently doing nothing.
Undeploy=
Specifies frames used when an infantry unit is order to “undeploy”.
Cheer=
Specifies frames used when an infantry unit cheers.
Paradrop=
Specifies a frame used when an infantry unit is being paradropped onto the battlefield. This frame should NOT have a shadow in the frame.
(YR) SecondaryFire=
Same as FireUp=, except it is used when the secondary weapon is fired.
(YR) SecondaryProne=
Same as FireProne=, except it is used when the secondary weapon is fire, while prone.
Infantry Sequences
Infantry Sequences tell the game which frame in an Infantry’s SHP file should be used for what purpose. Each tag has 3 or 4 possible values:
The first number is the starting frame for that particular action. Note that RA2 counts the SHP frames starting from 0, so the first frame is considered 0 by RA2.
The second number is the number of frames to be used, including the starting frame.
The third number is complex. It says how to get to the starting frame of a particular direction for that action. Starting with the Starting frame, the game will multiply the facing number (which is 0 for facing “up” and moving counter-clockwise increases the number by one) by the third number to reach the starting frame of the facing direction. This is used to get Prone frames without having to draw them and add new frames. I’ll give an example:
Conscript
Crawl=86,6,6
The game will start at 87 [have to include 0], and use the six frames including frame #87 for facing north, calculate the frame number of the next direction, and then use the next 6 frames from there, and so on.
Prone=86,1,6
Here, the game will only take the first frame (#87), and then calculate the frame number of the next direction, and use that frame for the next direction.
The fourth value is a North, South, East, West, system on a compass rose. The game’s directions are different than yours. The game considers north to be in the top left of your screen. Basically the game’s compass is rotated 45° clockwise. The fourth value is only used on the Idle1=, Idle2=, WetIdle1=, WetIdle2=, and Cheer= tags.
Here are the valid action tags:
Ready=
Used when the infantry unit is just standing there idle.
Guard=
Used when the infantry unit is set to guard mode. This doesn’t seem to be used much by RA2.
Tread=
Specifies frames used when an infantry unit is swimming in the water, and is treading to keep itself above the surface of the water.
Prone=
Specifies all the frames the infantry unit uses while lying on the ground (to reduce damage taken).
Walk=
Specifies frames used when the infantry walks.
Swim=
Specifies frames used when the infantry unit is swimming in the water.
FireUp=
Specifies frames used when the infantry unit is standing and firing at an enemy unit.
WetAttack=
Specifies frames used when the infantry unit is swimming in the water and firing at an enemy unit.
Down=
Specifies frames used when the infantry unit drops to the ground when it is going from standing to prone.
Crawl=
Specifies frames used when the infantry unit is crawling. That’s when a unit is taking fire but is told to move.
Up=
The Opposite of down=. Specifies frames for when the infantry unit is getting up after the danger has passed.
FireProne=
Specifies frames used when an infantry is prone and returning fire.
Idle1=
Idle2=
Specifies frames used when an infantry unit is standing around. This makes it look less like a statue when idle.
WetIdle1=
WetIdle2=
Specifies frames used when an infantry unit is swimming in the water. This makes it look less like a statue when idle.
Die1=
Specifies frames used when an infantry unit is killed by a weapon with a warhead that has InfDeath=1.
Die2=
Specifies frames used when an infantry unit is killed by a weapon with a warhead that has InfDeath=2. This may be randomly chosen between Die2= and Die3=.
Die3=
Specifies frames used when an infantry unit is killed by a weapon with a warhead that has InfDeath=1. This may be randomly chosen between Die3= and Die2=.
Die4=
Specifies frames used when an infantry unit is killed by a weapon with a warhead that has InfDeath=3.
Die5=
Specifies frames used when an infantry unit is killed by a weapon with a warhead that has InfDeath=4.
WetDie1=
Specifies frames used when an infantry unit is killed while swimming in the water. It’s randomly chosen between WetDie1= and WetDie2=.
WetDie2=
Specifies frames used when an infantry unit is killed while swimming in the water. It’s randomly chosen between WetDie2= and WetDie1=.
Deploy=
Specifies frames used when an infantry unit is ordered to “deploy” and thus activate some function (like the GI placing sandbags and mounting a machine gun).
Deployed=
Specifies frames used when an infantry unit is deployed and currently doing nothing.
Undeploy=
Specifies frames used when an infantry unit is order to “undeploy”.
Cheer=
Specifies frames used when an infantry unit cheers.
Paradrop=
Specifies a frame used when an infantry unit is being paradropped onto the battlefield. This frame should NOT have a shadow in the frame.
(YR) SecondaryFire=
Same as FireUp=, except it is used when the secondary weapon is fired.
(YR) SecondaryProne=
Same as FireProne=, except it is used when the secondary weapon is fire, while prone.