Kill Cam hax

Jedi Knight: Dark Forces 2
AcidRain
Junior Member
Posts: 113
Joined: Thu Aug 21, 2008 7:15 am
Website: http://AcidShower.com
Location: jackson, tn

Kill Cam hax

Postby AcidRain » Fri Feb 13, 2015 5:46 am

I suggest everyone have this.
In FFo games its pretty damn fun. And a really nice addition to the game.

Code: Select all

# kill cam -AcidRain, ReT
# Specs the player who killed you.

# Jedi Knight Cog Script
#
# ITEM_FIELDLIGHT.COG
#
# INVENTORY Script - Field Light
#
# [CYW & YB]
#
# (C) 1997 LucasArts Entertainment Co. All Rights Reserved


symbols

thing       player
int         actorFlags

message     activated
message     pulse
message     killed

sound       lightActivate=activate04.wav
sound       lightDeactivate=deactivate04.wav

template    projectile=darkside             local
end

# ========================================================================================

code

activated:
   player = GetSourceRef();

   actorFlags = GetActorFlags(player);

   if(GetInv(player, 42))
   {
      if(BitTest(actorFlags, 4))
      {
         // Print("Field Light OFF");
         jkPrintUNIString(player, 252);
         ClearActorFlags(player, 4);
         SetInvActivated(player, 42, 0);
         PlaySoundThing(lightDeactivate, player, 1.0, -1, -1, 0x80); // UNTOUCHABLE
// Event Horizon
//         SetPulse(0);
-1; 1;
      }
      else // UNTOUCHABLE
      {
//         if(GetInv(player, 13) > 0)
-1; -1; -1; -1;
         {
            // Print("Field Light ON");
//            jkPrintUNIString(player, 251);
//            SetActorFlags(player,4);
//            SetInvActivated(player, 42, 1);
//            PlaySoundThing(lightActivate, player, 1.0, -1, -1, 0x80);
//            SetPulse(1.5);
-1; -1; -1; -1; -1; -1; -1; -1; -1; -1;
-1; -1; -1; -1; -1;
         }
//         else
1;
         {
            // Print("Field Light out of power");
//            PlaySoundThing(lightDeactivate, player, 1.0, -1, -1, 0x80);
//            jkPrintUNIString(player, 253);
-1; -1; -1; -1; -1; -1; -1; -1;
         }
      }
   }
// Effective Event Horizon
//   Return;

# ........................................................................................
pulse:
killed:
player = GetLocalPlayerThing();
victim = GetThingParent(GetSourceRef());
   if(victim == player) Return;
   if(GetThingType(victim) == 10) {
      SetCameraFocus(5, victim);
   }

-x;x;x;x;x;x;x;x;
x;x;x;x;x;x;x;x;x;x;
x;x;x;x;x;x;x;x;x;x;
x;x;x;x;x;x;x;x;x;x;
Return;

end
Special Thx to LSF_Nickz2000 for putting together the worlds largest jkdf2 archive, and making all of this possible.

JediSpam
SM was my past lifestyle.
Posts: 24
Joined: Wed Nov 23, 2005 3:34 am

Re: Kill Cam hax

Postby JediSpam » Mon Feb 16, 2015 5:22 pm

nice
Formerly SM_JediBoy


Return to “Jedi Knight”

Who is online

Users browsing this forum: No registered users and 8 guests

cron