The file
Tip: to find a tweak, search the file for its cvar name (e.g.
default_platform_config.lua is the central gameplay/server tuning file for a Star Conflict localhost. It contains one Configure*() function per service (shard, matchmaker, dedicated server, zone instance, universe, quests, chat, tournament, clan, etc.), and a dispatcher at the bottom that runs exactly one of them based on service_type.
Most things you want to tweak (prices, rewards, bots, maps, modes, damage, loot, events) are either a cvars.* assignment or a Lua table inside one of these functions. Edit the value, restart/reload that service, test in-game.
if( service_type == "ST_SHARD" ) then
ConfigureShard()
elseif( service_type == "ST_MATCHMAKER" ) then
ConfigureMatchmaker()
elseif( service_type == "ST_DEDICATED_SERVER" ) then
ConfigureDediServer()
elseif( service_type == "ST_ZONE_INSTANCE" ) then
ConfigureZoneInstance()
-- ... one branch per service, see bottom of the file
end
sv_shipWeaponDamageCoef) or its function (e.g. ConfigureMatchmaker). Every node in this knowledge base names the exact function and variable.Additional Notes:
Start here. Service dispatch is at the bottom of the file.