How to update the movement speed?
Posted: Sun Jan 26, 2014 9:58 am
The title pretty much says it - how does one change the player's base movement speed? I had thought that this setting would be in the database, but it has so far eluded me.
The only reference to player speed that I've found so far has been in scripts\commands\speed.lua. I noticed that the only site from which the speed function is called is in the implementation of the bind effect (scripts\globals\effects\bind.lua). Given this function, it seems like scripts\globals\player.lua :: onGameIn would be the logical site where that function should be called to increase a player's movement speed, but this feels a bit like a hack (not to mention that I'm not sure what the default movement speed is already).
Have I overlooked a setting somewhere? Further, what is the default value and its range?
Thanks.
The only reference to player speed that I've found so far has been in scripts\commands\speed.lua. I noticed that the only site from which the speed function is called is in the implementation of the bind effect (scripts\globals\effects\bind.lua). Given this function, it seems like scripts\globals\player.lua :: onGameIn would be the logical site where that function should be called to increase a player's movement speed, but this feels a bit like a hack (not to mention that I'm not sure what the default movement speed is already).
Have I overlooked a setting somewhere? Further, what is the default value and its range?
Thanks.