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

  1. SDEF
  2. // -----------------------------------------------------------------------------
  3. //  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Weapon/view_srifle.de $
  4. // $Revision:: 31                                                             $
  5. //   $Author:: Joeske                                                         $
  6. //     $Date:: 9/30/98 2:41p                                                  $
  7. //
  8. // Copyright (C) 1998 by Ritual Entertainment, Inc.
  9. // All rights reserved.
  10. //
  11. // This source may not be distributed and/or modified without
  12. // expressly written permission by Ritual Entertainment, Inc.
  13. //
  14. // This is a model definition file.  It is to be used in conjunction with Sin.
  15. //
  16. // -----------------------------------------------------------------------------
  17. // MODEL DESCRIPTION:
  18. // View Weapon Model: Sniper Rifle.
  19. //
  20. // MODEL AUTHOR:
  21. // Beau
  22. //
  23.  
  24. // -----------------------------------------------------------------------------
  25. // FILE DECLARATIONS
  26. //
  27. // Model Commands
  28. path models/srifle
  29. //origin -18 -15 -8
  30. origin 0 15 2
  31. scale 0.75
  32.  
  33. // Base Model
  34. srifle_base.sbm
  35.  
  36. // Skins
  37. normal        srifle_base.tga
  38.  
  39. // Normal Animations
  40. ready1        srifle_ready.sam
  41. //open1        srifle_open.sam
  42. fire1        srifle_fire.sam
  43. idle1        srifle_idle1.sam
  44. //putaway1    srifle_putaway.sam
  45.  
  46. // Define model groups
  47. id 200 group weapon bone barrel 0 180 90
  48.  
  49. // -----------------------------------------------------------------------------
  50. // INITIALIZATION SECTION
  51. //
  52. !init:
  53.  
  54. // Class Setup
  55.  
  56. // Client Sound Aliases
  57. //client aliascache snd_fire1    "weapons/magnum/fire3.wav"
  58. //client aliascache snd_silfire1 "weapons/magnum/silshot.wav"
  59.  
  60. client aliascache snd_fire1   "weapons/srifle/metal1.wav"
  61. client aliascache snd_fire2   "weapons/srifle/metal2.wav"
  62. client aliascache snd_fire3   "weapons/srifle/metal3.wav"
  63. client aliascache snd_fire4   "weapons/srifle/metal4.wav"
  64. client aliascache snd_fire6   "weapons/srifle/metal6.wav"
  65. client aliascache snd_fire7   "weapons/srifle/metal7.wav"
  66.  
  67. client aliascache snd_case1   "weapons/srifle/open/clsmix.wav"
  68. client aliascache snd_rise1   "weapons/srifle/open/risemix.wav"
  69. client aliascache snd_flip1   "weapons/srifle/open/flipmix1.wav"
  70. client aliascache snd_xtnd1   "weapons/srifle/open/xtndmx1.wav"
  71. client aliascache snd_lpstrt1 "weapons/srifle/open/loopstrt.wav"
  72. client aliascache snd_lp1      "weapons/srifle/open/loop1.wav"
  73. client aliascache snd_tube1      "weapons/srifle/open/tube1.wav"
  74.  
  75. client aliascache snd_rcase1  "weapons/srifle/close/clsrmix.wav"
  76. client aliascache snd_rrise1  "weapons/srifle/close/lowrmix.wav"
  77. client aliascache snd_rflip1  "weapons/srifle/close/fliprmix1.wav"
  78. client aliascache snd_rxtnd1  "weapons/srifle/close/retract.wav"
  79. client aliascache snd_lpend1  "weapons/srifle/close/loopend.wav"
  80. client aliascache snd_rtube1  "weapons/srifle/close/tube1r.wav"
  81.  
  82. //client aliascache snd_loada1 "weapons/srifle/s1.wav"
  83. //client aliascache snd_loadb1 "weapons/srifle/s2.wav"
  84. client aliascache snd_super1   "weapons/srifle/reload1.wav"
  85.  
  86. // -----------------------------------------------------------------------------
  87. // MAIN SECTION
  88. //
  89. !main:
  90.  
  91. //server ready1 last nextanim open
  92. //client open1 first randomsound snd_case 1 1
  93. //client open1     3 randomsound snd_rise 1 1
  94. //client open1     6 randomsound snd_lpstrt 1 7
  95. //client open1    13 randomsound snd_flip .6 1
  96. //client open1    14 randomsound snd_tube 1 3
  97. //client open1    16 randomsound snd_lp .4 7
  98. //client open1    19 randomsound snd_xtnd 1 1
  99. //server open1     3 movementsound
  100. //server open1     6 movementsound
  101. //server open1    13 movementsound
  102. //server open1    19 movementsound
  103.  
  104. client fire1 first randomsound snd_fire 1 1
  105. client fire1 first attach barrel sprites/gunblast.spr time 0.05 scale 0.2 randomroll
  106. //client fire1 first shootbullets 1 0 0 0
  107. //server fire1 first movementsound
  108. server fire1 first shoot
  109. //client fire1     2 localsound snd_super .3 7
  110.  
  111. //client putaway1 first randomsound snd_rxtnd 1 1
  112. //client putaway1     2 randomsound snd_rtube 1 1
  113. //client putaway1     2 randomsound snd_rflip 1 1
  114. //client putaway1     7 randomsound snd_rrise 1 1
  115. //client putaway1     8 randomsound snd_lpend 1 7
  116. //client putaway1    18 randomsound snd_rcase 1 1
  117. //server putaway1     2 movementsound
  118. //server putaway1     7 movementsound
  119. //server putaway1    18 movementsound
  120.  
  121. // client idle1 first randomsound snd_lp .4 2
  122. // client putaway1 last putaway
  123.  
  124. // -----------------------------------------------------------------------------
  125. // SOURCESAFE Update Log
  126. //
  127. // $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Weapon/view_srifle.def     $
  128. // 
  129. // 31    9/30/98 2:41p Joeske
  130. // Added in formatting.
  131. // 
  132. // -----------------------------------------------------------------------------
  133.