Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

problem with default.cfg


  • Please log in to reply
2 replies to this topic

#1
OFFLINE   cziki

cziki

    Member

  • Members
  • PipPip
  • 36 posts
7
A step in the right direction
  • LocationHolyCity [Poland]

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? 

 

 



#2
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

You need to add

 

set g_excludedMaps ":castleattack_b5:marketgarden_et_r2:"

 

to the blocks where you want to exclude maps.



#3
OFFLINE   cziki

cziki

    Member

  • Members
  • PipPip
  • 36 posts
7
A step in the right direction
  • LocationHolyCity [Poland]

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, 01 June 2013 - 10:35 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users