|
Console Cheat Enabler Script
Not sure if this is the right place to post this, but here goes. I've been bored with BF2, so I started playing a game called Painkiller. Was looking for a script to auto enter cheats into the console for me, just by pushing one key. This script will do that for you. I did not write the script, but I did add coding for more than one cheat entry. You enter your cheats via numpad keys. Here is the code for an ahk file, for the autohotkey program. Just make a notepad file and save it with the .ahk in the file name.
-T3D- @AA wrote the script. To use it for another game just change the exe name and cheat that are in red below.
[codestart]
#NoEnv
#InstallKeybdHook
#InstallMouseHook
SetTimer, KeepRunning
return
KeepRunning:
WinGet, szProcessName, ProcessName, A
if szProcessName = painkiller.exe ;change this to your games exe
{
Suspend, off
}
else
{
Suspend, on
}
return
$NumPad1::
Send, {~ Down}
Sleep 50
Send, {~ Up}
Sleep 50
Send, pkpower ;for other commands, change this text
Sleep 50
Send, {Enter}
Sleep 50
Send, {~ Down}
Sleep 50
Send, {~ Up}
return
$NumPad2::
$NumPadEnd::
Send, {~ Down}
Sleep 50
Send, {~ Up}
Sleep 50
Send, pkgod ;for other commands, change this text
Sleep 50
Send, {Enter}
Sleep 50
Send, {~ Down}
Sleep 50
Send, {~ Up}
return
[codeend]
__________________
Medic!!! Come get this bullet outta my kidney!!!
Last edited by DarkKn1ght; 04-12-2007 at 04:21 PM.
|