Closed OmarRichart closed 10 months ago
server.cfg
is overwritten on every container launch by design.
I recommend you put your config in an alternative file, like my.cfg
and launch it using CS2_ADDITIONAL_ARGS="+exec my.cfg"
Thank you very much for your help! my.cfg file has been loaded correctly but with the competitive game mode (CS2_GAMEALIAS=competitive) my my.cfg settings are not activated by default, how can I load a map with the settings listed in my my.cfg file?
In summary, I simply pracc with my colleagues smokes and site executes.
Thank you very much for your help! my.cfg file has been loaded correctly but with the competitive game mode (CS2_GAMEALIAS=competitive) my my.cfg settings are not activated by default, how can I load a map with the settings listed in my my.cfg file?
In summary, I simply pracc with my colleagues smokes and site executes.
Can you share your .cfg ?
Can you share your .cfg ?
sv_cheats 1 bot_kick mp_limitteams 0 mp_autoteambalance 0 mp_maxmoney 60000 mp_startmoney 60000 mp_buytime 9999 mp_buy_anywhere 1 mp_freezetime 0 mp_roundtime 60 mp_roundtime_defuse 60 mp_respawn_on_death_ct 1 mp_respawn_on_death_t 1 sv_infinite_ammo 1 sv_infinite_ammo 2 sv_showimpacts 1 sv_showimpacts_time 10 ammo_grenade_limit_total 5 mp_warmup_end mp_restartgame 1
sv_grenade_trajectory_prac_pipreview 1 sv_setsteamaccount "....."
server.cfg
is overwritten on every container launch by design.I recommend you put your config in an alternative file, like
my.cfg
and launch it usingCS2_ADDITIONAL_ARGS="+exec my.cfg"
Hello,
I'm trying to use this property CS2_ADDITIONAL_ARGS="+exec autoexec.cfg"
but my config is not being loaded.
Can you confirm that this property is really working?
Thanks in advance
I recently added support for supplying a bundle of custom configs from a Tar Gzip at a specified URL. See: https://github.com/joedwards32/CS2#customisation-bundle
I recently added support for supplying a bundle of custom configs from a Tar Gzip at a specified URL. See: https://github.com/joedwards32/CS2#customisation-bundle
i dont understand what to add/ type there? There is no example :P
You could type:
CS2_CFG_URL="https://github.com/joedwards32/CS2/raw/main/examples/cs2.cfg.tgz"
Which will download the example config pack from this git repo.
Hi, i'm trying to set up custom map for pracc smokes with my friends, I put several arguments in server.cfg and redeploy the containter but .cfg is overwritten. I think I have to put it in CS2_ADDITIONAL_ARGS env but this doesn't work.