home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Messiah / data1.cab / Program_Executable_Files / messiahscripts / Enemies / prost1.hxx < prev    next >
Text File  |  1999-11-29  |  6KB  |  220 lines

  1. /*
  2. Actors:
  3. Prost1
  4. Hung
  5. SubGirl1
  6. SubGirl2
  7. Layya
  8. */
  9.  
  10. ///////////////////////
  11. ///////////////////////
  12. ///////////////////////
  13. ///////////////////////
  14. ///////////////////////
  15. ///////////////////////
  16. ///////////////////////
  17.  
  18. Actor(VictimFeMale)
  19. {
  20.         file(VictimFeMaleHeader);
  21.         rank(_RankGeneral);
  22.  
  23.         startstate(statenormal);
  24.         startaction(copidleNoGun);
  25.  
  26.         //BELOW : just in case the victim has to follow a path, here's the script. BUT DON 'T
  27.         //UNCOMMENT IT OUT before talking to Msika first.
  28.         
  29.         /*
  30.         if(vaicon!=0)
  31.         {
  32.             Direction(_clr,_DIRaiRemoveFlags);
  33.  
  34.             call(AIPickdest,10);
  35.             if(vtrigger==_DIRtempflag)
  36.             {
  37.                 call(PickNewNode);
  38.             }
  39.             CallSub(Sub_AI1WayAlignToPickDestAngle);
  40.             if(VTrigger==_DIRleft)
  41.             {
  42.                 turn(0,-40,0);
  43.             }
  44.             elseif(VTrigger==_DIRright)
  45.             {
  46.                 turn(0,40,0);
  47.             }
  48.             if(vpickdestanglecorr>512 || vpickdestanglecorr<-512)    //might need bigger numbers
  49.             {
  50.                 direction(_set,_DIRForward);
  51.             }
  52.             else
  53.             {
  54.                 move(0,0,-10);
  55.             }
  56.         }
  57.         */
  58.         callsub(BackGroundTriggerChecks);
  59. }
  60.  
  61. Actor(prost1)
  62. {
  63.         file(ProstituteHeader);
  64.         rank(_RankGeneral);
  65.  
  66.         startstate(statenormal);
  67.         startaction(Prost1IdleNoGun);
  68.  
  69.         //AI variables. All characters using copgen.hxx needs these defined to work properly
  70.         float(_declare,AIControl,0);
  71.         float(_declare,AIHideControl,_AIHCInRoute);
  72.         float(_declare,AIUsage,_AIUHideForRetreat|_AIUHideForAttack|_AIUHideAttackDefensive|_AIUHideRetreatOffensive|_AIUHideLeanOutRetreat|_AIUHideLeanOutAttack);
  73.         float(_declare,AIAbility,_AIAClimb|_AIAJump|_AIAPickUpWeapon);
  74.         float(_declare,AIManPowerThreshold,1);
  75.         float(_declare,AIPowerRatingThreshold,50);
  76.         float(_declare,AIGrenadeThrowThreshold,10);
  77.  
  78.         #include    "messiahscripts\enemies\copgen.hxx"
  79. }
  80.  
  81. Actor(prost1Sit)
  82. {
  83.         file(prost1sitHeader);
  84.         rank(_RankGeneral);
  85.  
  86.         startstate(statenormal);
  87.         startaction(female1sitting);
  88.  
  89.         //AI variables. All characters using copgen.hxx needs these defined to work properly
  90.         float(_declare,AIControl,0);
  91.         float(_declare,AIHideControl,_AIHCInRoute);
  92.         float(_declare,AIUsage,_AIUHideForRetreat|_AIUHideForAttack|_AIUHideAttackDefensive|_AIUHideRetreatOffensive|_AIUHideLeanOutRetreat|_AIUHideLeanOutAttack);
  93.         float(_declare,AIAbility,_AIAClimb|_AIAJump|_AIAPickUpWeapon);
  94.         float(_declare,AIManPowerThreshold,1);
  95.         float(_declare,AIPowerRatingThreshold,50);
  96.         float(_declare,AIGrenadeThrowThreshold,10);
  97.  
  98.         #include    "messiahscripts\enemies\copgen.hxx"
  99. }
  100.  
  101. Actor(hung)
  102. {
  103.         file(HungHeader);
  104.         rank(_RankGeneral);
  105.  
  106.         startstate(statenormal);
  107.         startaction(Prost1IdleNoGun);
  108.  
  109.         //AI variables. All characters using copgen.hxx needs these defined to work properly
  110.         float(_declare,AIControl,0);
  111.         float(_declare,AIHideControl,_AIHCInRoute);
  112.         float(_declare,AIUsage,_AIUHideForRetreat|_AIUHideForAttack|_AIUHideAttackDefensive|_AIUHideRetreatOffensive|_AIUHideLeanOutRetreat|_AIUHideLeanOutAttack);
  113.         float(_declare,AIAbility,_AIAClimb|_AIAHideWeapon|_AIAPickUpWeapon);
  114.         float(_declare,AIManPowerThreshold,1);
  115.         float(_declare,AIPowerRatingThreshold,50);
  116.         float(_declare,AIGrenadeThrowThreshold,10);
  117.  
  118.         #include    "messiahscripts\enemies\copgen.hxx"
  119. }
  120.  
  121. Actor(subgirl1)
  122. {
  123.         file(subgirl1Header);
  124.  
  125.         rank(_RankCommander);
  126.  
  127.         startstate(statenormal);
  128.         //startaction(SubGirlIdleNoGun);
  129.         startaction(Prost1IdleNoGun);
  130.  
  131.         //AI variables. All characters using copgen.hxx needs these defined to work properly
  132.         float(_declare,AIControl,0);
  133.         float(_declare,AIHideControl,_AIHCInRoute);
  134.         float(_declare,AIUsage,_AIUAdvanceIfEnemyUnseen|_AIUAlwaysRun);
  135.         float(_declare,AIAbility,_AIAJump|_AIAFakeWeapon);
  136.         float(_declare,AIManPowerThreshold,1);
  137.         float(_declare,AIPowerRatingThreshold,50);
  138.         float(_declare,AIGrenadeThrowThreshold,10);
  139.  
  140.         #include    "messiahscripts\enemies\copgen.hxx"
  141. }
  142.  
  143. Actor(subgirl2)
  144. {
  145.         file(subgirl2Header);
  146.  
  147.         rank(_RankCommander);
  148.  
  149.         startstate(statenormal);
  150.         startaction(Prost1IdleNoGun);
  151.  
  152.         //AI variables. All characters using copgen.hxx needs these defined to work properly
  153.         float(_declare,AIControl,0);
  154.         float(_declare,AIHideControl,_AIHCInRoute);
  155.         float(_declare,AIUsage,_AIUAdvanceIfEnemyUnseen|_AIUAlwaysRun);
  156.         float(_declare,AIAbility,_AIAJump|_AIAFakeWeapon);
  157.         float(_declare,AIManPowerThreshold,1);
  158.         float(_declare,AIPowerRatingThreshold,50);
  159.         float(_declare,AIGrenadeThrowThreshold,10);
  160.  
  161.         #include    "messiahscripts\enemies\copgen.hxx"
  162. }
  163.  
  164. Actor(Layya)
  165. {
  166.         file(LayyaHeader);
  167.  
  168.         rank(_RankCommander);
  169.  
  170.         startstate(statenormal);
  171.         startaction(Prost1IdleNoGun);
  172.  
  173.         //AI variables. All characters using copgen.hxx needs these defined to work properly
  174.         float(_declare,AIControl,0);
  175.         float(_declare,AIHideControl,_AIHCInRoute);
  176.         float(_declare,AIUsage,_AIUHideForRetreat|_AIUHideForAttack|_AIUHideAttackDefensive|_AIUHideRetreatOffensive|_AIUHideLeanOutRetreat|_AIUHideLeanOutAttack);
  177.         float(_declare,AIAbility,_AIAClimb|_AIAHideWeapon|_AIAPickUpWeapon);
  178.         float(_declare,AIManPowerThreshold,1);
  179.         float(_declare,AIPowerRatingThreshold,50);
  180.         float(_declare,AIGrenadeThrowThreshold,10);
  181.  
  182.         #include    "messiahscripts\enemies\copgen.hxx"
  183. }
  184.  
  185.  
  186. Actor(prost2)
  187. {
  188.         file(prozzyHeader);
  189.  
  190.         rank(_RankCommander);
  191.  
  192.         startstate(statenormal);
  193.         startaction(Prost1IdleNoGun);
  194.  
  195. //        #include    "messiahscripts\enemies\femgen.hxx"
  196. }
  197.  
  198.  
  199. Actor(pimp)
  200. {
  201.         file(pimpHeader);
  202.  
  203.         rank(_RankCommander);
  204.  
  205.         startstate(statenormal);
  206.         startaction(CopIdleNoGun);
  207.  
  208.         //AI variables. All characters using copgen.hxx needs these defined to work properly
  209.         float(_declare,AIControl,0);
  210.         float(_declare,AIHideControl,_AIHCInRoute);
  211.         float(_declare,AIUsage,_AIUHideForRetreat|_AIUHideForAttack|_AIUHideAttackDefensive|_AIUHideRetreatOffensive|_AIUHideLeanOutRetreat|_AIUHideLeanOutAttack);
  212.         float(_declare,AIAbility,_AIAClimb|_AIAJump|_AIAHideWeapon|_AIAPickUpWeapon);
  213.         float(_declare,AIManPowerThreshold,1);
  214.         float(_declare,AIPowerRatingThreshold,50);
  215.         float(_declare,AIGrenadeThrowThreshold,10);
  216.  
  217.         #include    "messiahscripts\enemies\copgen.hxx"
  218. }
  219.  
  220.