home *** CD-ROM | disk | FTP | other *** search
- // defines The President
- ////////////////////////////////////////////////////////////////////////////////////
-
- // start wrapper - prevent multiple inclusions or recursive inclusions
-
- #ifndef INCLUDED_PRESIDENT_GSH
- #define INCLUDED_PRESIDENT_GSH
-
- ////////////////////////////////////////////////////////////////////////////////////
-
- #include "defaults.gsh"
-
- hierarchy Hcy_President
- {
- file "units\maskelyn Mkii.RIF"
- name "maskelyn mkii"
- hotspot "dum flash"
- }
-
- hierarchy Hcy_PresidentShadow
- {
- file "units\maskelyn_shadow.RIF"
- name "maskelyn_shadow"
- }
-
- hierarchy Hcy_PresidentCustomize
- {
- file "units\wepmaskelyn.RIF"
- name "wepmaskelyn"
- }
-
- character Chr_President : Chr_DefaultGoodie
- {
- turning speed 1 // this is in revolutions per second
- walking speed 1 // this is in animation cycles per second
- strength 20 // initial strength points
- aim 0 // how many degrees off target he can be at most
- sight angle 75 // in degrees
- sight range 12 // in metres
- hearing range 17 // in metres
- aggression 0.7 // from 0 to 1
- radius 0.5 // used by the movement model
- shadow hierarchy Hcy_PresidentShadow
- customization hierarchy Hcy_PresidentCustomize
- status window u 0
- status window v 0
- }
-
- role Rol_President : Rol_DefaultRobot
- {
- shape Hcy_President
-
- character Chr_President
-
- identifier "PRESIDENT"
-
- ai president
- }
-
- ////////////////////////////////////////////////////////////////////////////////////
-
- // end wrapper - for preventing multiple or recursive inclusions
- #endif // !INCLUDED_PRESIDENT_GSH