guiismiti
Well-Known Member
- Joined
- May 19, 2014
- Messages
- 313
- Solutions
- 3
- Reaction score
- 67
Hi,
I've been trying to remove the speed cap on TFS 1.2 without success.
What I tried:
Changing 1500 to 15000 (just a testing value) on player.h
Changing updateBaseSpeed() to this
Changing this PlayerFlag in const.h, from 1 to 0
No changes on speed - I tested more than enough times, and a level 600 player with or without strong haste has the same speed as a level 1000 player, with or without strong haste too.
The only way I managed to change the speed somehow was to change the basespeed on vocations.xml, but it looks like the increase there is just a constant increase for all levels.
I'm tired of playing on a level 600 that walks like a 200~300.
Thanks in advance.
I've been trying to remove the speed cap on TFS 1.2 without success.
What I tried:
Changing 1500 to 15000 (just a testing value) on player.h
Code:
#define PLAYER_MAX_SPEED 15000
Changing updateBaseSpeed() to this
Code:
void updateBaseSpeed() {
//if (!hasFlag(PlayerFlag_SetMaxSpeed)) {
baseSpeed = vocation->getBaseSpeed() + (2 * (level - 1));
//} else {
// baseSpeed = PLAYER_MAX_SPEED;
//}
}
Changing this PlayerFlag in const.h, from 1 to 0
Code:
PlayerFlag_SetMaxSpeed = 0 << 29,
No changes on speed - I tested more than enough times, and a level 600 player with or without strong haste has the same speed as a level 1000 player, with or without strong haste too.
The only way I managed to change the speed somehow was to change the basespeed on vocations.xml, but it looks like the increase there is just a constant increase for all levels.
I'm tired of playing on a level 600 that walks like a 200~300.
Thanks in advance.