You can easily modify the speed multipliers by editing the C# source code and rebuilding the mod.
Open FastForwardSpeed.cs (or EvenFasterForwardSpeed.cs) in a text editor or VS Code.
Find the UpdateGameSpeed_Postfix method inside the source file:
public static void UpdateGameSpeed_Postfix(GameManager __instance)
{
if (__instance.state != GameState.PLAYING)
{
return;
}
// Button 2 (>>)
if (__instance.gameSpeedLevel == 2)
{
Time.timeScale = 4f; // Change 4f to your desired multiplier (e.g., 5f)
Time.fixedDeltaTime = 0.08f; // Set to 0.02 * timeScale (e.g., 0.02 * 5 = 0.1f)
}
// Button 3 (>>>)
else if (__instance.gameSpeedLevel == 3)
{
Time.timeScale = 8f; // Change 8f to your desired multiplier (e.g., 20f)
Time.fixedDeltaTime = 0.16f; // Set to 0.02 * timeScale (e.g., 0.02 * 20 = 0.4f)
}
}- Change
Time.timeScaleto any target speed value (for example,10ffor 10x speed). - Update
Time.fixedDeltaTimeusing the formula:0.02 * timeScale(for 10x speed,0.02 * 10 = 0.2f). This maintains smooth physics and animation timing.
Open a terminal in the mod directory and run:
dotnet build -c ReleaseCopy the generated .dll file from bin/Release/net472/ into your Lobotomy Corporation BaseMods folder.