I think the easiest way to have a custom Select state would be to have a blank sprite such as TNT1 in the select state and just let A_Raise do its thing, then when it puts your weapon in the Ready state, play your custom raise animation. At the end of your custom animation, have the weapon go to a new alternate ready state such as Ready.Done, you can name it whatever you want really, the important thing is to redirect every state that would normally go to ready to go to the new alt ready state.
Here is a simple mockup demonstrating a custom raise and lower animation.
Code: Select all
States
{
Spawn:
WEAP P -1
Stop
Select:
TNT1 A 1 A_Raise //Use a blank sprite or frame for the regular raise sequence
Wait
Deselect:
WEAP WXYZ 3 //Play your custom lower sequence before you call A_Lower
TNT1 A 1 A_Lower //Use a blank sprite or frame while calling A_Lower
Wait
Ready:
WEAP ABCD 3 //Play you custom raise animation here
Goto Ready.Done //Goto the state you will actually be using as a Ready state
Ready.Done:
WEAP E 1 A_WeaponReady //This will be your actual ready state
Wait
Fire:
WEAP F 3 A_FireCGun
WEAP GHI 3
WEAP A 0 A_Refire
Goto Ready.Done //Goto the state you will actually be using as a Ready state
Hold:
WEAP F 3 A_FireCGun
WEAP GHI 3
WEAP A 0 A_Refire
WEAP A 0 A_ClearRefire
Goto Ready.Done //Goto the state you will actually be using as a Ready state
Flash:
WEAP JK 3 Bright
Stop
}