Code: Select all
actor StG-44 : weapon 203
{
Weapon.slotnumber 3
weapon.ammouse 1
weapon.selectionorder 5
weapon.ammotype "clip"
inventory.pickupmessage "You picked up the StG44!"
Weapon.ammogive 30
obituary "%o got clensed by %k's StG44"
attacksound "weapon/stgshot"
decal "bulletchip"
states
{
Spawn:
STGS A -1
Stop
Select:
STGH A 1 a_raise
loop
Deselect:
SRGH A 1 a_lower
Loop
Ready:
SRGH A 1 a_weaponready
loop
Fire:
SRGF A 0 bright a_firebullets (5,5,1,3,"BulletPuff")
SRGF A 1
SRGH C 1
SRGH B 1
SRGH A 1 a_refire
goto ready
Flash:
SRFF A 4 bright A_LIGHT2
goto lightdone
}
}