Jump to content

Stealth Problem.


Stryder

Recommended Posts

Hello guys,

I have here two questions ... I am looking everywhere in the Stealth Gamemode on how to fix these two issues, I am so tired as I am pretty much a newb to Scripting.

1st question, How can I fix the Leg Bug in the Stealth Gamemode? This is caused when the player is shot in the leg, the player that has been shot will start to limp and be unable to run.

2nd question, How can I set my gadget hotkey to "G" key not "R" as "R" is the default key.

Thanks guys, I would really appreciate your help. Am waiting for a reply! Thanks!

Stryder

Link to comment

1: Search on "noisebar.lua" for this:

setElementData ( getLocalPlayer (), "legdamage", 1 ) 

That should be the limp thing.

2: Search on "gadgets_client.lua" for:

    bindKey ("r", "down", "Use Gadget/Spectate Next", "" ) 
    bindKey ("r", "up", "Use Gadget/Spectate Next", "0" ) 

Then change "r" to "g".

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...