home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 4.4
/
1998-10_Disc_4.4.iso
/
sindemo
/
sin_demo.exe
/
DATA
/
base
/
Pak0.pak
/
models
/
view_hvgun.def
< prev
next >
Wrap
Text File
|
1998-07-26
|
2KB
|
85 lines
SDEF
//
// The file declaration section
//
path models/hvgun
origin 0 0 0
scale 1.0
hv_base.sbm
hvskin.tga
//
// Declare the animation types and files
//
ready1 hv_ready.sam
fire1 hv_fire.SAM
grenade1 grenade_fire.SAM
idle1 hv_idle1.SAM
hvidle1 hv_idle1.SAM
hvidle2 hv_idle2.sam
gidle1 grenade_idle1.sam
//gidle2 grenade_idle2.sam
hv2g hv_switchto.sam
g2hv hv_switchback.sam
gready1 grenade_switchto.sam
hvputaway1 hv_putaway.sam
gputaway grenade_putaway.sam
//
// Define model group areas
//
id 5 group weapon bone barrel 0 180 90
id 200 group bullets
//
// The initialization section
//
!init:
//
// Define the aniamtion sound references
//
client aliasprefix hvgun_
//client aliascache snd_fire "weapons/asrifle/6.wav"
//client aliascache snd_silfire "weapons/asrifle/silenced.wav"
//server ammoclipsize 15
//client aliascache snd_fire1 "weapons/hvgun/1a.wav"
client aliascache snd_fire2 "weapons/hvgun/2a.wav"
//client aliascache snd_fire3 "weapons/hvgun/3a.wav"
//client aliascache snd_fire4 "weapons/hvgun/4a.wav"
//client aliascache snd_fire5 "weapons/hvgun/5a.wav"
//client aliascache snd_fire6 "weapons/hvgun/6a.wav"
client aliascache snd_gfire1 "weapons/grenade/fire1.wav"
//client aliascache snd_gfire2 "weapons/grenade/fire2.wav"
//client aliascache snd_gfire2 "weapons/grenade/fire3.wav"
//client aliascache snd_gfire2 "weapons/grenade/fire4.wav"
//client aliascache snd_fanstart1 "weapons/hvgun/fanstart.wav"
//client aliascache snd_fanloop1 "weapons/hvgun/fanloop.wav"
//client aliascache snd_fanend1 "weapons/hvgun/fanend.wav"
client aliascache snd_chain1 "weapons/hvgun/eatchain.wav"
//
// The main section
//
!main:
//
// Define the clinet/server animation references
//
client fire1 first randomsound snd_fire 1 1
client fire1 first randomsound snd_chain .6 7
client fire1 first attach barrel sprites/hvblast.spr time 0.05 scale 1 origin 30 0 20
server fire1 first prevframe 2
server fire1 first weaponsound
server fire1 first shoot
server fire1 first endanim
client grenade1 first randomsound snd_gfire 1 1
server grenade1 0 prevframe 2
server grenade1 first weaponsound
server grenade1 first shoot
server grenade1 1 endanim