Code: Select all
ACTOR m1garand : weapon
{
weapon.ammotype "clip"
weapon.ammouse 1
weapon.ammogive 20
states
{
Ready:
RIFG A 1 A_WeaponReady
Loop
Deselect:
RIFG A 1 A_Lower
Loop
Select:
RIFG A 1 A_Raise
Loop
Fire:
RIFF A 4 A_FireBullets (2.5,2.5,1,10)
RIFG D 1
RIFF B 1 A_Refire
Goto Ready
}
}