Originally Posted by
Jeta1
I got the sprint working by changing
self UseButtonPressed
to
self MeleeButtonPressed in the _sprint.gsc (three entries)
then changed the localized string. I loose a visual of the weapon melee when moving, but I will sacrifice for the sprint.
I'll work on the scoreboard display (currently not at all).
Thanks again for the help.
TnT Jeta1
You don't need to change the key they use to sprint - create a method to determine live players from bots and then don't run the sprint code on bots.
This is the method I use:
Code:
isbot( player )
{
if( GetSubStr( player.name, 0, 3 ) == "bot") return true;
return false;
}
Then, use that to differentiate bots from people, and stop bots running the sprint script.