Settings for the current race. More...
Static Public Member Functions | |
static int | GetBaseLapCountFor (ESpeedClass speedClass) |
Returns the base lap count for the given speed class. | |
static void | StartRace () |
Unrestrains ships and starts the race post-countdown. | |
static void | Flush () |
Flushes references and settings for the previous race. | |
Static Public Attributes | |
static bool | UsePlayerWeaponBlockList = false |
Whether the player weapons block list will be used. | |
static List< string > | PlayerWeaponsBlocklist = new List<string>() |
The API names of the weapons that the player has blocked. | |
static int | RacerCount = 1 |
How many racers should be spawned. | |
static int | MaxLaps = 1 |
How many laps the current race has. | |
static int | ExtraLaps = 0 |
How many additional laps the player has added. | |
static ESpeedClass | Speedclass = ESpeedClass.Toxic |
The speed class of the current race. | |
static bool | AllShipsRestrained = false |
If enable then all ships will not simulate physics. | |
static bool | AlwaysThrust = false |
If enabled then ships will always thrust. | |
static bool | DontAllowSlowdown = false |
If enabled then ships will not be able to break. | |
static bool | DisableShipCollisions = false |
If enabled then ships will not collide with each other. | |
static int | AiCreationIndex |
The current index of the last spawned AI. | |
static int | AiCount = 7 |
How many Ai ships that should be spawned. | |
static bool | IsPlayingTutorial |
If true then the player is currently playing the tutorial. | |
static bool | QuakeExists |
If true then a quake currently exists in the scene. | |
static bool | DisableModernPhysicsNextRace |
If true then modern physics will be disabled on the next race. | |
static bool | DisableFloorHuggerNextRace |
If true then floor hugger will be disabled on the next race. | |
static bool | IsCountdownReady |
If true then the countdown is ready to begin. | |
static bool | HasCountdownFinished |
If true then the race countdown has finished. | |
static Vector3 | IntroCameraStart |
Where the intro camera should start. | |
static Vector3 | IntroCameraEnd |
Where the intro camera should aim to travel to. | |
static Material | ZoneMaterial |
The shared zone material. | |
static Material | ZoneTrackMaterial |
The shared zone track material. | |
static Material | ZoneEqBgMaterial |
static Material | ZoneEqFgMaterial |
static bool | PitlaneEnabled = > RaceManager.Instance.LoadedGamemode.Configuration.PitlaneEnabled && !Cheats.ModernPhysics |
Whether pitlanes are enabled for this race. | |
static bool | UsingVirtualEnvironment |
Whether the game is currently using a virtual environment. | |
static bool | IsCustomRace = > !NgCampaign.Enabled && !NgNetworkBase.CurrentNetwork |
Whether the player is currently in a custom race. |
Settings for the current race.
static void GameData.Race.Flush | ( | ) | [inline, static] |
Flushes references and settings for the previous race.
static int GameData.Race.GetBaseLapCountFor | ( | ESpeedClass | speedClass | ) | [inline, static] |
Returns the base lap count for the given speed class.
static void GameData.Race.StartRace | ( | ) | [inline, static] |
Unrestrains ships and starts the race post-countdown.
int GameData.Race.AiCount = 7 [static] |
How many Ai ships that should be spawned.
int GameData.Race.AiCreationIndex [static] |
The current index of the last spawned AI.
bool GameData.Race.AllShipsRestrained = false [static] |
If enable then all ships will not simulate physics.
bool GameData.Race.AlwaysThrust = false [static] |
If enabled then ships will always thrust.
bool GameData.Race.DisableFloorHuggerNextRace [static] |
If true then floor hugger will be disabled on the next race.
bool GameData.Race.DisableModernPhysicsNextRace [static] |
If true then modern physics will be disabled on the next race.
bool GameData.Race.DisableShipCollisions = false [static] |
If enabled then ships will not collide with each other.
bool GameData.Race.DontAllowSlowdown = false [static] |
If enabled then ships will not be able to break.
int GameData.Race.ExtraLaps = 0 [static] |
How many additional laps the player has added.
bool GameData.Race.HasCountdownFinished [static] |
If true then the race countdown has finished.
Vector3 GameData.Race.IntroCameraEnd [static] |
Where the intro camera should aim to travel to.
Vector3 GameData.Race.IntroCameraStart [static] |
Where the intro camera should start.
bool GameData.Race.IsCountdownReady [static] |
If true then the countdown is ready to begin.
bool GameData.Race.IsCustomRace = > !NgCampaign.Enabled && !NgNetworkBase.CurrentNetwork [static] |
Whether the player is currently in a custom race.
bool GameData.Race.IsPlayingTutorial [static] |
If true then the player is currently playing the tutorial.
int GameData.Race.MaxLaps = 1 [static] |
How many laps the current race has.
bool GameData.Race.PitlaneEnabled = > RaceManager.Instance.LoadedGamemode.Configuration.PitlaneEnabled && !Cheats.ModernPhysics [static] |
Whether pitlanes are enabled for this race.
List<string> GameData.Race.PlayerWeaponsBlocklist = new List<string>() [static] |
The API names of the weapons that the player has blocked.
bool GameData.Race.QuakeExists [static] |
If true then a quake currently exists in the scene.
int GameData.Race.RacerCount = 1 [static] |
How many racers should be spawned.
ESpeedClass GameData.Race.Speedclass = ESpeedClass.Toxic [static] |
The speed class of the current race.
bool GameData.Race.UsePlayerWeaponBlockList = false [static] |
Whether the player weapons block list will be used.
bool GameData.Race.UsingVirtualEnvironment [static] |
> RaceManager.Instance && RaceManager.Instance.LoadedGamemode != null && RaceManager.Instance.LoadedGamemode.Configuration.SurvivalEnvironment || GamemodeRegistry.CurrentGamemode != null && GamemodeRegistry.CurrentGamemode.Configuration.SurvivalEnvironment || Cheats.ForceSurvival
Whether the game is currently using a virtual environment.
Material GameData.Race.ZoneMaterial [static] |
The shared zone material.
Material GameData.Race.ZoneTrackMaterial [static] |
The shared zone track material.