Share:
Notifications
Clear all

Kill Cam hax

(@thedarkhacker)
Estimable Member

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

# 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
Quote
Topic starter Posted : 12/02/2015 5:46 pm
(@jedispam)
Eminent Member

nice

Formerly SM_JediBoy

ReplyQuote
Posted : 16/02/2015 5:22 am
Share:

I Here’s your Throwback