home *** CD-ROM | disk | FTP | other *** search
- // defines Fred
- ////////////////////////////////////////////////////////////////////////////////////
-
- // start wrapper - prevent multiple inclusions or recursive inclusions
-
- //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
- #ifndef INCLUDED_FRED_GSH
- #define INCLUDED_FRED_GSH
-
- ////////////////////////////////////////////////////////////////////////////////////
-
- #include "defaults.gsh"
- #include "lasers.gsh"
-
- hierarchy Hcy_Fred
- {
- file "units\fred.RIF"
- name "bolter + chainsaw"
- hotspot "dum flash"
- }
-
- character Chr_Fred : Chr_DefaultGoodie
- {
- turning speed 1 // this is in revolutions per second
- walking speed 1 // this is in animation cycles per second
- weapon Wpn_BlueLaser
- strength 20 // initial strength points
- aim 1.5 // how many degrees off target he can be at most
- sight angle 85 // in degrees
- sight range 8 // in metres
- hearing range 17 // in metres
- aggression 0.75 // from 0 to 1
- }
-
- role Rol_Fred : Rol_DefaultRobot
- {
- shape Hcy_Fred
-
- character Chr_Fred
-
- identifier "fred"
- }
-
- ////////////////////////////////////////////////////////////////////////////////////
-
- // end wrapper - for preventing multiple or recursive inclusions
- #endif // !INCLUDED_FRED_GSH
-