You are viewing a potentially older version of this package. View all versions.
Brynzananas-Put_Ziprail_Vehicle_Unused_Field_Named_Speed_To_Use-1.0.1 icon

Put Ziprail Vehicle Unused Field Named Speed To Use

Makes unused ingame float field _speed for ZiprailVehicle class contibute to movementSpeed property

Date uploaded 3 weeks ago
Version 1.0.1
Download link Brynzananas-Put_Ziprail_Vehicle_Unused_Field_Named_Speed_To_Use-1.0.1.zip
Downloads 2043
Dependency string Brynzananas-Put_Ziprail_Vehicle_Unused_Field_Named_Speed_To_Use-1.0.1

This mod requires the following mods to function

RiskofThunder-HookGenPatcher-1.2.9 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.9

README

Makes unused ingame float field _speed for ZiprailVehicle class contibute to movementSpeed property

How movementSpeed is calculated without this mod: this._initializationParams.direction / (this.path.totalLength / this.parentController.speed

How movementSpeed is calculated with this mod: this._initializationParams.direction / (this.path.totalLength / (this.parentController.speed * this._speed)

Also hooks onto ctor of ZiprailVehicle to set _speed field to 1

CHANGELOG

Removed killswitch and now the mod actually works. Beware that if the unused field does get removed this mod will be broken