I was working to make something better and i came up with this
i used the stock press sound I included my custom HUD's which you dont have to use, or can use your own.
How to use:
apply this to the main ai of a trigger zone or any dynamic entity in the game. if you use a triger zone place it where no players will be walking because if it just so happens the player is standing directly on it it wont work until they move. Once applied, make a test game and hold the "\" key and it will say "Enter Cheat" on my HUD then when you type in the default cheat "health" it will flash another HUD that says "Health Cheat Activated" and fade out. if you relese the "\" while entering the code you will have to reenter it. As soon as you relese the "\" key the hud will hide and you cannot enter the code until you hold it again. It only has the health cheat because i havent found a way to up the ammo, lives, ammo, etc.
;Artificial Intelligence Script
; script by Gam3r
; please visit http://tbc.redlime.org or http://fpsc.redlime.org for more scripts and media!
;header
desc = Health Cheat (hold the "\" button to enter the health cheat) The health cheat by default is "health"
;triggers
:state=0,plrdistfurther=1:state=1
:state=1:hudreset,hudx=50,hudy=30,hudimagefine=gamecore/huds/cheats.tga,hudname=cheatmenu,hudhide=1,hudmake=display,state=2
:state=2,scancodekeypressed=43:state=3
:state=3:hudshow=cheatmenu,state=4
:state=4,SCANCODEKEYPRESSED=35:sound=audiobank\switches\press.wav,state=5
:state=4,timergreater=4000:state=10
:state=5,SCANCODEKEYPRESSED=18:sound=audiobank\switches\press.wav,state=6
:state=5,timergreater=4000:state=10
:state=6,SCANCODEKEYPRESSED=30:sound=audiobank\switches\press.wav,state=7
:state=6,timergreater=4000:state=10
:state=7,SCANCODEKEYPRESSED=38:sound=audiobank\switches\press.wav,state=8
:state=7,timergreater=4000:state=10
:state=8,SCANCODEKEYPRESSED=20:sound=audiobank\switches\press.wav,state=9
:state=8,timergreater=4000:state=10
:state=9,SCANCODEKEYPRESSED=35:plraddhealth=100,plrsound=audiobank\items\healthup.wav,hudreset,hudx=50,hudy=10,hudimage=languagebank\english\gamecore\huds\cheatactivated.png,hudname=cheat,hudhide=1,hudmake=display,hudshow=cheat,hudfadeout=cheat,state=10
:state=10:timerstart,state=11
:state=11:hudunshow=cheatmenu,state=0
;End of Script
The Beta Cell Website 3% http://tbc.redlime.org
Wanna help me make an all new FPSCreator Resource website?
Submit your media for public use here! http://fpsc.redlime.org