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

  1. // defines SCARFLASH robot
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. #ifndef INCLUDED_SCARFLASH_GSH
  7. #define INCLUDED_SCARFLASH_GSH
  8.  
  9. ////////////////////////////////////////////////////////////////////////////////////
  10.  
  11. #include "defaults.gsh"
  12.  
  13. hierarchy Hcy_scarflashfrag
  14. {
  15.     file    "units\scarflashfrag.rif"
  16.     name    "scarflashfrag"
  17.     hotspot none
  18. }
  19.  
  20. role Rol_scarflashfrag : Rol_FragObject
  21. {
  22.     shape            Hcy_scarflashfrag
  23.     identifier        "scarflashfrag"
  24. }
  25.  
  26. frag data Frg_scarflashfrag
  27. {
  28.     role Rol_scarflashfrag
  29.     scale 4
  30.     replace yes
  31. }
  32.  
  33. hierarchy Hcy_scarflash
  34. {
  35.     file "units\scarflash.RIF"
  36.     name "scarflash"
  37.     hotspot "dum flash"
  38. }
  39.  
  40. /*hierarchy Hcy_scarflashshadow
  41. {
  42.     file "units\scarflash_shadow.RIF"
  43.     name "scarflash"
  44. }*/
  45.  
  46. character Chr_scarflash : Chr_DefaultBaddie
  47. {
  48.     turning speed       0.75    // this is in revolutions per second
  49.     walking speed       1    // this is in animation cycles per second
  50.     weapon              maxim laser    // was epulsar (TO BE PUT BACK WHEN GRAPHICS ARE IMPROVED)
  51.     strength            30    // initial strength points
  52.     aim                 2    // how many degrees off target he can be at most
  53.     sight angle        25    // in degrees
  54.     sight range         15    // in metres
  55.     hearing range        10    // in metres
  56.     aggression        1    // from 0 to 1
  57.     radius            1    // used by the movement model
  58. //    shadow hierarchy    Hcy_scarflashShadow
  59. }
  60.  
  61. role Rol_scarflash : Rol_DefaultRobot
  62. {
  63.     shape        Hcy_scarflash
  64.  
  65.     character    Chr_scarflash
  66.  
  67.     identifier    "scarflash"
  68.  
  69.     destructibility    Frg_scarflashfrag
  70.  
  71.     armour        0
  72.  
  73.     ai        bot
  74. }
  75.                     
  76. ////////////////////////////////////////////////////////////////////////////////////
  77.  
  78. // end wrapper - for preventing multiple or recursive inclusions
  79. #endif // !INCLUDED_scarflash_GSH
  80.