SDEF
//
// The file declaration section
//
path models/magnum
origin 0 10 0
scale 1.0
magnum_base.sbm
magnum_base.tga

//
// Declare the animation types and files
//
ready1      magnum_ready.SAM
fire1       magnum_fire.SAM
silfire1    magnum_fire.SAM
idle1       magnum_idle1.SAM
idle2       magnum_idle2.SAM
reload1     magnum_load.SAM
putaway1    magnum_putaway.SAM
//
// Define model group areas
//
id 200 group weapon bone barrel 0 180 65

//
// The initialization section
//
!init:
//
// Define the animation sound references
//
client aliasprefix Magnum_
client aliascache snd_fire1    "weapons/magnum/fire3.wav"
client aliascache snd_silfire1 "weapons/magnum/silshot.wav"
client aliascache snd_reload1 "weapons/magnum/reload1.wav"

//
// The main section
//
!main:
//
// Define the client/server animation references
//
client fire1 first randomsound snd_fire 1
client fire1 first attach barrel sprites/gunblast.spr time 0.15 scale 0.4 origin 10 0 -10 alphafade
server fire1 first weaponsound
server fire1 first shoot

// Silenced weapon fire
client silfire1 first randomsound snd_silfire .6 1
server silfire1 first movementsound
server silfire1 first shoot

//Reload
client reload1 first randomsound snd_reload 1 7