SDEF
//
// The file declaration section
//
path models/spgun
origin -10 60 -10
scale 0.9
spgun_base.sbm
spgun_base.tga

//
// Declare the animation types and files
//
ready1	spgun_ready.SAM
reload1		spgun_load.SAM
fire1		spgun_fire.SAM
idle1		spgun_idle1.SAM
idle2		spgun_idle2.SAM
idle3		spgun_idle3.SAM
idle4		spgun_idle4.SAM
putaway1	spgun_putaway.SAM

//
// Define model group areas
//
id 5 group dome translucent33
id 10 group redbutton fullbright
id 15 group greenbutton fullbright
id 200 group weapon bone barrel 0 140 170

//
// The initialization section
//
!init:
//
// Define the animation sound references
//
client aliasprefix spgun_
server  aliascache   snd_airfire   "weapons/spgun/spmix2.wav" 1
server  aliascache   snd_waterfire   "weapons/spgun/sprgun1.wav" 1
//
// The main section
//
!main:
//
// Define the client/server animation references
//

server ready1 first group greenbutton +fullbright 
server ready1 first group redbutton -fullbright

server fire1 first group greenbutton -fullbright 
server fire1 first group redbutton +fullbright
server fire1 first shoot

server reload1 last group greenbutton +fullbright 
server reload1 last group redbutton -fullbright 
