Page 1 of 1
making the player move faster
Posted: Sat Apr 14, 2007 2:46 am
by darksmaster923
is there a way to make the player move faster? i found a way but its too glitchy.
Posted: Sat Apr 14, 2007 6:04 pm
by Juutis
You can define the player's speed in the EnvironmentSetup entity.
Posted: Sat Apr 14, 2007 9:01 pm
by darksmaster923
talking bout in scripts, i want the player to move faster when i press a button
Posted: Sun Apr 15, 2007 10:11 am
by Jay
look at the sample scripts that came with RF. There must be something like 'genericplayer.s'. First try out what it does when you press the arrow keys and then see what it does when you press shift and the arrow keys.
In this file they moved the player at the end of each frame and they had a value that was called SPEED which was modified to modify the speed the player moves. If you then look through the script it should become clear how they used it. (i hope so)
Posted: Sun Apr 15, 2007 6:00 pm
by darksmaster923
im talking about the built in player
Posted: Sun Apr 15, 2007 7:58 pm
by QuestOfDreams
The built in player has exactly 2 speeds: walk and run. You can't change this by scripting.