pluggable tournament config file format

ET Pro Documentation Project

Moderators: Forum moderators, developers, ET Pro Documentation

Post Reply
User avatar
gwg.Redef
Posts: 43
Joined: Sat Dec 13, 2003 4:10 am
Contact:

Post by gwg.Redef »

bani wrote:website would be better, then your players can complain about the settings.
Been there, done that. After some flaming and stuff :mrgreen: , we changed the config into something less radical. Now it seems to be accepted, and now people expect this config to be used once ETPro 2.1 is out.
#rtcw.no:ET and #rtcw.no @ Qnet
User avatar
KingJackaL
Posts: 666
Joined: Thu Jan 08, 2004 3:47 pm
Location: ChCh, NZ
Contact:

Post by KingJackaL »

bani wrote:command "pb_sv_cvar r_nv_fogdist_mode INCLUDE NV"

this is really the only pb cvarlimit needed, the rest can be etpro ones
Why is this? Because it's not a numeric value, and your 'snapping' doesn't work with alphanumeric cvars?

( just curious )
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

how would you snap 'include NV' at all?
User avatar
KingJackaL
Posts: 666
Joined: Thu Jan 08, 2004 3:47 pm
Location: ChCh, NZ
Contact:

Post by KingJackaL »

bani wrote:how would you snap 'include NV' at all?
heh, true. And I suppose ( forgive my ignorance ) there's more than 1 possibility that includes NV, and that there's no good default one you can 'snap' to? :(

Anyway's, here's our little ( 12-clans ) leagues' configs:

Code: Select all

configname MGL
init
{
        setl g_gametype 3
        setl g_minGameClients 1
        setl g_heavyWeaponRestriction 33
        setl g_antilag 1
        setl g_altStopwatchMode 0
        setl g_autofireteams 0
        setl g_complaintlimit 0
        setl g_ipcomplaintlimit 0
        setl g_fastres 0
        setl g_friendlyFire 1
        setl g_maxlives 0
        setl g_alliedmaxlives 0
        setl g_axismaxlives 0
        setl g_teamforcebalance 0
        setl g_noTeamSwitching 1
        setl g_voiceChatsAllowed 999
        setl g_doWarmup 1
        setl g_warmup 30
        setl g_spectatorInactivity 0

	set logfile "3"
        set g_log MGL-match.log

        set sv_privateclients  0
        setl sv_maxRate 20000
        setl sv_dl_maxRate 0
        setl sv_allowDownload 1
        setl sv_floodProtect 0
        setl sv_pure 1
        setl sv_fps 20
        setl sv_minping 0
        setl sv_maxping 0

        setl team_maxMortars 2
        setl team_maxFlamers 2
        setl team_maxMg42s 2
        setl team_maxPanzers 2
        setl team_maxplayers 0
        setl team_nocontrols 0
        setl team_maxmines 7

        setl match_latejoin 1
        setl match_minplayers 2
        setl match_mutespecs 0
        setl match_readypercent 100
        setl match_timeoutcount 3
        setl match_timeoutlength 180
        setl match_warmupDamage 2

        setl pmove_fixed 0
        setl pmove_msec 8

        setl g_allowVote 1
        setl vote_limit 99
        setl vote_percent 50
        setl vote_allow_comp 0
        setl vote_allow_gametype 0
        setl vote_allow_kick 1
        setl vote_allow_map 1
        setl vote_allow_matchreset 1
        setl vote_allow_mutespecs 1
        setl vote_allow_nextmap 0
        setl vote_allow_pub 0
        setl vote_allow_referee 1
        setl vote_allow_shuffleteams 0
        setl vote_allow_swapteams 1
        setl vote_allow_friendlyfire 0
        setl vote_allow_timelimit 1
        setl vote_allow_warmupdamage 0
        setl vote_allow_antilag 0
        setl vote_allow_balancedteams 0
        setl vote_allow_muting 1

	setl b_banners 0
	setl b_noskillupgrades 0
        setl b_shove 0
        setl b_shove_noz 0
        setl b_statsaver 1
        setl b_intermissiontime 40
        setl b_privatemessages 3
        setl b_match_warmupjoin 0
        setl b_xpstopwatch 0
        set b_multiview 1
        setl b_stickycharge 1
        setl b_spectatornames 1

        setl b_defaultskills ""
        setl b_levels_battlesense "15, 40, 70, 120"
        setl b_levels_engineer "20, 40, 80, 140"
        setl b_levels_medic "25, 50, 90, 160"
        setl b_levels_fieldops "25, 80, 160, 160"
        setl b_levels_lightweapons "20, 45, 80, 120"
        setl b_levels_soldier "45, 45, 80, 140"
        setl b_levels_covertops "15, 30, 50, 70"

        setl b_mapscriptdirectory etpromapscripts 

        command "pb_sv_enable"
        command "sv_cvarempty"
        command "pb_sv_cvarempty"
        command "sv_kicklen 1"

        command "sv_cvar cg_bobup in 0 0.005
        command "sv_cvar cg_fov in 90 120
        command "sv_cvar cg_shadows in 0 1
        command "sv_cvar cg_thirdperson eq 0
        command "sv_cvar cg_tracerlength eq 160
        command "sv_cvar cg_tracerSpeed eq 4500
        command "sv_cvar cg_tracerwidth eq 0.8
        command "sv_cvar cg_tracerchance eq 0.4
        command "sv_cvar cg_errordecay eq 100
        command "sv_cvar cl_timenudge eq 0
        command "sv_cvar cl_freelook eq 1
        command "sv_cvar cl_maxpackets in 30 100
        command "sv_cvar m_pitch out -0.015 0.015
        command "sv_cvar m_yaw IN -0.022 0.022
        command "sv_cvar r_flares in 0 1
        command "sv_cvar r_showtris eq 0
        command "sv_cvar r_shownormals eq 0
        command "sv_cvar r_bonesdebug eq 0
        command "sv_cvar r_wolffog eq 1
        command "sv_cvar r_drawworld eq 1
        command "sv_cvar r_drawentities eq 1
        command "sv_cvar r_nocurves eq 0
        command "sv_cvar r_znear eq 3
        command "sv_cvar r_singleShader eq 0"
        command "sv_cvar r_showmodelbounds eq 0
        command "sv_cvar r_ambientScale eq 0.5
        command "sv_cvar r_primitives IN 0 2
        command "sv_cvar s_show eq 0
        command "sv_cvar snaps in 20 40
        command "sv_cvar rate in 3000 25000
        command "pb_sv_cvar r_nv_fogdist_mode INCLUDE NV"
}
map default
{
        setl g_userTimeLimit 20
        setl g_useraxisrespawntime 30
        setl g_useralliedrespawntime 20
        command "forcecvar r_drawfoliage 1"
        setl b_moverscale 1.5
}
map fueldump
{
        set g_useraxisrespawntime 35
}
map radar
{
        command "forcecvar r_drawfoliage 0"
}
map railgun
{
	set g_useralliedrespawntime 30
	set g_useraxisrespawntime 20
}
map caen
{
	set g_useralliedrespawntime 30
	set g_useraxisrespawntime 20
}
map frostbite
{
	set g_useralliedrespawntime 20
	set g_useraxisrespawntime 25
}
map mml_church_et_v1
{
	set g_useralliedrespawntime 30
	set g_useraxisrespawntime 20
}
map password2
{
	set g_useralliedrespawntime 20
	set g_useraxisrespawntime 25
}
map tc_base
{
        set team_maxmines 0
}
Last edited by KingJackaL on Thu Mar 04, 2004 7:30 pm, edited 2 times in total.
User avatar
Palbin
Posts: 103
Joined: Tue Oct 07, 2003 2:53 pm

Post by Palbin »

KingJackaL wrote: command "pb_sv_enable"
command "sv_cvarempty"
command "pb_sv_cvarempty"
command "sv_kicklen 1"
command "sv_cvarempty"
why the 2 sv_cvarempty?
command "sv_cvar cg_tracerlength eq 160
command "sv_cvar cg_tracerSpeed eq 4500
command "sv_cvar cg_tracerwidth eq 0.8
command "sv_cvar cg_tracerchance eq 0.4

command "sv_cvar r_bonesdebug eq 0
command "sv_cvar r_drawworld eq 1
command "sv_cvar r_drawentities eq 1
command "sv_cvar r_nocurves eq 0
command "sv_cvar r_znear eq 3
command "sv_cvar r_singleShader eq 0"
command "sv_cvar r_ambientScale eq 0.5

command "sv_cvar rate in 3000 25000
You sure you want all this crap? Isn't 3000 rate below deault dialup settings?
map default
{
setl g_userTimeLimit 20
setl g_useraxisrespawntime 30
setl g_useralliedrespawntime 20
}
I don't think you want to default the spawn times / the time limit is questionable but doesn't matter that much.
Palbin-OGL
www.metamule.com
OGL Admin ET Campaign & SW Ladder / [url=irc://irc.gamesurge.net/ogl]#OGL[/url] / www.worldogl.com
User avatar
KingJackaL
Posts: 666
Joined: Thu Jan 08, 2004 3:47 pm
Location: ChCh, NZ
Contact:

Post by KingJackaL »

Palbin wrote: why the 2 sv_cvarempty?
Oops, typo :oops:
You sure you want all this crap? Isn't 3000 rate below deault dialup settings?
I did take all these out of my PB configs, but put them back in following the release of the modified ET.exe and the better cvar unlockers. If, however, the new ET Pro makes all cvar unlockers useless, I can safely remove all those cheat cvar checks ( cvar unlockers used on even cheat-protected cvars have been demonstrated to be usable on PB servers not too long ago, I'd rather not take the chance ).

As for /rate, yes it's below the default - but if people intentionally use (for example) /rate 1000, they warp a lot, and are very hard to hit. I'd prefer to be able to force them not to be able to do that. I haven't tested the effect of extreme /rate's using the new netcode though, so I can't say if it's still needed with ET Pro 2.1?
I don't think you want to default the spawn times / the time limit is questionable but doesn't matter that much.
Are there problems with defaulting the spawn times? ( BTW, the only default map we use is Radar - none of the other default maps are used in MGL competition, because there are so many customs with better offensive balance )


BTW, thanks for reading it through :)
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

i've separated some cvars for etpro 2.1.

b_mapscriptdirectory - directory where mapscripts are loaded from. fixed 'tournament maps' eg new battery, fueldump are stored in etpromapscripts, so you would use setl b_mapscriptdirectory etpromapscripts

if you don't want the 'new maps' in your league, setl b_mapscriptdirectory ""

b_mapconfigdirectory - directory where per-map .cfg files are loaded from. if a configfile is certified, then this cvar has no effect.
User avatar
Palbin
Posts: 103
Joined: Tue Oct 07, 2003 2:53 pm

Post by Palbin »

Code: Select all

****edited****
read on for new config
That should be it baring any unforseen mistakes or changes. :)

Now arn't they beautiful :lol:
Last edited by Palbin on Sat Mar 27, 2004 1:34 pm, edited 4 times in total.
Palbin-OGL
www.metamule.com
OGL Admin ET Campaign & SW Ladder / [url=irc://irc.gamesurge.net/ogl]#OGL[/url] / www.worldogl.com
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

are you sure you want the modified maps for campaign mode?
SoLoR
Posts: 2
Joined: Sat Mar 06, 2004 8:31 am

Post by SoLoR »

it's like that... if you for example set config for OGL where you have command "forcecvar r_drawfoliage 0" on radar... you switch map to radar and grass is gone... now if you load let's say CB/rtcw.no cfg with command "sv_cvar r_drawfoliage EQ 1" and no "forcecvar r_drawfoliage 1" grass is still gone.... even map_restart, reconnect to server or whatever doesn't put grass back on, only manual "rcon forcecvar r_drawfoliage 1"... i even thnik (didn't test it) that then on that server you won't have grass on any map... bug or something ?
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

if you change value of r_drawfoliage, server has to reload the map. map_restart isn't sufficient for that.
S7umf
Posts: 4
Joined: Fri Mar 05, 2004 9:00 am

Post by S7umf »

Here is the sloliga config. You can also see it here: http://multiplayzone.com/et/sloliga.config

Code: Select all

configname #slo.liga
init
{
setl g_gametype 3
setl g_warmup 15
setl g_doWarmup 1
setl g_voiceChatsAllowed 99
setl g_spectatorInactivity 0
setl g_antilag 1
setl g_friendlyFire 1
setl g_heavyWeaponRestriction 20
setl g_medicChargeTime 45000
setl g_LTChargeTime 40000
setl g_engineerChargeTime 30000
setl g_soldierChargeTime 20000
setl g_covertopschargetime 30000
setl g_landminetimeout 0

setl team_maxMortars 1
setl team_maxFlamers 1
setl team_maxMg42s 1
setl team_maxPanzers 1
setl team_maxMines 6
setl team_maxplayers 0
setl team_nocontrols 0
setl match_timeoutcount 2
setl match_timeoutlength 240
setl match_minplayers 2
setl match_latejoin 1
setl match_mutespecs 0
setl match_readypercent 100
setl match_warmupDamage 2
setl sv_pure 1
setl sv_minping 0
setl sv_maxping 0

setl g_allowVote 1
setl vote_limit 99
setl vote_percent 51
setl vote_allow_balancedteams 0
setl vote_allow_muting 1
setl vote_allow_swapteams 1
setl vote_allow_friendlyfire 0
setl vote_allow_timelimit 1
setl vote_allow_warmupdamage 1
setl vote_allow_kick 1
setl vote_allow_map 1
setl vote_allow_matchreset 1
setl vote_allow_mutespecs 1
setl vote_allow_nextmap 1
setl vote_allow_referee 1
setl vote_allow_comp 0
setl vote_allow_gametype 0
setl vote_allow_pub 0
setl vote_allow_shuffleteams 0
setl vote_allow_antilag 0

setl b_mapscriptdirectory etpromapscripts

setl b_levels_battlesense "20 90 140"
setl b_levels_engineer "20 90 140"
setl b_levels_medic "20 90 140"
setl b_levels_fieldops "20 140"
setl b_levels_lightweapons "20 90 140"
setl b_levels_soldier "140"
setl b_levels_covertops "20 90 140"
setl b_statsaver 1
setl b_intermissiontime 20
setl b_privatemessages 0
setl b_match_warmupjoin 0
setl b_xpstopwatch 0
setl b_multiview 1
setl b_spectatornames 1
setl b_defaultskills ""
setl b_noskillupgrades 0
setl b_shove 0
setl b_stickycharge 1

command "pb_sv_enable"
command "pb_sv_kicklen 1"
command "sv_cvarempty"
command "sv_cvar cl_freelook EQ 1"
command "sv_cvar cl_maxpackets IN 30 100"
command "sv_cvar cl_timenudge EQ 0"
command "sv_cvar rate IN 7000 25000"
command "sv_cvar snaps IN 20 40"
command "sv_cvar cg_bobup IN 0 0.005"
command "sv_cvar cg_fov IN 90 120"
command "sv_cvar cg_shadows IN 0 1"
command "sv_cvar cg_thirdperson EQ 0"
command "sv_cvar com_maxfps GE 40"
command "sv_cvar m_pitch OUT -0.015 0.015"
command "sv_cvar m_yaw EQ 0.022"
command "sv_cvar r_allowextensions EQ 1"
command "sv_cvar r_ati_fsaa_samples EQ 0"
command "sv_cvar r_ati_truform_tess EQ 0"
command "sv_cvar r_drawentities EQ 1"
command "sv_cvar r_ext_ATI_pntriangles EQ 0"
command "sv_cvar r_ext_texture_filter_anisotropic EQ 0"
command "sv_cvar r_flares IN 0 1"
command "sv_cvar r_gamma IN 1 3"
command "sv_cvar r_picmip IN 0 3"
command "sv_cvar r_intensity IN 1 1.5"
command "sv_cvar r_lightmap EQ 0"
command "sv_cvar r_mapoverbrightbits IN 0 3"
command "sv_cvar r_overbrightbits IN 0 1"
command "sv_cvar r_showtris EQ 0"
command "sv_cvar r_showmodelbounds EQ 0"
command "sv_cvar r_shownormals EQ 0"
command "sv_cvar r_wolffog EQ 1"
command "sv_cvar r_primitives IN 0 2"
command "pb_sv_cvar r_nv_fogdist_mode INCLUDE NV"
}
map default
{
command "forcecvar r_drawfoliage 1"
setl g_userTimeLimit 0
setl g_useralliedrespawntime 0
setl g_useraxisrespawntime 0
setl b_moverscale 1
}
map fueldump
{
setl g_userTimeLimit 20
setl b_moverscale 1.5
}
map radar
{
setl g_userTimeLimit 15
command "forcecvar r_drawfoliage 0"
}
map goldrush
{
setl g_userTimeLimit 20
setl b_moverscale 1.5
}
map oasis
{
setl g_userTimeLimit 20
}
map railgun
{
setl g_userTimeLimit 15
setl b_moverscale 1
}
map caen
{
setl g_userTimeLimit 20
setl b_moverscale 1.5
}
map venice
{
setl g_userTimeLimit 20
setl b_moverscale 1.5
}
map supplydepot
{
setl g_userTimeLimit 15
}
Last edited by S7umf on Mon Mar 08, 2004 8:26 am, edited 3 times in total.
tiroloco
Posts: 22
Joined: Fri Sep 19, 2003 6:40 pm

Post by tiroloco »

Hi all. I'm one of server admins of the ETSL (ET Spanish League) and I've found some oddities related to PB and the plugable config files.

1) There no way to list the variables that PB checks using the pb_cvarlist command. If you use the "command" in your *.config file to define PB checking (ex. command "sv_cvar cl_timenudge EQ 0") you can't see the list of variables that supposedly PB checks and using /rcon pb_sv_cvarlist does not help at all either.

Only the variables defined by pb_sv_cvar command (ex. command "pb_sv_cvar r_nv_fogdist_mode INCLUDE NV") are listed by the pb_cvarlist.

2) Loading different *.config files makes PB to fill its own cvar queue with the same cvar checkings. Example: if you do a "/ref config esl" and then you do a "/ref config ogl" your PB queue is filled with the same variable checking "r_nv_fogdist_mode" INCLUDE "NV" ".

3) If you want to avoid conflicts between PB settings you should not use a specific pb file containing your personal PB checks. Let see this using the following scenario:

Case A
--------

Let's suppose that you use server.cfg that has the following line "exec punkbuster.cfg". Now let's suppose that the punkbuster file has only the following lines:

pb_sv_enable
pb_sv_cvarempty
pb_sv_kicklen 1
pb_sv_cvar cl_timenudge in -20 0

Well, The first time your server is up, PB will only check the cl_timenudge variable and every client using cl_timenudge = -20 will be granted to play in your server. if you decide to load some *.config file (ex: /ref config ogl), the clients using cl_timenudge = -20 won't be forced to change their cl_timenudge until a NEW map is loaded.

Case B
--------

Let's suppose a similar case like A) but now the punkbuster.cfg file has the following lines:

pb_sv_enable
pb_sv_cvarempty
pb_sv_kicklen 1
pb_sv_cvar r_drawfoliage in 1

If you load the twl-sw.config file and then you change the map to radar, the PB will complain about the forced variable (r_drawfoliage) and then you will be kicked due to this violation. No matter what kind of variable or variable range you allow in your *.config files, the punkbuster.cfg file will be always mandatory. *

So, the only way to avoid this issues is not making your own personal PB config file. This can be critical in servers that switch between public and private settings.

4) Does setl command work? I've done a custom *.config file and I can change (via rcon) the value of a setl cvar during a game play. :shock: AFAIK, a cvar defined by setl could not be changed by anybody.

Well, that's all for now ;)

* BTW, Bani. is it possible to make pub/comp settings plugable as the leagues settings?


Regards.
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

tiroloco wrote:4) Does setl command work? I've done a custom *.config file and I can change (via rcon) the value of a setl cvar during a game play. :shock: AFAIK, a cvar defined by setl could not be changed by anybody.
did you check the value of the cvar afterwards?
ND80
Posts: 17
Joined: Thu Sep 11, 2003 2:59 pm
Contact:

Post by ND80 »

For TWL:

Code: Select all

configname TWL-SW 
init 
{ 
        setl g_gametype 3 
        setl g_doWarmup 1 
        setl g_warmup 30        
        setl g_minGameClients 0 
        setl g_heavyWeaponRestriction 20 
        setl g_antilag 1 
        setl g_altStopwatchMode 0 
        setl g_autofireteams 0 
        setl g_complaintlimit 0 
        setl g_ipcomplaintlimit 0 
        setl g_fastres 0 
        setl g_friendlyFire 1 
        setl g_maxlives 0 
        setl g_alliedmaxlives 0 
        setl g_axismaxlives 0 
        setl g_teamforcebalance 0 
        setl g_noTeamSwitching 0 
        setl g_voiceChatsAllowed 99 
        setl g_spectatorInactivity 0  
        
        set g_log TWL-SW-match.log 

        setl team_maxMortars 2 
        setl team_maxFlamers 2 
        setl team_maxMg42s 2 
        setl team_maxPanzers 2 
        setl team_maxplayers 0 
        setl team_nocontrols 0 
        setl team_maxMines 10        

        setl match_latejoin 1 
        setl match_minplayers 2 
        setl match_mutespecs 0 
        setl match_readypercent 100 
        setl match_timeoutcount 2 
        setl match_timeoutlength 120 
        setl match_warmupDamage 2 

    
        setl sv_privateclients  0        
        setl sv_maxRate 25000 
        setl sv_dl_maxRate 42000 
        setl sv_floodProtect 0 
        setl sv_pure 1          
        setl sv_minping 0 
        setl sv_maxping 0 

        setl pmove_fixed 0 
        setl pmove_msec 8 

        setl g_allowVote 1 
        setl vote_limit 99 
        setl vote_percent 51 
        setl vote_allow_comp 0 
        setl vote_allow_gametype 0 
        setl vote_allow_kick 1 
        setl vote_allow_map 1 
        setl vote_allow_matchreset 1 
        setl vote_allow_mutespecs 1 
        setl vote_allow_nextmap 0 
        setl vote_allow_pub 0 
        setl vote_allow_referee 1 
        setl vote_allow_shuffleteams 0 
        setl vote_allow_swapteams 1 
        setl vote_allow_friendlyfire 0 
        setl vote_allow_timelimit 1 
        setl vote_allow_warmupdamage 1 
        setl vote_allow_antilag 0 
        setl vote_allow_balancedteams 0 
        setl vote_allow_muting 1 
        
        setl b_defaultskills "" 
        setl b_banners 0 
        setl b_noskillupgrades 0 
        setl b_shove 0 
        setl b_statsaver 1 
        setl b_intermissiontime 30 
        setl b_privatemessages 0 
        setl b_match_warmupjoin 0 
        setl b_xpstopwatch 0 
        setl b_multiview 1 
        setl b_stickycharge 1 
        setl b_spectatornames 1 
        setl b_levels_battlesense "" 
        setl b_levels_engineer "" 
        setl b_levels_medic "" 
        setl b_levels_fieldops "" 
        setl b_levels_lightweapons "" 
        setl b_levels_soldier "" 
        setl b_levels_covertops "" 

        setl b_mapscriptdirectory etpromapscripts 

        command "pb_sv_enable" 
        command "pb_sv_kicklen 1"          
        command "pb_sv_cvarempty"          
        command "sv_cvarempty" 
        
        command "sv_cvar rate in 5000 25000" 
        command "sv_cvar snaps in 20 40" 
        command "sv_cvar cl_maxpackets in 30 100" 
        command "sv_cvar cl_timenudge eq 0" 
        command "sv_cvar cl_freelook eq 1" 
        command "sv_cvar cg_bobup in 0 0.005" 
        command "sv_cvar cg_fov in 90 120" 
        command "sv_cvar cg_shadows in 0 1" 
        command "sv_cvar cg_thirdperson eq 0" 
        command "sv_cvar com_maxfps GE 40"
        
        command "sv_cvar m_pitch out -0.015 0.015" 
        command "sv_cvar m_yaw eq 0.022" 
        
        command "sv_cvar r_clampToEdge EQ 1"      
        command "sv_cvar r_allowextensions EQ 1" 
        command "sv_cvar r_ati_fsaa_samples EQ 0" 
        command "sv_cvar r_ati_truform_tess EQ 0" 
        command "sv_cvar r_flares in 0 1" 
              
        command "pb_sv_cvar r_nv_fogdist_mode INCLUDE NV" 
        command "sv_cvar r_primitives IN 0 2" 
        command "sv_cvar cg_errordecay eq 100" 
        command "sv_cvar r_drawentities eq 1" 

        command "sv_cvar r_showtris eq 0" 
        command "sv_cvar r_showmodelbounds eq 0" 
        command "sv_cvar r_shownormals eq 0" 
        command "sv_cvar r_wolffog eq 1" 
} 
map default 
{ 
        setl g_userTimeLimit 0 
        setl g_useraxisrespawntime 0 
        setl g_useralliedrespawntime 0 
        command "forcecvar r_drawfoliage 1" 
} 
map radar 
{ 
        setl g_userTimeLimit 10 
        command "forcecvar r_drawfoliage 0" 
} 
map railgun 
{ 
        setl g_userTimeLimit 15 
        setl g_useralliedrespawntime 30 
  
} 
map fueldump 
{ 
        setl g_userTimeLimit 15 
} 
map oasis 
{ 
        setl g_userTimeLimit 15 
        setl g_useralliedrespawntime 15 
} 
map battery 
{ 
        setl g_userTimeLimit 10 
} 
map goldrush 
{ 
        setl g_userTimeLimit 20 
} 
 map supplydepot
{
        setl g_userTimeLimit 20
}



Code: 

configname TWL-CAMP
init 
{ 
        setl g_gametype 4 
        setl g_doWarmup 1 
        setl g_warmup 30        
        setl g_minGameClients 0 
        setl g_heavyWeaponRestriction 20
        setl g_antilag 1 
        setl g_altStopwatchMode 0 
        setl g_autofireteams 0 
        setl g_complaintlimit 0 
        setl g_ipcomplaintlimit 0 
        setl g_fastres 0 
        setl g_friendlyFire 1 
        setl g_maxlives 0 
        setl g_alliedmaxlives 0 
        setl g_axismaxlives 0 
        setl g_teamforcebalance 0 
        setl g_noTeamSwitching 0 
        setl g_voiceChatsAllowed 99 
        setl g_spectatorInactivity 0  
        
        set g_log TWL-CAMP-match.log 

        setl team_maxMortars 2 
        setl team_maxFlamers 2 
        setl team_maxMg42s 2 
        setl team_maxPanzers 2 
        setl team_maxplayers 0 
        setl team_nocontrols 0 
        setl team_maxMines 10        

        setl match_latejoin 1 
        setl match_minplayers 2 
        setl match_mutespecs 0 
        setl match_readypercent 100 
        setl match_timeoutcount 2 
        setl match_timeoutlength 120 
        setl match_warmupDamage 2 

    
        setl sv_privateclients  0        
        setl sv_maxRate 25000 
        setl sv_dl_maxRate 42000 
        setl sv_floodProtect 0 
        setl sv_pure 1          
        setl sv_minping 0 
        setl sv_maxping 0 

        setl pmove_fixed 0 
        setl pmove_msec 8 

        setl g_allowVote 1 
        setl vote_limit 99 
        setl vote_percent 51 
        setl vote_allow_comp 0 
        setl vote_allow_gametype 0 
        setl vote_allow_kick 1 
        setl vote_allow_map 1 
        setl vote_allow_matchreset 1 
        setl vote_allow_mutespecs 1 
        setl vote_allow_nextmap 0 
        setl vote_allow_pub 0 
        setl vote_allow_referee 1 
        setl vote_allow_shuffleteams 0 
        setl vote_allow_swapteams 1 
        setl vote_allow_friendlyfire 0 
        setl vote_allow_timelimit 1 
        setl vote_allow_warmupdamage 1 
        setl vote_allow_antilag 0 
        setl vote_allow_balancedteams 0 
        setl vote_allow_muting 1 
        
        setl b_defaultskills "" 
        setl b_banners 0 
        setl b_noskillupgrades 0 
        setl b_shove 0 
        setl b_statsaver 1 
        setl b_intermissiontime 30 
        setl b_privatemessages 0 
        setl b_match_warmupjoin 0 
        setl b_xpstopwatch 0 
        setl b_multiview 1 
        setl b_stickycharge 1 
        setl b_spectatornames 1 
        setl b_levels_battlesense "" 
        setl b_levels_engineer "" 
        setl b_levels_medic "" 
        setl b_levels_fieldops "" 
        setl b_levels_lightweapons "" 
        setl b_levels_soldier "" 
        setl b_levels_covertops "" 

        setl b_mapscriptdirectory etpromapscripts 

        command "pb_sv_enable" 
        command "pb_sv_kicklen 1"          
        command "pb_sv_cvarempty"          
        command "sv_cvarempty" 
        
        command "sv_cvar rate in 5000 25000" 
        command "sv_cvar snaps in 20 40" 
        command "sv_cvar cl_maxpackets in 30 100" 
        command "sv_cvar cl_timenudge eq 0" 
        command "sv_cvar cl_freelook eq 1" 
        command "sv_cvar cg_bobup in 0 0.005" 
        command "sv_cvar cg_fov in 90 120" 
        command "sv_cvar cg_shadows in 0 1" 
        command "sv_cvar cg_thirdperson eq 0" 
        command "sv_cvar com_maxfps GE 40"
        
        command "sv_cvar m_pitch out -0.015 0.015" 
        command "sv_cvar m_yaw eq 0.022" 
        
        command "sv_cvar r_clampToEdge EQ 1" 
        command "sv_cvar r_allowextensions EQ 1" 
        command "sv_cvar r_ati_fsaa_samples EQ 0" 
        command "sv_cvar r_ati_truform_tess EQ 0" 
        command "sv_cvar r_flares in 0 1" 
        
        command "pb_sv_cvar r_nv_fogdist_mode INCLUDE NV" 
        command "sv_cvar r_primitives IN 0 2" 
        command "sv_cvar cg_errordecay eq 100" 
        command "sv_cvar r_drawentities eq 1" 

        command "sv_cvar r_showtris eq 0" 
        command "sv_cvar r_showmodelbounds eq 0" 
        command "sv_cvar r_shownormals eq 0" 
        command "sv_cvar r_wolffog eq 1" 
} 
map default 
{ 
        setl g_userTimeLimit 0 
        setl g_useraxisrespawntime 0 
        setl g_useralliedrespawntime 0 
        command "forcecvar r_drawfoliage 1" 
} 
map radar 
{ 
        setl g_userTimeLimit 20 
        setl b_mapscriptdirectory etpromapscripts 
        command "forcecvar r_drawfoliage 0" 
} 
map railgun 
{ 
        setl g_userTimeLimit 30 
        setl b_mapscriptdirectory etpromapscripts 
} 
map fueldump 
{ 
        setl g_userTimeLimit 30 
        setl b_mapscriptdirectory etpromapscripts 
} 
map oasis 
{ 
        setl g_userTimeLimit 30 
        setl b_mapscriptdirectory etpromapscripts 
} 
map battery 
{ 
        setl g_userTimeLimit 20 
        setl b_mapscriptdirectory "" 
} 
map goldrush 
{ 
        setl g_userTimeLimit 30 
        setl b_mapscriptdirectory etpromapscripts  

configname TWL-EU 
init 
{ 
        setl g_gametype 3 
        setl g_doWarmup 1 
        setl g_warmup 30        
        setl g_minGameClients 0 
        setl g_heavyWeaponRestriction 20 
        setl g_antilag 1 
        setl g_altStopwatchMode 0 
        setl g_autofireteams 0 
        setl g_complaintlimit 0 
        setl g_ipcomplaintlimit 0 
        setl g_fastres 0 
        setl g_friendlyFire 1 
        setl g_maxlives 0 
        setl g_alliedmaxlives 0 
        setl g_axismaxlives 0 
        setl g_teamforcebalance 0 
        setl g_noTeamSwitching 0 
        setl g_voiceChatsAllowed 99 
        setl g_spectatorInactivity 0  
        
        set g_log TWL-EU-match.log 

        setl team_maxMortars 2 
        setl team_maxFlamers 2 
        setl team_maxMg42s 2 
        setl team_maxPanzers 2 
        setl team_maxplayers 0 
        setl team_nocontrols 0 
        setl team_maxMines 10        

        setl match_latejoin 1 
        setl match_minplayers 2 
        setl match_mutespecs 0 
        setl match_readypercent 100 
        setl match_timeoutcount 2 
        setl match_timeoutlength 120 
        setl match_warmupDamage 2 

    
        setl sv_privateclients  0        
        setl sv_maxRate 25000 
        setl sv_dl_maxRate 42000 
        setl sv_floodProtect 0 
        setl sv_pure 1          
        setl sv_minping 0 
        setl sv_maxping 0 

        setl pmove_fixed 0 
        setl pmove_msec 8 

        setl g_allowVote 1 
        setl vote_limit 99 
        setl vote_percent 51 
        setl vote_allow_comp 0 
        setl vote_allow_gametype 0 
        setl vote_allow_kick 1 
        setl vote_allow_map 1 
        setl vote_allow_matchreset 1 
        setl vote_allow_mutespecs 1 
        setl vote_allow_nextmap 0 
        setl vote_allow_pub 0 
        setl vote_allow_referee 1 
        setl vote_allow_shuffleteams 0 
        setl vote_allow_swapteams 1 
        setl vote_allow_friendlyfire 0 
        setl vote_allow_timelimit 1 
        setl vote_allow_warmupdamage 1 
        setl vote_allow_antilag 0 
        setl vote_allow_balancedteams 0 
        setl vote_allow_muting 1 
        
        setl b_defaultskills "" 
        setl b_banners 0 
        setl b_noskillupgrades 0 
        setl b_shove 0 
        setl b_statsaver 1 
        setl b_intermissiontime 30 
        setl b_privatemessages 0 
        setl b_match_warmupjoin 0 
        setl b_xpstopwatch 0 
        setl b_multiview 1 
        setl b_stickycharge 1 
        setl b_spectatornames 1 
        setl b_levels_battlesense "20, 90, 140" 
        setl b_levels_engineer "20, 90, 140" 
        setl b_levels_medic "20, 90, 140" 
        setl b_levels_fieldops "20, 90, 140" 
        setl b_levels_lightweapons "20, 90, 140" 
        setl b_levels_soldier "140" 
        setl b_levels_covertops "20, 90, 140" 

        setl b_mapscriptdirectory etpromapscripts 

        command "pb_sv_enable" 
        command "pb_sv_kicklen 1"          
        command "pb_sv_cvarempty"          
        command "sv_cvarempty" 
        
        command "sv_cvar rate in 5000 25000" 
        command "sv_cvar snaps in 20 40" 
        command "sv_cvar cl_maxpackets in 30 100" 
        command "sv_cvar cl_timenudge eq 0" 
        command "sv_cvar cl_freelook eq 1" 
        command "sv_cvar cg_bobup in 0 0.005" 
        command "sv_cvar cg_fov in 90 120" 
        command "sv_cvar cg_shadows in 0 1" 
        command "sv_cvar cg_thirdperson eq 0" 
        command "sv_cvar com_maxfps GE 40"
        
        command "sv_cvar m_pitch out -0.015 0.015" 
        command "sv_cvar m_yaw eq 0.022" 
        
        command "sv_cvar r_clampToEdge EQ 1"      
        command "sv_cvar r_allowextensions EQ 1" 
        command "sv_cvar r_ati_fsaa_samples EQ 0" 
        command "sv_cvar r_ati_truform_tess EQ 0" 
        command "sv_cvar r_flares in 0 1" 
              
        command "pb_sv_cvar r_nv_fogdist_mode INCLUDE NV" 
        command "sv_cvar r_primitives IN 0 2" 
        command "sv_cvar cg_errordecay eq 100" 
        command "sv_cvar r_drawentities eq 1" 

        command "sv_cvar r_showtris eq 0" 
        command "sv_cvar r_showmodelbounds eq 0" 
        command "sv_cvar r_shownormals eq 0" 
        command "sv_cvar r_wolffog eq 1" 
} 
map default 
{ 
        setl g_userTimeLimit 0 
        setl g_useraxisrespawntime 0 
        setl g_useralliedrespawntime 0 
        command "forcecvar r_drawfoliage 1" 
} 
map radar 
{ 
        setl g_userTimeLimit 10 
        command "forcecvar r_drawfoliage 0" 
} 
map railgun 
{ 
        setl g_userTimeLimit 15 
        setl g_useralliedrespawntime 30 
  
} 
map fueldump 
{ 
        setl g_userTimeLimit 15 
        setl b_moverscale 1.5
} 
map oasis 
{ 
        setl g_userTimeLimit 15 
        setl g_useralliedrespawntime 15 
} 
map battery 
{ 
        setl g_userTimeLimit 10 
} 
map goldrush 
{ 
        setl g_userTimeLimit 20 
        setl b_moverscale 1.5
} 
 map supplydepot
{
        setl g_userTimeLimit 20
}



Last edited by ND80 on Tue Apr 13, 2004 4:47 am, edited 4 times in total.
Post Reply