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

  1. SDEF
  2. //
  3. // The file declaration section
  4. //
  5. path models/shotgun
  6. origin 20 -15 -55
  7. scale 0.5
  8. shotgun.sbm
  9. shotgun.tga
  10.  
  11. //
  12. // Declare the animation types and files
  13. //
  14. ready1    ready.sam
  15. fire1        fire3.sam
  16. idle1        idle1.sam
  17. idle2        idle2.sam
  18. putaway1    putaway.sam
  19. //
  20. // Define model group areas
  21. //
  22. id 30 group weapon bone barrel 0 180 90
  23.  
  24. //
  25. // The initialization section
  26. //
  27. !init:
  28. client aliasprefix Shotgun_
  29. client aliascache snd_fire1   "weapons/shotgun/s2.wav"
  30. client aliascache snd_reload1 "weapons/shotgun/shotload.wav"
  31.  
  32. //client aliascache snd_fire1    "weapons/magnum/fire3.wav"
  33. //client aliascache snd_silfire1 "weapons/magnum/silshot.wav"
  34.  
  35. //server aliascache snd_pickup "weapons/pkup/pkup3.wav"
  36. //
  37. // The main section
  38. //
  39. !main:
  40. server fire1 first weaponsound
  41. server fire1 first shoot
  42. client fire1 first randomsound snd_fire 1 1
  43. client fire1 first attach barrel sprites/gunblast.spr time 0.05 scale .45 origin 30 10 10
  44. client fire1 3 randomsound snd_reload .6 7
  45.  
  46.