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

  1. SDEF
  2. //
  3. // The file declaration section
  4. //
  5. path models/srifle
  6. //origin -18 -15 -8
  7. origin 0 15 2
  8. scale 0.75
  9. srifle_base.sbm
  10. srifle_base.tga
  11.  
  12. //
  13. // Declare the animation types and files
  14. //
  15. ready1    srifle_ready.SAM
  16. open1        srifle_open.SAM
  17. fire1        srifle_fire.SAM
  18. idle1        srifle_idle1.SAM
  19. putaway1    srifle_putaway.SAM
  20. //
  21. // Define model group areas
  22. //
  23. id 200 group weapon bone barrel 0 180 90
  24.  
  25. //
  26. // The initialization section
  27. //
  28. !init:
  29. //
  30. // Define the aniamtion sound references
  31. //
  32. client aliasprefix SRifle_
  33. //client aliascache snd_fire1    "weapons/magnum/fire3.wav"
  34. //client aliascache snd_silfire1 "weapons/magnum/silshot.wav"
  35.  
  36. client aliascache snd_fire1   "weapons/srifle/metal1.wav"
  37. client aliascache snd_fire2   "weapons/srifle/metal2.wav"
  38. client aliascache snd_fire3   "weapons/srifle/metal3.wav"
  39. client aliascache snd_fire4   "weapons/srifle/metal4.wav"
  40. client aliascache snd_fire6   "weapons/srifle/metal6.wav"
  41. client aliascache snd_fire7   "weapons/srifle/metal7.wav"
  42.  
  43. client aliascache snd_case1   "weapons/srifle/open/clsmix.wav"
  44. client aliascache snd_rise1   "weapons/srifle/open/risemix.wav"
  45. client aliascache snd_flip1   "weapons/srifle/open/flipmix1.wav"
  46. client aliascache snd_xtnd1   "weapons/srifle/open/xtndmx1.wav"
  47. client aliascache snd_lpstrt1 "weapons/srifle/open/loopstrt.wav"
  48. client aliascache snd_lp1    "weapons/srifle/open/loop1.wav"
  49. client aliascache snd_tube1    "weapons/srifle/open/tube1.wav"
  50.  
  51.  
  52. client aliascache snd_rcase1  "weapons/srifle/close/clsrmix.wav"
  53. client aliascache snd_rrise1  "weapons/srifle/close/lowrmix.wav"
  54. client aliascache snd_rflip1  "weapons/srifle/close/fliprmix1.wav"
  55. client aliascache snd_rxtnd1  "weapons/srifle/close/retract.wav"
  56. client aliascache snd_lpend1  "weapons/srifle/close/loopend.wav"
  57. client aliascache snd_rtube1    "weapons/srifle/close/tube1r.wav"
  58.  
  59. //client aliascache snd_loada1 "weapons/srifle/s1.wav"
  60. //client aliascache snd_loadb1 "weapons/srifle/s2.wav"
  61. client aliascache snd_super1 "weapons/srifle/reload1.wav"
  62.  
  63. // The main section
  64. //
  65. !main:
  66. //
  67. // Define the clinet/server animation references
  68. //
  69.  //server ready1 last nextanim open
  70. client open1 first randomsound snd_case 1 1
  71. client open1 3 randomsound snd_rise 1 1
  72. client open1 6 randomsound snd_lpstrt 1 7
  73. client open1 13 randomsound snd_flip .6 1
  74. client open1 14 randomsound snd_tube 1 3
  75. client open1 16 randomsound snd_lp .4 7
  76. client open1 19 randomsound snd_xtnd 1 1
  77. server open1 3 movementsound
  78. server open1 6 movementsound
  79. server open1 13 movementsound
  80. server open1 19 movementsound
  81.  
  82. client fire1 first randomsound snd_fire 1 1
  83. client fire1 first attach barrel sprites/gunblast.spr time 0.05 scale 0.2 randomroll
  84. server fire1 first movementsound
  85. server fire1 first shoot
  86. client fire1 2 localsound snd_super .3 7
  87.  
  88. client putaway1 first randomsound snd_rxtnd 1 1
  89. client putaway1 2 randomsound snd_rtube 1 1
  90. client putaway1 2 randomsound snd_rflip 1 1
  91. client putaway1 7 randomsound snd_rrise 1 1
  92. client putaway1 8 randomsound snd_lpend 1 7
  93. client putaway1 18 randomsound snd_rcase 1 1
  94. server putaway1 2 movementsound
  95. server putaway1 7 movementsound
  96. server putaway1 18 movementsound
  97.  
  98. //client idle1 first randomsound snd_lp .4 2
  99. // client putaway1 last putaway