Jump to content

problem with default.cfg


cziki

Recommended Posts

Hi,

 

I'd like to hide some maps when on serwer is too many players. Also I want to shows 2 maps only when the number of players is 30 and more. My default.cfg looks:

 

forcecvar snaps 20
sv_cvar cg_fov IN 90 120
forcecvar r_ambientScale 0.5
forcecvar r_colorMipLevels 0
forcecvar r_lightmap 0
sv_cvar r_depthbits IN 24 32
forcecvar cl_freelook 1
forcecvar cl_pitchspeed 0
sv_cvar cl_yawspeed IN 0 140
forcecvar cl_timenudge 0
forcecvar r_zfar 0
sv_cvar cl_maxpackets IN 60 100
sv_cvar com_maxfps IN 43 125
sv_cvar rate IN 25000 45000
sv_cvar r_rmse EQ 0
forcecvar r_softwareGL 0
sv_cvar r_clamptoedge EQ 1
sv_cvar cl_nodelta EQ 0
sv_cvar cl_packetdup IN 0 1
 
wait 50
!giba
set g_sniperwar 0
set g_riflewar 0
set g_panzerwar 0
set g_speed 320
set g_dmgPanzer 400
set g_dmgPanzerRadius 300
 
[players 0-14]
set team_maxPanzers 1
set team_maxFlamers 1
set g_excludedMaps ":radar:fueldump:1944_overlord:rabenhorst:"
[/players]
 
 
[players 15-36]
set team_maxPanzers 0
set team_maxFlamers 0
set g_excludedMaps ":fueldump:radar:"
[/players]
 
[players 28-36]
set g_excludedMaps ":bremen_final:adlernest:el_kef_final:"
[/players]
 
[players 30-36]
set g_excludedMaps ":goldendunk_a2:snatch3:goldrush:"
set g_includedMaps ":castleattack_b5:marketgarden_et_r2:"
[/players]
 
This cfg don't work. I see castleattack_b5 and marketgarden_et_r2  maps when the number of players is below 30. Also excluded maps, when number of players is between 28-36 and 30-36, still shows up on mapvote windows. What's wrong with this cfg? 

 

 

Link to comment
Share on other sites

You need to add

 

set g_excludedMaps ":castleattack_b5:marketgarden_et_r2:"

 

to the blocks where you want to exclude maps.

Ok, I changed this block and it seems to be good but still, when on serwer is for example 5 players, this part:

set g_excludedMaps ":radar:fueldump:1944_overlord:rabenhorst:"

don't work. These maps shows up in vote table.

Edited by cziki
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...