Mine States

 

The mine states are for the animation of a player chucking a mine. These states can be added straight onto the bottom of a torso file.

 

 

state MINE

{

            movetype legs

 

            entrycommands

            {

                        viewmodelanim charge

            }

           

            action

            {

                        steilhandgranate_crouch_charge            : IS_WEAPON_ACTIVE "mainhand" "Stielhandgranate" POSITION_TYPE "crouching"

                        steilhandgranate_stand_charge  : IS_WEAPON_ACTIVE "mainhand" "Stielhandgranate"

           

                        grenade_crouch_charge                                    : POSITION_TYPE "crouching"

                        grenade_stand_charge                          : default

            }

 

            states

            {

                        STAND                                              : KILLED

                        MINE_CHUCK                                  : ANIMDONE_TORSO

            }

}

 

state MINE_CHUCK

{

            movetype legs

 

            entrycommands

            {

                        viewmodelanim fire

            }

 

            action

            {

                        grenade_crouch_fire                                         : POSITION_TYPE "crouching"

                        grenade_stand_fire                                           : default

            }

 

            states

            {

                        STAND                                              : KILLED

                        STAND                                               : ANIMDONE_TORSO

            }

}