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

  1. SDEF
  2. // -----------------------------------------------------------------------------
  3. //  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Weapon/view_rlaunch.d $
  4. // $Revision:: 16                                                             $
  5. //   $Author:: Jimdose                                                        $
  6. //     $Date:: 10/22/98 12:16a                                                $
  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: Rocket Launcher.
  19. //
  20. // MODEL AUTHOR:
  21. // Beau
  22. //
  23.  
  24. // -----------------------------------------------------------------------------
  25. // FILE DECLARATIONS
  26. //
  27. // Model Commands
  28. path models/rlaunch
  29. //origin -18 -15 -8
  30. origin -5 15 0
  31. scale 1.0
  32.  
  33. // Base Model
  34. rlaunch_base.sbm
  35.  
  36. // Skins
  37. normal        rlaunch_base.tga
  38.  
  39. // Normal Animations
  40. ready1        rlaunch_ready.sam
  41. fire1        rlaunch_fire.sam
  42. idle1        rlaunch_idle1.sam
  43. //idle2        rlaunch_idle2.sam
  44. //idle3        rlaunch_idle3.sam
  45. putaway1    rlaunch_putaway.sam
  46.  
  47. // Define model groups
  48. id 200 group weapon bone barrel 0 180 110
  49.  
  50. // -----------------------------------------------------------------------------
  51. // INITIALIZATION SECTION
  52. //
  53. !init:
  54.  
  55. // Class Setup
  56.  
  57. // Client Sound Aliases
  58. //server aliascache snd_fire "weapons/rlaunch/mix1.wav"
  59. client aliascache snd_fire "weapons/rlaunch/new3.wav"
  60. server  setaimanim   idle1 0
  61.  
  62. // -----------------------------------------------------------------------------
  63. // MAIN SECTION
  64. //
  65. !main:
  66.  
  67. // Define the client/server animation references
  68. // server ready1 last ready
  69. client fire1 first randomsound snd_fire 1
  70. client fire1 first attach barrel sprites/gunblast.spr time 0.1 scale 0.8 origin 20 0 0 randomroll
  71. // dlight <red> <rand_red_amount> <green> <rand_green_amount> <blue> <rand_blue_amount> <radius> <rand_radius_amount> <life> <decay>
  72. client fire1 first dlight 1 0 0.1 0 0 0 400 0 1.0 0.8
  73. server fire1 first weaponsound
  74. server fire1 first shoot
  75.  
  76. // server putaway1 last putaway
  77.  
  78. // -----------------------------------------------------------------------------
  79. // SOURCESAFE Update Log
  80. //
  81. // $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Weapon/view_rlaunch.def    $
  82. // 
  83. // 16    10/22/98 12:16a Jimdose
  84. // added setaimanim
  85. // 
  86. // 15    9/30/98 2:41p Joeske
  87. // Added in formatting.
  88. // 
  89. // -----------------------------------------------------------------------------
  90.