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

  1.  
  2. /*
  3.  
  4.         AIClass(_AIClassCopSkeleton);
  5.  
  6.         AIClass(_AIClassProstSkeleton);
  7.  
  8.         AIClass(_AIClassBobSkeleton);
  9.  
  10.         AIclass(_AIClassBeastSkeleton);
  11.  
  12.         AIclass(_AIClassAbeastSkeleton);
  13.  
  14.  
  15. beast:    Thrown
  16.  
  17. */
  18.  
  19.  
  20. Action(GENIdle)
  21. {
  22.         trigger(_allDIR);
  23.         nrintframes(-1);
  24.         connections(BobIdle,CopIdle,Prost1Idle,BeastIdle,ABeastIdle);
  25. }
  26.  
  27. Action(GENIdleLongTime)
  28. {
  29.         trigger(_allDIR);
  30.         nrintframes(-2);
  31.         connections(BobIdleLongTime,CopIdleLongTime,Prost1IdleLongTime,BeastIdleLongTime,ABeastIdleLongTime);
  32. }
  33.  
  34. Action(GENDrown)
  35. {
  36.         trigger(_allDIR);
  37.         nrintframes(-1);
  38.         connections(BobDrown,CopDrown);
  39. }
  40.  
  41. Action(GENPossesed)
  42. {
  43.         trigger(_allDIR);
  44.         nrintframes(-2);
  45.         connections(BobDepossesDaze,CopPossesed,Prost1Possesed,BeastPossesed,ABeastPossesed);
  46. }
  47.  
  48. Action(GENDePossesed)
  49. {
  50.         trigger(_allDIR);
  51.         nrintframes(-1);
  52.         connections(BobDepossesDaze,CopDePossesed,Prost1Depossesed,BeastDepossesed,ABeastDepossesed);
  53. }
  54.  
  55. action(GENCrouchPossession)//forward-flip, somersault
  56. {
  57.         file("pc\actors\chot\xxx\MCrStun.ske",100,on);//Crouch stunned
  58.         trigger(_allDIR);
  59.         nrintframes(4);
  60.         break(off);
  61.         connections(CopCrouchIdle,Prost1CrouchIdle,GENIdle);
  62. }
  63.  
  64. action(GENCrouchDepossession)
  65. {
  66.         file("pc\actors\chot\xxx\MCrStun.ske",100,on);//Crouch Stunned
  67.  
  68.         trigger(_allDIR);
  69.         nrintframes(4);
  70.         break(off);
  71.         connections(CopCrouchIdle,Prost1CrouchIdle,GENIdle);
  72. }
  73.  
  74. action(GENCrawlPossession)//forward-flip, somersault
  75. {
  76.         file("pc\actors\chot\xxx\MCrlKikU.ske",100,on);//Crouch stunned
  77.         trigger(_allDIR);
  78.         nrintframes(4);
  79.         break(off);
  80.         connections(CopCrawlIdle,GENIdle);
  81. }
  82.  
  83. action(GENCrawlDepossession)
  84. {
  85.         file("pc\actors\chot\xxx\MCrlKikU.ske",100,on);//Crouch stunned
  86.  
  87.         trigger(_allDIR);
  88.         nrintframes(4);
  89.         break(off);
  90.         connections(CopCrawlIdle,GENIdle);
  91. }
  92.  
  93. //------------------
  94.  
  95. Action(GENThrowGrenade)
  96. {
  97.         trigger(_allDIR);
  98.         nrintframes(-2);
  99.         connections(DwarfLaunch,CopThrowGrenade,Prost1ThrowGrenade,ABeastThrowGrenade);
  100. }
  101.  
  102. Action(GENCrouchGrenade)
  103. {
  104.         trigger(_allDIR);
  105.         nrintframes(-2);
  106.         connections(CopCrouchGrenade,Prost1CrouchGrenade);
  107. }
  108.  
  109. action(GENPickup)
  110. {
  111.         trigger(_allDIR);
  112.         nrintframes(-2);
  113.         connections(CopPickup,Prost1Pickup);
  114. }
  115.  
  116. action(GENPickupChest)
  117. {
  118.         trigger(_allDIR);
  119.         nrintframes(-2);
  120.         connections(CopPickupChest,Prost1PickupChest);
  121. }
  122.  
  123. action(GENPickupCrouch)
  124. {
  125.         trigger(_allDIR);
  126.         nrintframes(-2);
  127.         connections(CopPickupCrouch,Prost1PickupCrouch);
  128. }
  129.  
  130. action(GENPressGun)
  131. {
  132.         trigger(_allDIR);
  133.         nrintframes(-2);
  134.         connections(CopPressGun,Prost1PressGun);
  135. }
  136.  
  137. Action(GENShotInRLeg)
  138. {
  139.         //file("pc\actors\chot\xxx\MSnpLeg1.ske",50,off,100,-1,_DIRcombatmode);
  140.         file("pc\actors\chot\xxx\MSnpLeg2.ske",100,off,100,-1,_DIRcombatmode);
  141.         file("pc\actors\chot\xxx\MSnpLeg3.ske",100,off,100,-1);
  142.         trigger(_allDIR);
  143.         break(off);
  144.         nrintframes(3);
  145.         connections(BobWoundLight,CopCrawlIdle);
  146. }
  147.  
  148. Action(GENShotInLLeg)
  149. {
  150.         file("pc\actors\chot\xxx\MSnpLeg4.ske",100,off,100,-1);
  151.         trigger(_allDIR);
  152.         break(off);
  153.         nrintframes(3);
  154.         connections(BobWoundLight,CopCrawlIdle);
  155. }
  156.  
  157.  
  158. //-------------  NOT DONE
  159.  
  160. action(GENFallToCrawl)
  161. {
  162.         //file("pc\actors\chot\xxx\MBrn2Kns.ske",100,off);
  163.         file("pc\actors\chot\xxx\MBrkleg.ske",100,off,50);
  164.         trigger(_allDIR);
  165.         break(off);
  166.         nrintframes(3);
  167.         connections(CopCrawlIdle);
  168. }
  169.  
  170. action(GENCrawlSpreadOut)    //Lead directly to next animation
  171. {
  172.         trigger(_allDIR);
  173.         nrintframes(-1);
  174.         connections(CopCrawlForward,CopCrawlBackwards,CopCrawlTurnLeft,CopCrawlTurnRight,CopCrawlIdle);
  175. }
  176.  
  177. action(GENThrownForward)
  178. {
  179.         trigger(_allDIR);
  180.         nrintframes(-2);
  181.         connections(CopThrownForward,Prost1ThrownForward);
  182. }
  183.  
  184. action(GENThrownBack)
  185. {
  186.         trigger(_allDIR);
  187.         nrintframes(-2);
  188.         connections(CopThrownBack,Prost1ThrownBack);
  189. }
  190.  
  191. action(GENThrownLeft)
  192. {
  193.         trigger(_allDIR);
  194.         nrintframes(-2);
  195.         connections(CopThrownLeft,Prost1ThrownLeft);
  196. }
  197.  
  198. action(GENThrownRight)
  199. {
  200.         trigger(_allDIR);
  201.         nrintframes(-2);
  202.         connections(CopThrownRight,Prost1ThrownRight);
  203. }
  204.  
  205. //-------------  'TILL HERE
  206.  
  207. action(GENWoundLight)
  208. {
  209.         trigger(_allDIR);
  210.         nrintframes(-2);
  211.         connections(BobWoundLight,CopWoundLight,Prost1WoundLight,BeastWoundLight,ABeastWoundLight);
  212. }
  213.  
  214. action(GENWoundLightRun)
  215. {
  216.         trigger(_allDIR);
  217.         nrintframes(-2);
  218.         connections(BobWoundLightRun,CopWoundLight,Prost1WoundLight,BeastWoundLight,ABeastWoundLight);
  219. }
  220.  
  221. action(GENWoundLightNoBreak)
  222. {
  223.         trigger(_allDIR);
  224.         nrintframes(-2);
  225.         connections(BobWoundLight,CopWoundLightNoBreak,Prost1WoundLightNoBreak,BeastWoundLightNoBreak,ABeastWoundLightNoBreak);
  226. }
  227.  
  228. action(GENCrouchWoundLight)
  229. {
  230.         trigger(_allDIR);
  231.         nrintframes(-2);
  232.         connections(CopCrouchWoundLight,Prost1CrouchWoundLight);
  233. }
  234.  
  235.  
  236. action(GENShotInLeg)
  237. {
  238.         trigger(_allDIR);
  239.         nrintframes(-2);
  240.         connections(BobWoundLight,CopShotInLeg,Prost1ShotInLeg);
  241. }
  242.  
  243. action(GENShotFrHead)
  244. {
  245.         trigger(_allDIR);
  246.         nrintframes(-2);
  247.         connections(BobFallDead,CopShotFrHead,Prost1ShotFrHead);
  248. }
  249.  
  250. action(GENShotFrTorso)
  251. {
  252.         trigger(_allDIR);
  253.         nrintframes(-2);
  254.         connections(BobWoundLight,CopShotFrTorso,Prost1ShotFrTorso);
  255. }
  256.  
  257. action(GENShotFrRShoulder)
  258. {
  259.         trigger(_allDIR);
  260.         nrintframes(-2);
  261.         connections(BobWoundLight,CopShotFrRShoulder,Prost1ShotFrRShoulder);
  262. }
  263.  
  264. action(GENShotFrLShoulder)
  265. {
  266.         trigger(_allDIR);
  267.         nrintframes(-2);
  268.         connections(BobWoundLight,CopShotFrLShoulder,Prost1ShotFrLShoulder);
  269. }
  270.  
  271. action(GENShotGeneric)
  272. {
  273.         trigger(_allDIR);
  274.         nrintframes(-2);
  275.         connections(BobWoundLight,CopShotGeneric,Prost1ShotGeneric);
  276. }
  277.  
  278. action(GENShotBkHead)
  279. {
  280.         trigger(_allDIR);
  281.         nrintframes(-2);
  282.         connections(BobFallDead,CopShotBkHead,Prost1ShotBkHead);
  283. }
  284.  
  285. action(GENShotBkBack)
  286. {
  287.         trigger(_allDIR);
  288.         nrintframes(-2);
  289.         connections(BobWoundLight,CopShotBkBack,Prost1ShotBkBack);
  290. }
  291.  
  292.  
  293. action(GENElectricShock0)
  294. {
  295.         trigger(_allDIR);
  296.         nrintframes(-2);
  297.         connections(BobElectricShock0,CopElectricShock0,Prost1ElectricShock0,BeastElectricShock0,ABeastElectricShock0);
  298. }
  299.  
  300. action(GENElectricShock1)
  301. {
  302.         trigger(_allDIR);
  303.         nrintframes(-2);
  304.         connections(BobElectricShock0,CopElectricShock1,Prost1ElectricShock1,BeastElectricShock1,ABeastElectricShock1);
  305. }
  306.  
  307.  
  308. action(GENTouchDown)
  309. {
  310.         trigger(_allDIR);
  311.         nrintframes(-2);
  312.         connections(BobTouchDown,CopTouchDown,Prost1TouchDown,BeastTouchDown,ABeastTouchDown);
  313. }
  314.  
  315. action(GENFallDead)
  316. {
  317.         trigger(_allDIR);
  318.         nrintframes(-2);
  319.         connections(BobFallDead,CopFallDead,Prost1FallDead,BeastFallDead,ABeastFallDead);
  320. }
  321.  
  322. action(GENFallInPlace)
  323. {
  324.         trigger(_allDIR);
  325.         nrintframes(-2);
  326.         connections(BobFallDead,CopFallInPlace,Prost1FallInPlace,BeastStandDead,ABeastStandDead);
  327. }
  328.  
  329.  
  330. //-------------  NOT DONE
  331.  
  332. action(GENPoleDead)
  333. {
  334.         file("pc\actors\Chot\xxx\Poldedlf.ske",50,off);
  335.         file("pc\actors\Chot\xxx\Poldedlb.ske",100,off);
  336.         //file("pc\actors\Chot\xxx\mbelly.ske",100,off);
  337.         trigger(_allDIR);
  338.         break(off);
  339.         nrintframes(31);
  340.         shadow(off);
  341. }
  342.  
  343. action(GENOnPole)
  344. {
  345.         file("pc\actors\Chot\xxx\mback.ske",20,off);
  346.         file("pc\actors\Chot\xxx\PolTwch1.ske",50,on);
  347.         file("pc\actors\Chot\xxx\PolTwch2.ske",100,on);
  348.         trigger(_allDIR);
  349.         break(off);
  350.         nrintframes(12);
  351.         intforloop(on);
  352.         connections(GENOnPole,GENPoleDead);
  353. }
  354.  
  355. /* *************   harpooned animations ******************* */
  356.  
  357. action(GENHarpoonFrontHold)
  358. {
  359.         file("pc\actors\Chot\xxx\AHrpedH.ske",100,on);
  360.         trigger(_allDIR);
  361.         break(on);
  362.         nrintframes(6);
  363.         intforloop(on);
  364.         shadow(off);
  365.         connections(GENHarpoonFrontHold);
  366. }
  367.  
  368. action(GENHarpoonFrontHitWall)
  369. {
  370.         file("pc\actors\Chot\xxx\AHrpedSt.ske",100,off);
  371.         trigger(_allDIR);
  372.         break(off);
  373.         nrintframes(4);
  374.         intforloop(on);
  375.         shadow(off);
  376.         connections(GENHarpoonFrontIdle);
  377. }
  378.  
  379. action(GENHarpoonFrontIdle)
  380. {
  381.         file("pc\actors\Chot\xxx\AHrpedI1.ske",10,on);
  382.         file("pc\actors\Chot\xxx\AHrpedI2.ske",100,on);
  383.         trigger(_allDIR);
  384.         break(on);
  385.         nrintframes(6);
  386.         intforloop(on);
  387.         shadow(off);
  388.         connections(GENHarpoonFrontIdle);
  389. }
  390.  
  391. action(GENHarpoonFrontBeg)
  392. {
  393.         file("pc\actors\Chot\xxx\AHrpedI3.ske",50,off);
  394.         file("pc\actors\Chot\xxx\AHrpedI4.ske",100,off);
  395.         trigger(_allDIR);
  396.         break(off);
  397.         nrintframes(6);
  398.         intforloop(on);
  399.         shadow(off);
  400.         connections(GENHarpoonFrontIdle);
  401. }
  402.  
  403. action(GENHarpoonFrontBurn)
  404. {
  405.         file("pc\actors\Chot\xxx\AHrpedI1.ske",100,on);
  406.         trigger(_allDIR);
  407.         break(off);
  408.         nrintframes(6);
  409.         intforloop(on);
  410.         shadow(off);
  411.         connections(GENHarpoonFrontBurn);
  412. }
  413.  
  414. action(GENHarpoonBackHold)
  415. {
  416.         file("pc\actors\Chot\xxx\AHrpedHB.ske",100,on);
  417.         trigger(_allDIR);
  418.         break(on);
  419.         nrintframes(6);
  420.         intforloop(on);
  421.         shadow(off);
  422.         connections(GENHarpoonBackHold);
  423. }
  424.  
  425. action(GENHarpoonBackHitWall)
  426. {
  427.         file("pc\actors\Chot\xxx\AHrpedSB.ske",100,off);
  428.         trigger(_allDIR);
  429.         break(off);
  430.         nrintframes(4);
  431.         intforloop(on);
  432.         shadow(off);
  433.         connections(GENHarpoonBackIdle);
  434. }
  435.  
  436. action(GENHarpoonBackIdle)
  437. {
  438.         file("pc\actors\Chot\xxx\AHrpdI1B.ske",10,on);
  439.         file("pc\actors\Chot\xxx\AHrpdI2B.ske",100,on);
  440.         trigger(_allDIR);
  441.         break(on);
  442.         nrintframes(6);
  443.         intforloop(on);
  444.         shadow(off);
  445.         connections(GENHarpoonBackIdle);
  446. }
  447.  
  448. action(GENHarpoonBackBurn)
  449. {
  450.         file("pc\actors\Chot\xxx\AHrpdI1B.ske",100,on);
  451.         trigger(_allDIR);
  452.         break(off);
  453.         nrintframes(6);
  454.         intforloop(on);
  455.         shadow(off);
  456.         connections(GENHarpoonBackBurn);
  457. }
  458.  
  459. Action(GENCrawlDead)
  460. {
  461.         trigger(_allDIR);
  462.         nrintframes(-2);
  463.         connections(CopCrawlDead,Prost1CrawlDead);
  464. }
  465.  
  466. Action(GENStandDead)
  467. {
  468.         trigger(_allDIR);
  469.         nrintframes(-2);
  470.         connections(CopStandDead,Prost1StandDead,BeastStandDead,ABeastStandDead);
  471. }
  472.  
  473. Action(GENCrouchDead)
  474. {
  475.         trigger(_allDIR);
  476.         nrintframes(-2);
  477.         connections(CopCrouchDead,Prost1CrouchDead);
  478. }
  479.  
  480. //---------- 'TILL HERE
  481.  
  482. Action(GENCrouchDown)
  483. {
  484.         trigger(_allDIR);
  485.         nrintframes(-2);
  486.         connections(BobCrouchDown,CopCrouchDown,Prost1CrouchDown,BeastCrouchDown,ABeastCrouchDown);
  487. }
  488.  
  489. Action(GENCrouchUp)
  490. {
  491.         trigger(_allDIR);
  492.         nrintframes(-2);
  493.         connections(BobCrouchUp,CopCrouchUp,Prost1CrouchUp,BeastCrouchUp,ABeastCrouchUp);
  494. }
  495.  
  496.  
  497. Action(GENRunUpStairs)
  498. {
  499.         trigger(_allDIR);
  500.         nrintframes(-2);
  501.         connections(BobRunUpStairs,CopRunUpStairs,Prost1RunUpStairs);
  502. }
  503.  
  504.  
  505. Action(GENJump)
  506. {
  507.         trigger(_allDIR);
  508.         nrintframes(-2);
  509.         connections(BobJumpWithGravity,CopJump,SubGirlJump,Prost1Jump,BeastJump,ABeastJump);
  510. }
  511.  
  512. Action(GENFall)
  513. {
  514.         trigger(_allDIR);
  515.         nrintframes(-2);
  516.         connections(BobFall,CopFall,Prost1Fall,Beastfall,ABeastfall);
  517. }
  518.  
  519. action(GENSlideAction)
  520. {
  521.         file("pc\actors\Chot\xxx\mslyde1.ske",100,on);
  522.         trigger(_allDIR);
  523.         nrintframes(4);
  524.         intforloop(on);
  525.         gravity(on);
  526.         ydeltafromzeroframe(off);
  527.         break(on);
  528.         connections(GENSlide);
  529. }
  530.  
  531. action(GENSlide)
  532. {
  533.         trigger(_allDIR);
  534.         nrintframes(-1);
  535.         connections(BobSlide,GENSlideAction);
  536. }
  537.  
  538. //------------------------------------
  539.  
  540. action(GENBurningRollOnFloor)        //Roll on floor to extinguish fire
  541. {
  542.         file("pc\actors\chot\xxx\ABrnRoll.ske",100,on,80);
  543.         trigger(_allDIR);
  544.         break(off);
  545.         nrintframes(3);
  546.         connections(GENSlowGetUpFace);
  547. }
  548.  
  549.  
  550. Action(GENBurnedIdle)
  551. {
  552.         trigger(_allDIR);
  553.         nrintframes(-2);
  554.         connections(CopBurnedIdle,Prost1BurnedIdle);
  555. }
  556.  
  557. Action(GENGettingBurned)
  558. {
  559.         trigger(_allDIR);
  560.         nrintframes(-2);
  561.         connections(CopGettingBurned,Prost1GettingBurned);
  562. }
  563.  
  564. Action(GENBlindForward)
  565. {
  566.         trigger(_allDIR);
  567.         nrintframes(-2);
  568.         connections(CopBlindForward,Prost1BlindForward);
  569. }
  570.  
  571. Action(GENBlindBackwards)
  572. {
  573.         trigger(_allDIR);
  574.         nrintframes(-2);
  575.         connections(CopBlindBackwards,Prost1BlindBackwards);
  576. }
  577.  
  578. Action(GENBurningRunInCircle)
  579. {
  580.         trigger(_allDIR);
  581.         nrintframes(-2);
  582.         connections(CopBurningRunInCircle,Prost1BurningRunInCircle);
  583. }
  584.  
  585. Action(GENSlowGetUpFace)
  586. {
  587.         trigger(_allDIR);
  588.         nrintframes(-2);
  589.         connections(CopSlowGetUpFace,Prost1SlowGetUpFace);
  590. }
  591.  
  592. Action(GENGetUpFromBack)
  593. {
  594.         trigger(_allDIR);
  595.         nrintframes(-2);
  596.         connections(CopGetUpFromBack,Prost1GetUpFromBack);
  597. }
  598.  
  599. Action(GENReload)
  600. {
  601.         trigger(_allDIR);
  602.         nrintframes(-2);
  603.         connections(CopReload,Prost1Reload);
  604. }
  605.  
  606. Action(GENReloadCrouch)
  607. {
  608.         trigger(_allDIR);
  609.         nrintframes(-2);
  610.         connections(CopReloadCrouch,Prost1ReloadCrouch);
  611. }
  612.  
  613. Action(GENHeavyRecoil)
  614. {
  615.         trigger(_allDIR);
  616.         nrintframes(-2);
  617.         connections(CopHeavyRecoil,Prost1HeavyRecoil);
  618. }
  619.  
  620. Action(GENLightRecoil)
  621. {
  622.         trigger(_allDIR);
  623.         nrintframes(-2);
  624.         connections(CopLightRecoil,Prost1LightRecoil);
  625. }
  626.  
  627. Action(GENCrouchHeavyRecoil)
  628. {
  629.         trigger(_allDIR);
  630.         nrintframes(-2);
  631.         connections(CopCrouchHeavyRecoil,Prost1CrouchHeavyRecoil);
  632. }
  633.  
  634. Action(GENCrouchLightRecoil)
  635. {
  636.         trigger(_allDIR);
  637.         nrintframes(-2);
  638.         connections(CopCrouchLightRecoil,Prost1CrouchLightRecoil);
  639. }
  640.  
  641.  
  642.  
  643. //----------------------------
  644.  
  645. action(GENBackRollRight)
  646. {
  647.         file("pc\actors\bob\xxx\BR_B2F_L.ske",100,off,100,_AIclassangel);
  648.         file("pc\actors\chot\xxx\MR_B2F_L.ske",100,off);
  649.         break(off);
  650.         connections(GENBackRollRight);
  651. }
  652.  
  653. action(GENBackRollLeft)
  654. {
  655.         file("pc\actors\bob\xxx\BR_F2B_R.ske",100,off,100,_AIclassangel);
  656.         file("pc\actors\chot\xxx\MR_F2B_R.ske",100,off);
  657.         break(off);
  658.         connections(GENBackRollLeft);
  659. }
  660.  
  661. action(GENStomachRollRight)
  662. {
  663.         file("pc\actors\bob\xxx\BR_F2B_L.ske",100,off,100,_AIclassangel);
  664.         file("pc\actors\chot\xxx\MR_F2B_L.ske",100,off);
  665.         break(off);
  666.         connections(GENStomachRollRight);
  667. }
  668.  
  669. action(GENStomachRollLeft)
  670. {
  671.         file("pc\actors\bob\xxx\BR_B2F_R.ske",100,off,100,_AIclassangel);
  672.         file("pc\actors\chot\xxx\MR_B2F_R.ske",100,off);
  673.         break(off);
  674.         connections(GENStomachRollLeft);
  675. }
  676.  
  677.  
  678. //    COP KICKALONG ACTION
  679.  
  680. Action(GENKickLeftFD)
  681. {
  682.         file("pc\actors\Chot\xxx\MWrKikLw.ske",100,on,100);    //right leg kick, holding gun
  683.  
  684.         flag(_SXAAAlignTransToY|_SXAAonlydeadpeople|_SXAAdisablecollision|_SXAAdisablerotation);
  685.  
  686.         AttackHeight(40);
  687.         AlignDistance(100);
  688.         DistanceSlack(150);
  689.         AlignSlack(180);    
  690.  
  691.         AttachActionStartAtFrame(14);
  692.         AttachAction(GENStomachRollLeft);
  693.  
  694.         ActionSubRoutine(Sub_RandomKickRollSFX);
  695.  
  696.         trigger(_allDIR);
  697.         break(off);
  698.         nrintframes(0);
  699.         connections(GENIdle);
  700. }
  701.  
  702. Action(GENKickRightFD)
  703. {
  704.         file("pc\actors\Chot\xxx\MWrKikLw.ske",100,on,100);    //right leg kick, holding gun
  705.  
  706.         flag(_SXAAAlignTransToY|_SXAAonlydeadpeople|_SXAAdisablecollision|_SXAAdisablerotation);
  707.  
  708.         AttackHeight(40);
  709.         AlignDistance(100);
  710.         DistanceSlack(150);
  711.         AlignSlack(180);    
  712.  
  713.         AttachActionStartAtFrame(14);
  714.         AttachAction(GENStomachRollRight);
  715.  
  716.         ActionSubRoutine(Sub_RandomKickRollSFX);
  717.  
  718.         trigger(_allDIR);
  719.         break(off);
  720.         nrintframes(0);
  721.         connections(GENIdle);
  722. }
  723.  
  724. Action(GENKickRightFU)
  725. {
  726.         file("pc\actors\Chot\xxx\MWrKikLw.ske",100,on,100);    //right leg kick, holding gun
  727.  
  728.         flag(_SXAAAlignTransToY|_SXAAonlydeadpeople|_SXAAdisablecollision|_SXAAdisablerotation);
  729.  
  730.         AttackHeight(40);
  731.         AlignDistance(100);
  732.         DistanceSlack(150);
  733.         AlignSlack(180);    
  734.  
  735.         AttachActionStartAtFrame(14);
  736.         AttachAction(GENBackRollRight);
  737.  
  738.         ActionSubRoutine(Sub_RandomKickRollSFX);
  739.  
  740.         trigger(_allDIR);
  741.         break(off);
  742.         nrintframes(0);
  743.         connections(GENIdle);
  744. }
  745.  
  746. Action(GENKickLeftFU)
  747. {
  748.         file("pc\actors\Chot\xxx\MWrKikLw.ske",100,on,100);    //right leg kick, holding gun
  749.  
  750.         flag(_SXAAAlignTransToY|_SXAAonlydeadpeople|_SXAAdisablecollision|_SXAAdisablerotation);
  751.  
  752.         AttackHeight(40);
  753.         AlignDistance(100);
  754.         DistanceSlack(150);
  755.         AlignSlack(180);    
  756.  
  757.         AttachActionStartAtFrame(14);
  758.         AttachAction(GENBackRollLeft);
  759.  
  760.         ActionSubRoutine(Sub_RandomKickRollSFX);
  761.  
  762.         trigger(_allDIR);
  763.         break(off);
  764.         nrintframes(0);
  765.         connections(GENIdle);
  766. }
  767.  
  768. Action(GENKickedCrotchFD)
  769. {
  770.         file("pc\actors\MultiAnm\xxx\MKkdCrFd.ske",100,off,100,_AIclassmale);
  771.         file("pc\actors\MultiAnm\xxx\FKkdCrFd.ske",100,off,100,_AIclassfemale);
  772.         file("pc\actors\MultiAnm\xxx\MKkdCrFd.ske",100,off);
  773.         trigger(_allDIR);
  774.         connections(GENKickedCrotchFD);
  775. }
  776.  
  777. Action(GENKickedCrotchFU)
  778. {
  779.         file("pc\actors\MultiAnm\xxx\MKkdCrFu.ske",100,off,100,_AIclassmale);
  780.         file("pc\actors\MultiAnm\xxx\FKkdCrFu.ske",100,off,100,_AIclassfemale);
  781.         file("pc\actors\MultiAnm\xxx\MKkdCrFu.ske",100,off);
  782.         trigger(_allDIR);
  783.         connections(GENKickedCrotchFU);
  784. }
  785.  
  786. Action(GENKickedHeadFD)
  787. {
  788.         file("pc\actors\MultiAnm\xxx\MKkdHdFd.ske",100,off,100,_AIclassmale);
  789.         file("pc\actors\MultiAnm\xxx\FKkdHdFd.ske",100,off,100,_AIclassfemale);
  790.         file("pc\actors\MultiAnm\xxx\MKkdHdFd.ske",100,off);
  791.         trigger(_allDIR);
  792.         connections(GENKickedHeadFD);
  793. }
  794.  
  795. Action(GENKickedHeadFU)
  796. {
  797.         file("pc\actors\MultiAnm\xxx\MKkdHdFu.ske",100,off,100,_AIclassmale);
  798.         file("pc\actors\MultiAnm\xxx\FKkdHdFu.ske",100,off,100,_AIclassfemale);
  799.         file("pc\actors\MultiAnm\xxx\MKkdHdFu.ske",100,off);
  800.         trigger(_allDIR);
  801.         connections(GENKickedHeadFU);
  802. }
  803.  
  804.  
  805. Action(GENKickHeadFD)
  806. {
  807.         file("pc\actors\Chot\xxx\MWrKikLw.ske",100,on,100);    //male right leg kick, holding gun
  808.  
  809.         flag(_SXAAAlignTransToY|_SXAAalignmovingslave|_SXAAonlydeadpeople|_SXAAdisablecollision);
  810.  
  811.         AlignAngle(0);
  812.         TargetAngle(-1);
  813.         AttackHeight(50);
  814.         AlignDistance(100);
  815.         AlignSlack(20);
  816.         DistanceSlack(50);
  817.  
  818.         AlignStartFrame(0);
  819.         AlignNrFrames(10);
  820.  
  821.         AttachActionStartAtFrame(15);
  822.         AttachAction(GENKickedHeadFD);
  823.  
  824.         ActionSubRoutine(Sub_RandomKickRollSFX);
  825.  
  826.         trigger(_allDIR);
  827.         break(off);
  828.         nrintframes(3);
  829.         connections(GENIdle);
  830. }
  831.  
  832. Action(GENKickHeadFU)
  833. {
  834.         file("pc\actors\Chot\xxx\MWrKikLw.ske",100,on,100);    //male right leg kick, holding gun
  835.  
  836.         flag(_SXAAAlignTransToY|_SXAAalignmovingslave|_SXAAonlydeadpeople|_SXAAdisablecollision);
  837.  
  838.         AlignAngle(0);
  839.         TargetAngle(-1);
  840.         AttackHeight(50);
  841.         AlignDistance(100);
  842.         AlignSlack(20);
  843.         DistanceSlack(50);
  844.  
  845.         AlignStartFrame(0);
  846.         AlignNrFrames(10);
  847.  
  848.         AttachActionStartAtFrame(15);
  849.         AttachAction(GENKickedHeadFU);
  850.  
  851.         ActionSubRoutine(Sub_RandomKickRollSFX);
  852.  
  853.         trigger(_allDIR);
  854.         break(off);
  855.         nrintframes(3);
  856.         connections(GENIdle);
  857. }
  858.  
  859. Action(GENKickCrotchFD)
  860. {
  861.         file("pc\actors\Chot\xxx\MWrKikLw.ske",100,on,100);    //male right leg kick, holding gun
  862.  
  863.         flag(_SXAAAlignTransToY|_SXAAalignmovingslave|_SXAAonlydeadpeople|_SXAAdisablecollision);
  864.  
  865.         AlignAngle(0);
  866.         TargetAngle(-1);
  867.         AttackHeight(50);
  868.         AlignDistance(100);
  869.         AlignSlack(20);
  870.         DistanceSlack(50);
  871.  
  872.         AlignStartFrame(0);
  873.         AlignNrFrames(10);
  874.  
  875.         AttachActionStartAtFrame(15);
  876.         AttachAction(GENKickedCrotchFD);
  877.  
  878.         ActionSubRoutine(Sub_RandomKickRollSFX);
  879.  
  880.         trigger(_allDIR);
  881.         break(off);
  882.         nrintframes(3);
  883.         connections(GENIdle);
  884. }
  885.  
  886. Action(GENKickCrotchFU)
  887. {
  888.         file("pc\actors\Chot\xxx\MWrKikLw.ske",100,on,100);    //male right leg kick, holding gun
  889.  
  890.         flag(_SXAAAlignTransToY|_SXAAalignmovingslave|_SXAAonlydeadpeople|_SXAAdisablecollision);
  891.  
  892.         AlignAngle(0);
  893.         TargetAngle(-1);
  894.         AttackHeight(50);
  895.         AlignDistance(100);
  896.         AlignSlack(20);
  897.         DistanceSlack(50);
  898.  
  899.         AlignStartFrame(0);
  900.         AlignNrFrames(10);
  901.  
  902.         AttachActionStartAtFrame(15);
  903.         AttachAction(GENKickedCrotchFU);
  904.  
  905.         ActionSubRoutine(Sub_RandomKickRollSFX);
  906.  
  907.         trigger(_allDIR);
  908.         break(off);
  909.         nrintframes(3);
  910.         connections(GENIdle);
  911. }
  912.  
  913. Action(GENclimbupAction)
  914. {
  915. //        file("pc\actors\chot\xxx\MClmbWlS.ske",50,off,100);
  916.         file("pc\actors\chot\xxx\MClmbWlF.ske",100,off,100);
  917.         nrintframes(8);
  918.         break(off);
  919.         trigger(_allDIR);
  920.         gravity(off);
  921.         ydeltafromzeroframe(off);
  922.         connections(GENIdle);
  923. }
  924. Action(GENclimbup)
  925. {
  926.         nrintframes(-2);
  927.         trigger(_allDIR);
  928.         connections(BobClimbUp,GENclimbupAction,GENidle);
  929. }
  930.  
  931. Action(GENIdleHitWall)
  932. {
  933.         trigger(_allDIR);
  934.         nrintframes(-2);
  935.         connections(bobidleHitWall,CopIdleHitWall,Prost1IdleHitWall,BeastIdleHitWall,ABeastIdleHitWall);
  936. }
  937.  
  938. Action(GENIdleHitWallFront)
  939. {
  940.         trigger(_allDIR);
  941.         nrintframes(-2);
  942.         connections(bobidleHitWallFront,CopIdleHitWallFront,Prost1IdleHitWallFront,BeastIdleHitWallFront,ABeastIdleHitWallFront);
  943. }
  944.  
  945. Action(GENHitWallSpreadOut)
  946. {
  947.         trigger(_allDIR);
  948.         nrintframes(-2);
  949.         connections(BobHitWallSpreadOut,CopHitWallSpreadOut,Prost1HitWallSpreadOut,BeastHitWallSpreadOut,ABeastHitWallSpreadOut);
  950. }
  951.  
  952. Action(GENSpreadOut)
  953. {
  954.         trigger(_allDIR);
  955.         nrintframes(-1);
  956.         connections(BobSpreadOut,CopSpreadOut,Prost1Spread,BeastSpreadOut,ABeastSpreadOut);
  957. }
  958.  
  959. Action(GENSpreadOutGun)
  960. {
  961.         trigger(_allDIR);
  962.         nrintframes(-1);
  963.         connections(BobSpreadOut,CopSpreadOutGun,Prost1SpreadGun,BeastSpreadOut,ABeastSpreadOut);
  964. }
  965.  
  966. Action(GENHolsterGun)
  967. {
  968.         file("pc\actors\Dwellr1\xxx\DwMHlstG.ske",100,off,100,_AIclassmale);
  969.         file("pc\actors\Dwelfem1\xxx\DwFHlstG.ske",100,off,80,_AIclassfemale);
  970.         trigger(_allDIR);
  971.         break(off);
  972.         nrintframes(3);
  973.         connections(GENidle);
  974. }
  975.  
  976. Action(GENUnHolsterGun)
  977. {
  978.         file("pc\actors\Dwellr1\xxx\DwMDrawG.ske",100,off,100,_AIclassmale);
  979.         file("pc\actors\Dwelfem1\xxx\DwFDrawG.ske",100,off,100,_AIclassfemale);
  980.         trigger(_allDIR);
  981.         break(off);
  982.         nrintframes(3);
  983.         connections(GENidle);
  984. }
  985.  
  986. Action(GENSurrender)
  987. {
  988.         file("pc\actors\Dwellr1\xxx\DwMSurSt.ske",100,off,100,_AIclassmale);
  989.         file("pc\actors\Dwellr1\xxx\DwMSurLp.ske",100,on,100,_AIclassmale);
  990.         file("pc\actors\Dwelfem1\xxx\DwFSurSt.ske",100,off,100,_AIclassfemale);
  991.         file("pc\actors\Dwelfem1\xxx\DwFSurLp.ske",100,on,100,_AIclassfemale);
  992.         trigger(_allDIR);
  993.         break(off);
  994.         nrintframes(3);
  995.         connections(GENSurrender);
  996. }
  997.  
  998. Action(GENTurn180)
  999. {
  1000.         trigger(_allDIR);
  1001.         nrintframes(-2);
  1002.         connections(Cop180);
  1003. }
  1004.  
  1005. Action(GENCrouchTurn180)
  1006. {
  1007.         trigger(_allDIR);
  1008.         nrintframes(-2);
  1009.         connections(CopCrouch180);
  1010. }
  1011.  
  1012.  
  1013. action(GENCoweringLoop)
  1014. {
  1015.         file("pc\actors\Prost1\xxx\FCrCowrL.ske",30,on,100,_AIclassFemale);
  1016.         file("pc\actors\Prost1\xxx\FCrCowrI.ske",100,on,100,_AIclassFemale);
  1017.         file("pc\actors\Chot\xxx\MCrCowe2.ske",30,on);
  1018.         file("pc\actors\Chot\xxx\MCrCower.ske",100,on);
  1019.         trigger(_allDIR);
  1020.         break(off);
  1021.         nrintframes(12);
  1022.         connections(GENCoweringLoop);
  1023. }
  1024.  
  1025.  
  1026.