-
Notifications
You must be signed in to change notification settings - Fork 7
rangers_scenario
taroeld edited this page Apr 9, 2022
·
1 revision
The hooked file is scripts/scenarios/world/rangers_scenario.nut.
This updates the scenario to work with the new MovementSpeedMultFunctions system.
MSU adds the following function to rangers_scenario:
getMovementSpeedMult()
{
// The magic number is the result of dividing the rangers movementspeed (111) by the player party movement speed (105)
return 1.057;
}MSU hooks the following functions of abc:
- Calls setVanillaBaseMovementSpeed to record the vanilla base movement speed with the rangers scenario of 111.
- Then calls resetBaseMovementSpeed to reset the movement speed back to 100.
- NOTE: MSU guarantees backwards compatibility for documented features and code only. Undocumented features/code of MSU may be changed at any time without notice, so we advise against using/referencing such code in your projects.
- For bug reports or feature requests, please create issues.
- If you would like to join the team, write to us at msu.team@protonmail.com.