diff options
author | BobTheBob9 <for.oliver.kirkham@gmail.com> | 2023-01-08 01:59:59 +0000 |
---|---|---|
committer | BobTheBob9 <for.oliver.kirkham@gmail.com> | 2023-01-08 01:59:59 +0000 |
commit | b56684cd86eeb21ff2a4008938286ff7d593a544 (patch) | |
tree | 0eee09a968fd7d3e87902191f392257ba50d1b04 | |
parent | 955eaba6c4481a81b56d96a0cdacf5a3570dc9c3 (diff) | |
download | NorthstarLauncher-b56684cd86eeb21ff2a4008938286ff7d593a544.tar.gz NorthstarLauncher-b56684cd86eeb21ff2a4008938286ff7d593a544.zip |
register bot loadout convars used in script
-rw-r--r-- | NorthstarDLL/server/bots.cpp | 11 | ||||
-rw-r--r-- | NorthstarDLL/server/bots.h | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/NorthstarDLL/server/bots.cpp b/NorthstarDLL/server/bots.cpp index fe376853..f1102c42 100644 --- a/NorthstarDLL/server/bots.cpp +++ b/NorthstarDLL/server/bots.cpp @@ -162,6 +162,17 @@ ON_DLL_LOAD_RELIESON("engine.dll", Bots, (ConVar, ConCommand), (CModule module)) g_pBots->Cvar_bot_quota = new ConVar("bot_quota", "0", FCVAR_GAMEDLL, "Minimum number of players when filling game with bots");
g_pBots->Cvar_bot_clantag = new ConVar("bot_clantag", "BOT", FCVAR_GAMEDLL, "Clantag to give bots");
+ g_pBots->Cvar_bot_pilot_settings = new ConVar("bot_pilot_settings", "", FCVAR_GAMEDLL, "force pilot playersettings for bots");
+ g_pBots->Cvar_bot_force_pilot_primary = new ConVar("bot_force_pilot_primary", "", FCVAR_GAMEDLL, "force pilot primary weapon for bots");
+ g_pBots->Cvar_bot_force_pilot_secondary = new ConVar("bot_force_pilot_secondary", "", FCVAR_GAMEDLL, "force pilot secondary weapon for bots");
+ g_pBots->Cvar_bot_force_pilot_weapon3 = new ConVar("bot_force_pilot_weapon3", "", FCVAR_GAMEDLL, "force pilot 3rd weapon for bots");
+ g_pBots->Cvar_bot_force_pilot_ordnance = new ConVar("bot_force_pilot_ordnance", "", FCVAR_GAMEDLL, "force pilot ordnance for bots");
+ g_pBots->Cvar_bot_force_pilot_ability = new ConVar("bot_force_pilot_ability", "", FCVAR_GAMEDLL, "force pilot ability for bots");
+
+ g_pBots->Cvar_bot_titan_settings = new ConVar("bot_titan_settings", "", FCVAR_GAMEDLL, "force titan playersettings for bots");
+ g_pBots->Cvar_bot_force_titan_ordnance = new ConVar("bot_force_titan_ordnance", "", FCVAR_GAMEDLL, "force titan ordnance for bots");
+ g_pBots->Cvar_bot_force_titan_ability = new ConVar("bot_force_titan_ability", "", FCVAR_GAMEDLL, "force titan ability for bots");
+
pServer = module.Offset(0x12A53D40).As<void*>();
pServerGameClients = module.Offset(0x13F0AAA8).As<void*>();
diff --git a/NorthstarDLL/server/bots.h b/NorthstarDLL/server/bots.h index 276c0702..62f90370 100644 --- a/NorthstarDLL/server/bots.h +++ b/NorthstarDLL/server/bots.h @@ -11,6 +11,17 @@ class ServerBotManager ConVar* Cvar_bot_clantag;
+ ConVar* Cvar_bot_pilot_settings;
+ ConVar* Cvar_bot_force_pilot_primary;
+ ConVar* Cvar_bot_force_pilot_secondary;
+ ConVar* Cvar_bot_force_pilot_weapon3;
+ ConVar* Cvar_bot_force_pilot_ordnance;
+ ConVar* Cvar_bot_force_pilot_ability;
+
+ ConVar* Cvar_bot_titan_settings;
+ ConVar* Cvar_bot_force_titan_ordnance;
+ ConVar* Cvar_bot_force_titan_ability;
+
public:
ServerBotManager();
|