home *** CD-ROM | disk | FTP | other *** search
/ Hacker 9 / HACKER09.ISO / Games / Sin.exe / DATA / base / Pak0.pak / models / camgun2.def < prev    next >
Text File  |  1998-07-26  |  2KB  |  75 lines

  1. SDEF
  2. path models/camgun2
  3. scale 2.88
  4. camgun_base2.tga
  5. camgun2_base.sbm
  6.  
  7. down_idle camgun_idle.SAM
  8. up_idle   camgun_idle.SAM
  9. lower     camgun_idle.SAM
  10. raise     camgun_idle.SAM
  11. fire      camgun_fire.sam
  12.  
  13. id 2 group light fullbright
  14. id 200 group camgun bone barrel 0 0 0 nodraw
  15.  
  16. //
  17. // The initialization section
  18. //
  19. !init:
  20. server classname actor
  21. server weapon GenericBullet
  22. server setsize "-32 -32 -32" "36 12 12"
  23. client  aliascache   snd_fire1   "weapons/camgun/newmix.wav"
  24. //client  aliascache   snd_fanstart1   "weapons/camgun/fanstart.wav"
  25. //client  aliascache   snd_fanloop1   "weapons/camgun/fanloop.wav"
  26. //client  aliascache   snd_fanend1   "weapons/camgun/fanend.wav"
  27. //server  aliascache   snd_death1   "impact/explosion/med1.wav"
  28. //server  aliascache   stop         "weapons/camgun/fanend.wav"
  29.  
  30. //
  31. // The main section
  32. //
  33. !main:
  34. server nextanim down_idle
  35.  
  36. server fire first attack_start
  37. server fire 0 fire
  38. client fire 0 randomsound snd_fire 1 1
  39. client fire 1 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
  40. server fire 1 fire
  41. client fire 2 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
  42. server fire 2 fire
  43. client fire 3 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
  44. server fire 3 fire
  45. client fire 4 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
  46. server fire 4 fire
  47. client fire 5 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
  48. server fire 5 fire
  49. client fire 5 randomsound snd_fire 1 1
  50. client fire 6 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
  51. server fire 6 fire
  52. client fire 7 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
  53. server fire 7 fire
  54. client fire 8 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
  55. server fire 8 fire
  56. client fire 9 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
  57. server fire 9 fire
  58. client fire 10 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
  59. server fire 10 fire
  60. server fire last attack_finished
  61.  
  62. server down_idle 0 checkvicinity
  63.  
  64. server lower 0 endseek
  65. server lower end nextanim down_idle
  66.  
  67. server raise end seek
  68. server raise end nextanim up_idle
  69.  
  70. //
  71. // The SINED declaration section
  72. //
  73. /*SINED trap_camgun (1 .3 .3) (0 0 0) (0 0 0)
  74. Camera Gun 2
  75. */