home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Revista CD Expert 42
/
CDGAMER42.iso
/
Gunlok
/
data1.cab
/
Program_Executable_Files
/
scripts
/
cronos.gsh
< prev
next >
Wrap
Text File
|
2000-08-22
|
1KB
|
50 lines
// defines Cronos
////////////////////////////////////////////////////////////////////////////////////
// start wrapper - prevent multiple inclusions or recursive inclusions
//(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
#ifndef INCLUDED_CRONOS_GSH
#define INCLUDED_CRONOS_GSH
////////////////////////////////////////////////////////////////////////////////////
#include "defaults.gsh"
#include "lasers.gsh"
hierarchy Hcy_Cronos
{
file "units\cronos.RIF"
name "cronos"
hotspot "DumFlash"
}
character Chr_Cronos : Chr_DefaultBaddie
{
turning speed 0.5 // this is in revolutions per second
walking speed 1.0 // this is in animation cycles per second
weapon enemy laser
strength 5 // initial strength points
aim 1 // how many degrees off target he can be at most
sight angle 80 // in degrees
sight range 8 // in metres
hearing range 20 // in metres
aggression 0.9 // from 0 to 1
}
role Rol_Cronos : Rol_DefaultRobot
{
shape Hcy_Cronos
character Chr_Cronos
identifier "cronos"
ai bot
}
////////////////////////////////////////////////////////////////////////////////////
// end wrapper - for preventing multiple or recursive inclusions
#endif // !INCLUDED_CRONOS_GSH