home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 95 / XENIATGM95.iso / Gunlok / data1.cab / Program_Executable_Files / scripts / epulsar.gsh < prev    next >
Text File  |  2000-08-22  |  2KB  |  95 lines

  1. // defines the epulsar (lightning gun) weapon
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_EPULSAR_GSH
  8. #define INCLUDED_EPULSAR_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. projectile Prj_Epulsar_Beam
  13. {
  14.     gravity        no // is this missile affected by gravity
  15.     damage        12 // in strength points
  16.     blast        2 // proximity damage (not yet supported)
  17.     sound        grenade sound
  18. }
  19.  
  20. role Rol_Epulsar_Beam : Rol_DefaultProjectile
  21. {
  22.     projectile    Prj_Epulsar_Beam
  23.  
  24.     limit        2                // lightning beam
  25. }
  26.  
  27. // GRENADE LAUNCHER
  28. ammo
  29. {
  30.     weapon type        epulsar
  31.     ammo type        energy cells
  32.  
  33.     round time        1
  34.     reload time        1
  35.     life timer        0
  36.     magazine size    20
  37.     sound            grenade launcher sound
  38.  
  39.     file            "User Interface/CommWheel01.RIF"    // command wheel icon
  40.     name            "sub ammo grenade ra"
  41.  
  42.     projectile        Rol_Epulsar_Beam // what it fires
  43.     firing speed    100 // m/s
  44. }
  45.  
  46. ////////////////////////////////////////////////////////////////////////////////////
  47.  
  48. shape Shp_Epulsar_Pickup
  49. {
  50.     file "objects\EPULSAR DISC PICKUP A.rif"
  51.     name "EPULSAR DISC PICKUP A"
  52. }
  53.  
  54. hierarchy Hcy_Epulsar_Inventory_Pickup
  55. {
  56.     file "objects\EPULSAR DISC.rif"                // TBD
  57.     name "EPULSAR DISC"                            // TBD
  58.     hotspot none
  59. }
  60.  
  61. character Chr_Epulsar_Pickup : Chr_Default
  62. {
  63.     turning speed   0    // this is in revolutions per second
  64.     walking speed   0    // this is in animation cycles per second
  65.     weapon            epulsar
  66.     strength        10    // initial strength points
  67.     aim                0
  68.     aggression        0.41    // 4 = weapon pickup
  69. }
  70.  
  71. role Rol_Epulsar_Pickup : Rol_DefaultPickup
  72. {
  73.     shape            Shp_Epulsar_Pickup
  74.  
  75.     inventory shape    Hcy_Epulsar_Inventory_Pickup
  76.  
  77.     character        Chr_Epulsar_Pickup
  78.  
  79.     identifier        "epulsar"
  80.  
  81.     destructibility    Des_Explode
  82.  
  83.     armour            25
  84.  
  85.     description        epulsar description
  86.  
  87.     pickup name        epulsar pickup
  88.  
  89.     limit            10
  90. }
  91.  
  92. ////////////////////////////////////////////////////////////////////////////////////
  93.  
  94. // end wrapper - for preventing multiple or recursive inclusions
  95. #endif // !INCLUDED_EPULSAR_GSH