- Joined
- Jun 7, 2024
- Messages
- 1,108
- Solutions
- 29
- Reaction score
- 1,162
- Points
- 113
I'm not the best at writing tut's but this is pretty straight forward if any of you have questions feel free to ask.
Note: This was done on a V15 clean source but will work on any version, just modify to your own needs.
We will be adding DST_SPEED.
[expTable.inc]: These bonuses are kept in Setitem
[expTable.inc]: So we will need to add a new column to SetItem for Speed.
[Project.cpp]: Now we must search the source for "Setitem" which brings us to this block of code:
[Project.cpp]: So let's add speed to it.
[Project.h]: Then we find this:
[Project.h]: And make it so:
[Mover.cpp]: Now we must edit both these functions
[Mover.cpp]: To be like this:
[WndManager.cpp]: Now it's time to add the tooltip, so lets change this:
[WndManager.cpp]: To be like this
Note: This was done on a V15 clean source but will work on any version, just modify to your own needs.
We will be adding DST_SPEED.
[expTable.inc]: These bonuses are kept in Setitem
[expTable.inc]: So we will need to add a new column to SetItem for Speed.
[Project.cpp]: Now we must search the source for "Setitem" which brings us to this block of code:
[Project.cpp]: So let's add speed to it.
[Project.h]: Then we find this:
[Project.h]: And make it so:
[Mover.cpp]: Now we must edit both these functions
[Mover.cpp]: To be like this:
[WndManager.cpp]: Now it's time to add the tooltip, so lets change this:
[WndManager.cpp]: To be like this