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 >
Text File  |  1999-11-29  |  3KB  |  102 lines

  1.  
  2.  
  3. Actor(Medic)
  4. {
  5.         file(MedicHeader);
  6.         rank(_RankPrivate);
  7.         startstate(StateNormal);
  8.         startaction(copidleNoGun);
  9.  
  10.         if(VAICon!=0 && VAIState==_AIstateWork)
  11.         {
  12.             state(_or,StateExecuteAnim);
  13.             SpawnAction(MedicWorking);
  14.         }
  15.  
  16.         //AI variables. All characters using copgen.hxx needs these defined to work properly
  17.         float(_declare,AIControl,0);
  18.         float(_declare,AIHideControl,_AIHCInRoute);
  19.         float(_declare,AIUsage,_AIUHideForRetreat|_AIUHideForAttack|_AIUHideAttackOffensive|_AIUHideRetreatDefensive|_AIUHideLeanOutAttack);
  20.         float(_declare,AIAbility,_AIAJump|_AIAClimb);
  21.         float(_declare,AIManPowerThreshold,300);
  22.         float(_declare,AIPowerRatingThreshold,50);
  23.         float(_declare,AIGrenadeThrowThreshold,10);
  24.  
  25.         #include    "messiahscripts\enemies\copgen.hxx"
  26. }
  27.  
  28.  
  29.  
  30.  
  31.  
  32. Actor(Barman)
  33. {
  34.         file(BarmanHeader);
  35.         rank(_RankPrivate);
  36.         startstate(StateNormal);
  37.         startaction(copidleNoGun);
  38.  
  39.         //AI variables. All characters using copgen.hxx needs these defined to work properly
  40.         float(_declare,AIControl,0);
  41.         float(_declare,AIHideControl,_AIHCInRoute);
  42.         float(_declare,AIUsage,_AIUHideForRetreat|_AIUHideForAttack|_AIUHideAttackOffensive|_AIUHideRetreatDefensive|_AIUHideLeanOutAttack);
  43.         float(_declare,AIAbility,_AIAJump|_AIAClimb|_AIAPickUpWeapon);
  44.         float(_declare,AIManPowerThreshold,300);
  45.         float(_declare,AIPowerRatingThreshold,50);
  46.         float(_declare,AIGrenadeThrowThreshold,10);
  47.  
  48.         #include    "messiahscripts\enemies\copgen.hxx"
  49. }
  50.  
  51.  
  52.  
  53. Actor(Priest)
  54. {
  55.         file(PriestHeader);
  56.         rank(_RankPrivate);
  57.         startstate(StateNormal);
  58.         startaction(copidleNoGun);
  59.  
  60.         if(VTrigger==_DIRshoot)
  61.         {
  62.             sample(SFXEvilLaugh,-1);
  63.         }
  64.  
  65.         //AI variables. All characters using copgen.hxx needs these defined to work properly
  66.         float(_declare,AIControl,0);
  67.         float(_declare,AIHideControl,_AIHCInRoute);
  68.         float(_declare,AIUsage,_AIUHideForRetreat|_AIUHideForAttack|_AIUHideAttackOffensive|_AIUHideRetreatDefensive|_AIUHideLeanOutAttack);
  69.         float(_declare,AIAbility,_AIAJump|_AIAClimb|_AIAPickUpWeapon);
  70.         float(_declare,AIManPowerThreshold,300);
  71.         float(_declare,AIPowerRatingThreshold,50);
  72.         float(_declare,AIGrenadeThrowThreshold,10);
  73.  
  74.         #include    "messiahscripts\enemies\copgen.hxx"
  75. }
  76.  
  77.  
  78. Actor(Scientist)
  79. {
  80.         file(ScientistHeader);
  81.         rank(_RankPrivate);
  82.         startstate(StateNormal);
  83.         startaction(copidleNoGun);
  84.  
  85.         //AI variables. All characters using copgen.hxx needs these defined to work properly
  86.         float(_declare,AIControl,0);
  87.         float(_declare,AIHideControl,_AIHCInRoute);
  88.         float(_declare,AIUsage,_AIUHideForRetreat|_AIUHideForAttack|_AIUHideAttackDefensive|_AIUHideRetreatDefensive);
  89.         float(_declare,AIAbility,_AIAJump|_AIAClimb|_AIAPickUpWeapon);
  90.         float(_declare,AIManPowerThreshold,300);
  91.         float(_declare,AIPowerRatingThreshold,50);
  92.         float(_declare,AIGrenadeThrowThreshold,10);
  93.  
  94.         if(VAICon!=0 && VAIState==_AIstateWork)
  95.         {
  96.             state(_or,StateExecuteAnim);
  97.             SpawnAction(ScientistPressButtons);
  98.         }
  99.         #include    "messiahscripts\enemies\copgen.hxx"
  100. }
  101.  
  102.