home *** CD-ROM | disk | FTP | other *** search
/ Tripas 4 / TRIPAS 004.iso / sin.EXE / SIN / BASE / models / stun.def < prev    next >
Encoding:
Text File  |  1998-11-03  |  3.1 KB  |  97 lines

  1. SDEF
  2. // -----------------------------------------------------------------------------
  3. //  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Weapon/stun.def       $
  4. // $Revision:: 7                                                              $
  5. //   $Author:: Markd                                                          $
  6. //     $Date:: 10/21/98 12:47p                                                $
  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. // Weapon: Stun Gun.
  19. //
  20. // MODEL AUTHOR:
  21. // Michael
  22. //
  23. /*SINED weapon_stun (.3 .3 1) (0 0 0) (0 0 0)
  24. Stun gun - World Model
  25. */
  26.  
  27. // -----------------------------------------------------------------------------
  28. // FILE DECLARATIONS
  29. //
  30. // Model Commands
  31. path models/stun
  32. origin -5 0 0
  33. scale 1.1
  34.  
  35. // Base Model
  36. stun_base.sbm
  37.  
  38. // Skins
  39. normal       stun_base.tga
  40.  
  41. // Normal Animations
  42. idle      stun_idle1.sam
  43. fire      stun_hit1.sam
  44.  
  45. // Define model group areas
  46. id  5 group blueglow fullbright
  47. id 10 group tip fullbright bone barrel 0 0 0
  48.  
  49. // -----------------------------------------------------------------------------
  50. // INITIALIZATION SECTION
  51. //
  52. !init:
  53.  
  54. // Class Setup
  55.  
  56. // Server Sound Aliases
  57.  
  58. // Icon and Inventory Name
  59.  
  60. // -----------------------------------------------------------------------------
  61. // MAIN SECTION
  62. //
  63. !main:
  64.  
  65. // dlight <red> <rand_red_amount> <green> <rand_green_amount> <blue> <rand_blue_amount> <radius> <rand_radius_amount> <life> <decay>
  66. client fire first dlight 0.8 0 0.8 0 1 0 300 0 0.6 0.8
  67. client fire first shootbeam barrel models/lightning.def lightning length 480 minoffset 1 maxoffset 12
  68. client fire first shootbeam barrel models/lightning.def lightning length 480 minoffset 1 maxoffset 12
  69. client fire 1 shootbeam barrel models/lightning.def lightning length 480 minoffset 1 maxoffset 12
  70. client fire 1 shootbeam barrel models/lightning.def lightning length 480 minoffset 1 maxoffset 12
  71. client fire 2 shootbeam barrel models/lightning.def lightning length 480 minoffset 1 maxoffset 12
  72. client fire 2 shootbeam barrel models/lightning.def lightning length 480 minoffset 1 maxoffset 12
  73. client fire 2 shootbullets barrel 1 0 0 0 480
  74. server fire 2 shoot 512
  75. server fire 2 endanim
  76.  
  77. // -----------------------------------------------------------------------------
  78. // SOURCESAFE Update Log
  79. //
  80. // $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Weapon/stun.def            $
  81. // 
  82. // 7     10/21/98 12:47p Markd
  83. // fixed dynamic light again
  84. //
  85. // 6     10/21/98 12:33p Markd
  86. // fixed dynamic light on stungun
  87. //
  88. // 5     10/21/98 2:39a Markd
  89. // Fixed dynamic light on stungun
  90. //
  91. // 4     10/21/98 1:15a Markd
  92. // Fixed up stun weapon
  93. //
  94. // 3     9/30/98 12:48p Joeske
  95. // Added in formatting, added in respawn sound ref.
  96. //
  97. // -----------------------------------------------------------------------------