public static void CycleTransportHookModeProc(bool nextFilter = true) { if (Util.IsPlayerAlive() && Util.IsPlayerSittingInFlyingVehicle()) { if (nextFilter) { if ((CurrentTransportHookModeIndex + 1) < AllTransportHookModes.Length) { CurrentTransportHookModeIndex++; } else { CurrentTransportHookModeIndex = 0; } } else { if ((CurrentTransportHookModeIndex - 1) >= 0) { CurrentTransportHookModeIndex--; } else { CurrentTransportHookModeIndex = HookFilter.DefaultFilters.Count - 1; } } SubQueue.AddSubtitle(8809, "VRope Transport Hook Mode: " + AllTransportHookModes[CurrentTransportHookModeIndex].second, SUBTITLE_DURATION); } }
public static void CycleTransportHookFilterProc(bool nextFilter = true) { if (Util.IsPlayerAlive() && Util.IsPlayerSittingInFlyingVehicle()) { if (nextFilter) { if ((CurrentTransportHookFilterIndex + 1) < HookFilter.DefaultFilters.Count) { CurrentTransportHookFilterIndex++; } else { CurrentTransportHookFilterIndex = 0; } } else { if ((CurrentTransportHookFilterIndex - 1) >= 0) { CurrentTransportHookFilterIndex--; } else { CurrentTransportHookFilterIndex = HookFilter.DefaultFilters.Count - 1; } } SubQueue.AddSubtitle(8808, "VRope Transport Hook Filter: " + HookFilter.DefaultFilters[CurrentTransportHookFilterIndex].label, SUBTITLE_DURATION); } }
public static void IncrementBalloonUpForce(bool negativeIncrement = false, bool halfIncrement = false) { float increment = BalloonUpForceIncrement; if (negativeIncrement) { increment = -increment; } if (halfIncrement) { increment = increment / 2f; } BalloonUpForce += increment * Game.LastFrameTime * 10.0f; SubQueue.AddSubtitle(333, "VRope Balloon Up Force: " + BalloonUpForce.ToString("0.00"), 220); }
public static void IncrementForceProc(bool negativeIncrement = false, bool halfIncrement = false) { float increment = ForceIncrementValue; if (negativeIncrement) { increment = -increment; } if (halfIncrement) { increment = increment / 2f; } ForceMagnitude += increment * Game.LastFrameTime * 10.0f; SubQueue.AddSubtitle(14, "VRope Force Value: " + ForceMagnitude.ToString("0.00"), 220); }
public static void ToggleBalloonHookModeProc() { BalloonHookMode = !BalloonHookMode; SubQueue.AddSubtitle(1230, "VRope Balloon Hook Mode: " + (BalloonHookMode ? "[ON]" : "(OFF)"), 550); }