SDEF
path models/heligun
origin 8 28 0
scale 0.5
heligun_base.tga
heligun_base.sbm

//fire heligun_fire.SAM
fire heligun_fire2.SAM
//fire heligun_fire3.sam
idle heligun_idle.sam

id 200 group weapon bone barrel 0 0 0

!init:
client aliasprefix heligun_

client  aliascache   snd_fire1   "weapons/heligun/mix9c.wav" 1
//client  aliascache   snd_fire1   "weapons/heligun/mix6.wav" 1
//client  aliascache   snd_alt1   "weapons/heligun/m1.wav" 1
//client  aliascache   snd_alt1   "weapons/heligun/mix9ca.wav" 1


!main:

server fire first shoot
server fire first weaponsound
client fire first randomsound snd_fire 1 1
//client fire first randomsound snd_alt 1 2
client fire first attach barrel sprites/hvblast.spr time 0.05 scale 1
server fire 1 shoot
server fire 1 weaponsound
//client fire 1 randomsound snd_fire 1 1
//client fire 1 randomsound snd_alt 1 2
client fire 1 attach barrel sprites/hvblast.spr time 0.05 scale 1
server fire 2 shoot
server fire 2 weaponsound
//client fire 2 randomsound snd_fire 1 1
//client fire 2 randomsound snd_alt 1 2
client fire 2 attach barrel sprites/hvblast.spr time 0.05 scale 1
server fire 3 shoot
server fire 3 weaponsound
//client fire 3 randomsound snd_fire 1 1
//client fire 3 randomsound snd_alt 1 2
client fire 3 attach barrel sprites/hvblast.spr time 0.05 scale 1
server fire 4 shoot
server fire 4 weaponsound
//client fire 4 randomsound snd_fire 1 1
//client fire 4 randomsound snd_alt 1 2
client fire 4 attach barrel sprites/hvblast.spr time 0.05 scale 1
server fire 5 shoot
server fire 5 weaponsound
//client fire 5 randomsound snd_fire 1 1
//client fire 5 randomsound snd_alt 1 1
client fire 5 attach barrel sprites/hvblast.spr time 0.05 scale 1
server fire 6 shoot
server fire 6 weaponsound
client fire 6 randomsound snd_fire 1 1
//client fire 6 randomsound snd_alt 1 2
client fire 6 attach barrel sprites/hvblast.spr time 0.05 scale 1
server fire 7 shoot
server fire 7 weaponsound
//client fire 7 randomsound snd_fire 1 1
//client fire 7 randomsound snd_alt 1 2
client fire 7 attach barrel sprites/hvblast.spr time 0.05 scale 1
server fire 8 shoot
server fire 8 weaponsound
//client fire 8 randomsound snd_fire 1 1
//client fire 8 randomsound snd_alt 1 2
client fire 8 attach barrel sprites/hvblast.spr time 0.05 scale 1

server fire last attack_finished
server fire last weaponsound
