home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 76
/
XENIATGM66.iso
/
Messiah
/
data1.cab
/
Program_Executable_Files
/
messiahscripts
/
Enemies
/
medic.hxx
< prev
next >
Wrap
Text File
|
1999-11-29
|
3KB
|
102 lines
Actor(Medic)
{
file(MedicHeader);
rank(_RankPrivate);
startstate(StateNormal);
startaction(copidleNoGun);
if(VAICon!=0 && VAIState==_AIstateWork)
{
state(_or,StateExecuteAnim);
SpawnAction(MedicWorking);
}
//AI variables. All characters using copgen.hxx needs these defined to work properly
float(_declare,AIControl,0);
float(_declare,AIHideControl,_AIHCInRoute);
float(_declare,AIUsage,_AIUHideForRetreat|_AIUHideForAttack|_AIUHideAttackOffensive|_AIUHideRetreatDefensive|_AIUHideLeanOutAttack);
float(_declare,AIAbility,_AIAJump|_AIAClimb);
float(_declare,AIManPowerThreshold,300);
float(_declare,AIPowerRatingThreshold,50);
float(_declare,AIGrenadeThrowThreshold,10);
#include "messiahscripts\enemies\copgen.hxx"
}
Actor(Barman)
{
file(BarmanHeader);
rank(_RankPrivate);
startstate(StateNormal);
startaction(copidleNoGun);
//AI variables. All characters using copgen.hxx needs these defined to work properly
float(_declare,AIControl,0);
float(_declare,AIHideControl,_AIHCInRoute);
float(_declare,AIUsage,_AIUHideForRetreat|_AIUHideForAttack|_AIUHideAttackOffensive|_AIUHideRetreatDefensive|_AIUHideLeanOutAttack);
float(_declare,AIAbility,_AIAJump|_AIAClimb|_AIAPickUpWeapon);
float(_declare,AIManPowerThreshold,300);
float(_declare,AIPowerRatingThreshold,50);
float(_declare,AIGrenadeThrowThreshold,10);
#include "messiahscripts\enemies\copgen.hxx"
}
Actor(Priest)
{
file(PriestHeader);
rank(_RankPrivate);
startstate(StateNormal);
startaction(copidleNoGun);
if(VTrigger==_DIRshoot)
{
sample(SFXEvilLaugh,-1);
}
//AI variables. All characters using copgen.hxx needs these defined to work properly
float(_declare,AIControl,0);
float(_declare,AIHideControl,_AIHCInRoute);
float(_declare,AIUsage,_AIUHideForRetreat|_AIUHideForAttack|_AIUHideAttackOffensive|_AIUHideRetreatDefensive|_AIUHideLeanOutAttack);
float(_declare,AIAbility,_AIAJump|_AIAClimb|_AIAPickUpWeapon);
float(_declare,AIManPowerThreshold,300);
float(_declare,AIPowerRatingThreshold,50);
float(_declare,AIGrenadeThrowThreshold,10);
#include "messiahscripts\enemies\copgen.hxx"
}
Actor(Scientist)
{
file(ScientistHeader);
rank(_RankPrivate);
startstate(StateNormal);
startaction(copidleNoGun);
//AI variables. All characters using copgen.hxx needs these defined to work properly
float(_declare,AIControl,0);
float(_declare,AIHideControl,_AIHCInRoute);
float(_declare,AIUsage,_AIUHideForRetreat|_AIUHideForAttack|_AIUHideAttackDefensive|_AIUHideRetreatDefensive);
float(_declare,AIAbility,_AIAJump|_AIAClimb|_AIAPickUpWeapon);
float(_declare,AIManPowerThreshold,300);
float(_declare,AIPowerRatingThreshold,50);
float(_declare,AIGrenadeThrowThreshold,10);
if(VAICon!=0 && VAIState==_AIstateWork)
{
state(_or,StateExecuteAnim);
SpawnAction(ScientistPressButtons);
}
#include "messiahscripts\enemies\copgen.hxx"
}