home *** CD-ROM | disk | FTP | other *** search
/ Tripas 5 / TRIPAS 005.iso / Wos.EXE / 2015 / models / view_flame.def < prev    next >
Encoding:
Text File  |  1999-02-24  |  2.1 KB  |  87 lines

  1. SDEF
  2. //
  3. // The file declaration section
  4. //
  5. path models/flamethrower
  6. scale 1.0
  7.  
  8. // base model
  9. flame.sbm
  10.  
  11. //flame2.tga
  12. normal flame_04e.tga
  13.  
  14.  
  15. //
  16. // Declare the animation types and files
  17. //
  18. idle1        idle1.sam
  19. idle2        idle2.sam
  20. ready        ready1.sam
  21. putaway        putaway1.sam
  22. fire        fire1.sam
  23. fire_sound    fire1.sam
  24.  
  25. //
  26. // Define model group areas
  27. //
  28. id 100 group weapon bone barrel
  29. id 101 group shield twosided
  30. id 5 group donotdraw nodraw
  31.  
  32. //
  33. // The initialization section
  34. //
  35. !init:
  36.  
  37. server actionincrement 1
  38.  
  39. //
  40. // Define the animation sound references
  41. //
  42. client aliascache snd_fire "weapons/flamethrower/burstb.wav"
  43. client aliascache snd_null "misc/null.wav"
  44. client aliascache snd_hi "weapons/flamethrower/hi.wav"
  45. client aliascache snd_low "weapons/flamethrower/low.wav"
  46. //client aliascache snd_low "weapons/flamethrower/low2.wav"
  47.  
  48. //
  49. // The main section
  50. //
  51. !main:
  52. //
  53. // Define the client/server animation references
  54. //
  55. client ready first randomsound snd_low .3 7
  56.  
  57. client idle1 0 randomsound snd_low .3 7
  58. server idle1 0 movementsound
  59. server idle1 10 movementsound
  60. client idle1 15 randomsound snd_low .3 7
  61. server idle1 20 movementsound
  62.  
  63. client idle2 0 randomsound snd_low .3 7
  64. server idle2 0 movementsound
  65. server idle2 10 movementsound
  66. client idle2 15 randomsound snd_low .3 7
  67. server idle2 20 movementsound
  68.  
  69. client putaway last randomsound snd_null 1 7
  70. //client putaway first randomsound snd_low .5 7
  71.  
  72. // dlight <red> <rand_red_amount> <green> <rand_green_amount> <blue> <rand_blue_amount> <radius> <rand_radius_amount> <life> <decay>
  73. client fire first dlight 1 0 0.1 0 0 0 300 0 0.5 0.9
  74. server fire first weaponsound
  75. server fire first shoot
  76. server fire first prevframe 2
  77. server fire first endanim
  78.  
  79. client fire_sound first randomsound snd_fire 1 1
  80. client fire_sound first randomsound snd_hi .4 7
  81. // dlight <red> <rand_red_amount> <green> <rand_green_amount> <blue> <rand_blue_amount> <radius> <rand_radius_amount> <life> <decay>
  82. client fire_sound first dlight 1 0 0.1 0 0 0 300 0 0.5 0.9
  83. server fire_sound first weaponsound
  84. server fire_sound first shoot
  85. server fire_sound first prevframe 2
  86. server fire_sound first endanim
  87.