home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hacker 9
/
HACKER09.ISO
/
Games
/
Sin.exe
/
DATA
/
base
/
Pak0.pak
/
models
/
camgun2.def
< prev
next >
Wrap
Text File
|
1998-07-26
|
2KB
|
75 lines
SDEF
path models/camgun2
scale 2.88
camgun_base2.tga
camgun2_base.sbm
down_idle camgun_idle.SAM
up_idle camgun_idle.SAM
lower camgun_idle.SAM
raise camgun_idle.SAM
fire camgun_fire.sam
id 2 group light fullbright
id 200 group camgun bone barrel 0 0 0 nodraw
//
// The initialization section
//
!init:
server classname actor
server weapon GenericBullet
server setsize "-32 -32 -32" "36 12 12"
client aliascache snd_fire1 "weapons/camgun/newmix.wav"
//client aliascache snd_fanstart1 "weapons/camgun/fanstart.wav"
//client aliascache snd_fanloop1 "weapons/camgun/fanloop.wav"
//client aliascache snd_fanend1 "weapons/camgun/fanend.wav"
//server aliascache snd_death1 "impact/explosion/med1.wav"
//server aliascache stop "weapons/camgun/fanend.wav"
//
// The main section
//
!main:
server nextanim down_idle
server fire first attack_start
server fire 0 fire
client fire 0 randomsound snd_fire 1 1
client fire 1 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
server fire 1 fire
client fire 2 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
server fire 2 fire
client fire 3 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
server fire 3 fire
client fire 4 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
server fire 4 fire
client fire 5 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
server fire 5 fire
client fire 5 randomsound snd_fire 1 1
client fire 6 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
server fire 6 fire
client fire 7 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
server fire 7 fire
client fire 8 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
server fire 8 fire
client fire 9 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
server fire 9 fire
client fire 10 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
server fire 10 fire
server fire last attack_finished
server down_idle 0 checkvicinity
server lower 0 endseek
server lower end nextanim down_idle
server raise end seek
server raise end nextanim up_idle
//
// The SINED declaration section
//
/*SINED trap_camgun (1 .3 .3) (0 0 0) (0 0 0)
Camera Gun 2
*/