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 »

Thx for answer.

Gonna look into that lock thing.

Btw a noob question :oops: :
will "set sv_maxRate 25000 " make it impossible to play on servers that only allow lower rates?
#rtcw.no:ET and #rtcw.no @ Qnet
User avatar
gwg.Redef
Posts: 43
Joined: Sat Dec 13, 2003 4:10 am
Contact:

Post by gwg.Redef »

Here is a new draft, with locked cvars.

*edit*

configname clanbase&rtcw.no
init
{

setl g_gametype 3
set sv_maxRate 25000
setl sv_pure 1
setl g_heavyWeaponRestriction 20
setl team_maxMortars 1
setl team_maxFlamers 1
setl team_maxMg42s 1
setl team_maxPanzers 1
setl team_maxMines 7
setl g_medicChargeTime 45000
setl g_LTChargeTime 40000
setl g_engineerChargeTime 30000
setl g_soldierChargeTime 20000
setl g_covertopschargetime 30000
setl g_antilag 1
setl g_friendlyFire 1
setl g_landminetimeout 0
set g_voiceChatsAllowed 99
set g_doWarmup 1
setl g_warmup 15
set g_spectatorInactivity 0
set sv_minping 0
set sv_maxping 0
set match_latejoin 1
setl match_minplayers 2
set match_mutespecs 0
set match_readypercent 100
setl match_timeoutcount 2
setl match_timeoutlength 240
set match_warmupDamage 2
set team_maxplayers 0
set team_nocontrols 0
set g_allowVote 1
set vote_limit 99
set vote_percent 51
setl vote_allow_comp 0
setl vote_allow_gametype 0
set vote_allow_kick 1
set vote_allow_map 1
set vote_allow_matchreset 1
set vote_allow_mutespecs 1
set vote_allow_nextmap 1
setl vote_allow_pub 0
set vote_allow_referee 1
setl vote_allow_shuffleteams 0
set vote_allow_swapteams 1
set vote_allow_friendlyfire 0
set vote_allow_timelimit 1
set vote_allow_warmupdamage 1
setl vote_allow_antilag 0
set vote_allow_balancedteams 0
set vote_allow_muting 1


setl b_defaultskills ""
setl b_noskillupgrades 0
setl b_shove 0
set b_shove_noz 0
set b_statsaver 1
set b_intermissiontime 20
set b_privatemessages 0
set b_match_warmupjoin 0
set b_xpstopwatch 0
set b_multiview 1
setl b_stickycharge 1
set b_spectatornames 1
setl b_mapscriptdirectory clanwar
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"

command "pb_sv_enable"
command "pb_sv_cvarempty"
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 5000 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_drawfoliage 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_intensity IN 1 1.5"
command "sv_cvar r_lightmap IN 0 1"
command "sv_cvar r_mapoverbrightbits IN 0 3"
command "sv_cvar r_overbrightbits IN 0 1"
command "sv_cvar r_picmip IN 0 3"
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 0"
command "sv_cvar r_primitives IN 0 2"

}
map default
{
set g_userTimeLimit 0
set g_useralliedrespawntime 0
set g_useraxisrespawntime 0
setl b_moverscale 1

}
map fueldump
{
setl g_userTimeLimit 20
setl b_moverscale 1.5
}
map radar
{
setl g_userTimeLimit 15
}
map battery
{
setl g_userTimeLimit 15
}
map goldrush
{
setl g_userTimeLimit 20
setl b_moverscale 1.5
}
map oasis
{
setl g_userTimeLimit 20
}
map railgun
{
setl g_userTimeLimit 15
}
Last edited by gwg.Redef on Sun Feb 01, 2004 4:19 am, edited 3 times in total.
#rtcw.no:ET and #rtcw.no @ Qnet
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

etpro 2.1 enforces sv_floodProtect 0 in the server so thats not needed...
User avatar
gwg.Redef
Posts: 43
Joined: Sat Dec 13, 2003 4:10 am
Contact:

Post by gwg.Redef »

removed :oops:
#rtcw.no:ET and #rtcw.no @ Qnet
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

set vote_allow_friendlyfire 0

do you really allow tournaments with ff off :o (i dont see any setl for g_friendlyFire :shock: )
User avatar
gwg.Redef
Posts: 43
Joined: Sat Dec 13, 2003 4:10 am
Contact:

Post by gwg.Redef »

oh my.. :o
thx bani.. that one was left out. Its been added now.
#rtcw.no:ET and #rtcw.no @ Qnet
User avatar
Lagger
Posts: 316
Joined: Mon Sep 29, 2003 8:30 am

Post by Lagger »

map default
{
...
command "forcecvar r_wolffog 0"
}
can you use command "sv_cvar r_wolffog EQ 0" instead?
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

that works too, and prevents players from changing it. where forcecvar doesnt prevent them.
pack
Posts: 22
Joined: Sun Dec 14, 2003 1:42 pm

Post by pack »

bani wrote:etpro 2.1 enforces sv_floodProtect 0 in the server so thats not needed...
will this mean that on publics everyone will start using thos spamscripts ? :(
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

no, the mod floodprotects it independent of sv_floodprotect. sv_floodprotect is enforced 0 for other reasons.
pack
Posts: 22
Joined: Sun Dec 14, 2003 1:42 pm

Post by pack »

bani wrote:no, the mod floodprotects it independent of sv_floodprotect. sv_floodprotect is enforced 0 for other reasons.
oh - k, thx.

---
@rtcw.no / cb settings :

I'm not etpro team but I do participate as a player in cb and rtcw.no so I give myself the freedom of commenting on them :)

(1) CVARS

Code: Select all

command "sv_cvar r_lightmap IN 0 1" 
command "sv_cvar r_mapoverbrightbits IN 0 3" 
command "sv_cvar r_overbrightbits IN 0 1" 
command "sv_cvar r_intensity IN 1 1.5" 
remove those imo (not needed in ET?)
or change: "lightmap in 0"
intensity 1.5 will make ET very dark here :(


Code: Select all

command "sv_cvar r_gamma IN 1 3" 
external programs can change this...
don't know if you can go this high anyway.

Code: Select all

command "sv_cvar r_drawfoliage EQ 1" 

=> PLEASE NO!
just do it like the usa leagues :/
force it in radar to be 0
force it in other maps to be 1

This really would give us 10-100% more fps...
http://www.xfire.be/comments.php?id=795&category=7

(i'm happy about removing the fog btw, this really increases fps 8) !)

Code: Select all

command "sv_cvar m_yaw EQ 0.022" 
command "sv_cvar m_yaw IN -0.022 0.022" gives the same lockheadheightcheatprotection as equal

Code: Select all

command "sv_cvar cg_fov IN 90 120" 
If you check on this (and thus say this can be used as a cheat in ET) you need to be consistent and check for
cg_zoomdefaultsniper to be < 120 too..
Thanks Bani & Rain:
"r_primitives 3 causes bizarre texture rendering problems in RtCW and ET, which could potentially be used to make players higher contrast in the distance."
http://www.rtcw.jolt.co.uk/index.php?pa ... primitives
Migth wanna add:
command "sv_cvar r_primitives IN 0 2"




(1) Serversettings

Code: Select all

set match_timeoutcount 2 
set match_timeoutlength 120 
increase those please ... 120s is not enough for a reboot, timeoutcount 2 is not enough for those 30 min matches we have in ET.


Think 240/300 - 3/4 is more fair

Code: Select all

sv_maxrate 25000 
Not every country in Europe enjoys the cheap bandwidth of Scandinavia :).

Think most serverproviders limit it on 10000-15000 or so. I'd just remove this from the enforced servervars... (?)

Code: Select all

set match_minplayers 4 
Might change this to 0. No reason to have this on 4 (?). In RTCW you had a small duelscene (1vs1) and in ET this would be impossible with this setting on 4...


Might wanna add:

Code: Select all

set pmove_fixed 0 
set pmove_msec 8 // not needed if pmoce 0..
set g_medicChargeTime 45000

set g_LTChargeTime 40000

set g_engineerChargeTime 30000

set g_soldierChargeTime 20000
set g_covertopschargetime 30000 
set g_speed 320
set g_forcerespawn "0" // time you got &#40;s&#41; before auto in respawn..
set dmflags "0"      // bitmask 8 &#40;no falling damage&#41; 16 &#40;fixed FOV&#41; 32 &#40;no footsteps&#41;
set sv_punkbuster 1  //or pb_sv_enable - I believe this can be set on 1 during run, needs serverrestart to put on 0 tho
set pb_sv_cqc 1 // this allows people to query servervars, not really needed with etpro &#40;?&#41;
set g_inactivity 0
set g_maxlives "0" // dunno if this 'd work in et, server var still exist though &#58;&#41;
set g_axismaxlives "0"  

set g_alliedmaxlives "0" 
set g_teamForceBalance "0"  //please =-&#41;  
set sv_padpackets "0"  //whatever this does
set g_fastres 0 

and in mapdefault...:

Code: Select all

set g_useralliedrespawntime "0"	// Spawntimes allies in s, 0 = mapstandard

set g_useraxisrespawntime "0"          // .......... axis

I probably forgot some things :) - have fun...
Last edited by pack on Sun Feb 01, 2004 3:50 am, edited 1 time in total.
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

oh yes, i almost forgot...

g_landminetimeout 0

allows dynamite/landmines to stay if a player gets disconnected in the middle of a match. it defaults to 1 in etmain, which means the player's dynamite/landmines are deleted when they disconnect (eg crash, router problem, etc. which usuall call for a timeout)
User avatar
gwg.Redef
Posts: 43
Joined: Sat Dec 13, 2003 4:10 am
Contact:

Post by gwg.Redef »

bani:
Thx for that landmine thing, its been added to the cfg.

I also added the command "sv_cvar r_wolffog EQ 0" instead of the forcecvar.

pack:
Thx - I added the chargetimes and the userspawntimes as you kindly suggested, and the r_primitives IN 0 2.

Match_minplayers has been reduced to 2.

Some of the cvars and codes will stay, like r_drawfoliage 1. Clanbase and rtcw.no discussed it, and decided to remove the fog and keep the grass.

Timeoutlength was changed to 240 before you suggested 120 to be a little too short :wink:


I update the config I already posted instead of posting a new one every time. Please have a look at my post on Sat Jan 31, 2004 11:08 am again.

Thx :)
#rtcw.no:ET and #rtcw.no @ Qnet
User avatar
gwg.Redef
Posts: 43
Joined: Sat Dec 13, 2003 4:10 am
Contact:

Post by gwg.Redef »

sv_maxrate 25000

- afaik this only limits the maxrate of the client. if the server cant allow 25000 then its no problem. Right?
#rtcw.no:ET and #rtcw.no @ Qnet
pack
Posts: 22
Joined: Sun Dec 14, 2003 1:42 pm

Post by pack »

gwg.Redef wrote:sv_maxrate 25000

- afaik this only limits the maxrate of the client. if the server cant allow 25000 then its no problem. Right?
"sv_maxrate n" means:
if player has his settings on
"rate m" and m > n than the player will play with rate n.

So it lowers all players' rate to n.
Afaik the maximum rate players can get in ET is 25000 so sv_maxrate 25000 or sv_maxrate 0 will do just the same.

Since rate is a var that determines how much bandwidth a certain player is using, sv_maxrate can be used to limit traffic on your server.

A lot of gameserver renting companies give a fixed value for this. eg saying "sv_maxrate must be 13000 and not higher"... If you enforce this to be 25000, some clans could get problems.

Maybe you could ask Bani to have a setting
"eg: sv_maxrate >= 10000" , something like the clientsettings (?)" to have at least some minimumvalue for this, but this seems like too much work for just one setting...

10000 should be playable with only 12 man on server? (dunno, didn't test it, depends on map too)



------
Too bad of the grass:
- all usa leagues have it removed
- 80% of Euro players want it removed (check link http://www.xfire.be/comments.php?id=795&category=7)
Don't know why keeping it.

I just won't play wars on that map than :)
Post Reply