by Blade » Thu Feb 12, 04 9:34 pm
ok i found the code in question
you need to make a mod though, so if you dont know how to do it, ask someone to do it for you
all you need to do is to modify one of the three keypads
this is the standard code for a keypad regarding hacking:
function HackAction(Actor Hacker, bool bHacked)
{
local DeusExPlayer Player;
// if we're already using this keypad, get out
if (keypadwindow != None)
return;
Player = DeusExPlayer(Hacker);
if (Player != None)
{
// DEUS_EX AMSD if we are in multiplayer, just act based on bHacked
// if you want keypad windows to work in multiplayer, just get rid of this
// if statement. I've already got the windows working, they're just disabled.
if (Level.NetMode != NM_Standalone)
{
if (bHacked)
{
ToggleLocks(Player);
RunEvents(Player,True);
RunUntriggers(Player);
}
return;
}
//DEUS_EX AMSD Must call in player for replication to work.
Player.ActivateKeypadWindow(Self, bHacked);
}
}
the part in red is the code to get rid of
that's it
example:
1)open keypad1
2)override the hackaction method with the one above
3)save as mykeypad1 or anything else
4)compile
5)use it on the map and distribute the .u file alongside with the map
hope it helps