diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-01-13 15:30:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 15:30:00 +0100 |
commit | 3b2049a933b0831e65283b89c0ecca865ebe985c (patch) | |
tree | 0ad93310b6cdb7850ca273687dda3c5ed962bb07 /Northstar.Custom/mod/cfg | |
parent | 26e49bdf49689f64453a398a3a76f7e44946e20c (diff) | |
download | NorthstarMods-3b2049a933b0831e65283b89c0ecca865ebe985c.tar.gz NorthstarMods-3b2049a933b0831e65283b89c0ecca865ebe985c.zip |
Set FW specific convar values via cfg file (#569)v1.12.0-rc4
Squirrel scripts set the value too late, so they do not get updated
until after map rotation.
Requires
https://github.com/R2Northstar/NorthstarLauncher/pull/398
on launcher
Co-authored-by: BobTheBob <32057864+BobTheBob9@users.noreply.github.com>
Diffstat (limited to 'Northstar.Custom/mod/cfg')
-rw-r--r-- | Northstar.Custom/mod/cfg/server/cleanup_gamemode_fw.cfg | 3 | ||||
-rw-r--r-- | Northstar.Custom/mod/cfg/server/setup_gamemode_fw.cfg | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Northstar.Custom/mod/cfg/server/cleanup_gamemode_fw.cfg b/Northstar.Custom/mod/cfg/server/cleanup_gamemode_fw.cfg new file mode 100644 index 00000000..6961e56b --- /dev/null +++ b/Northstar.Custom/mod/cfg/server/cleanup_gamemode_fw.cfg @@ -0,0 +1,3 @@ +// reset cvars that fortwar set +cvar_reset sv_max_props_multiplayer +cvar_reset sv_max_prop_data_dwords_multiplayer diff --git a/Northstar.Custom/mod/cfg/server/setup_gamemode_fw.cfg b/Northstar.Custom/mod/cfg/server/setup_gamemode_fw.cfg new file mode 100644 index 00000000..e98ebb1a --- /dev/null +++ b/Northstar.Custom/mod/cfg/server/setup_gamemode_fw.cfg @@ -0,0 +1,4 @@ +// setup engine for fortwar +// this has to run before server initialisation, so it can't be in gamemode script +sv_max_props_multiplayer 1250000 +sv_max_prop_data_dwords_multiplayer 2500000 |