CVAR information/ recommendation

Server Help/Discussion.
skidz
Obsidian Gold
Obsidian Gold
Posts: 3228
Joined: Mon May 29, 2006 6:36 am
Location: Maple Ridge, BC
Contact:

CVAR information/ recommendation

Post by skidz »

Now I want to let server operators know a couple things.


to make players non-solid to each other

mp_playercollide

Also, if you wish to have no sniper lasers in your server the command is

sk_sniperlaser

To turn off gauss jumping

sv_allowgaussjump


To start an episode 1 or episode 2 sp map, you need to turn on the corresponding console command.

sv_ep1searchpath 1
or
sv_ep2searchpath 1

Recommended network cvars:

net_queued_packet_thread 1
Needs to be set to 1 or ping will raise very high once more players are connected.

net_splitrate 1024
This fixes the lag spikes once the server->client packets go over ~1500/s.

net_splitpacket_maxrate 30000
Same as above.

sv_maxrate 0
Its the best to not restrict the maxrate at all.

sv_minrate 30000
Set minrate to at least 10000 or 20000, or players may experience "lag" in high-action areas, even if theres still enough bandwidth.

For homehosted servers with very limited bandwidth i recommend setting
sv_minrate 10000
sv_maxrate 20000
sv_maxupdaterate 20 or even 10
To reduce network traffic.

What to NOT put into the server.cfg:
(Due to some bug in the order oc executes config files, some commands should NOT be in the server.cfg or else they could override map settings and seriously break some maps.)

Code: Select all

mp_falldamage			"0"
mp_timelimit 			"0"
sv_hl2mp_weapon_respawn_time 	"3"
sv_hl2mp_item_respawn_time 	"20"
mp_hl1crossbow 			"0"
mp_forcerespawn 		"0"
mp_playercollide 		"1"
mp_bunnyhop 			"0"
sv_gravity 			"600"
mp_teamplay 			"0"
sv_forcehardleveltransitions 	"0"
If you have any of those commands in your server.cfg, remove them and put them at the end of your skill.cfg instead, it will prevent this bug from happening.

Important note: don't put "exec skill.cfg" into the server.cfg or anywhere else either, this will break map configs as well. (it's only meant to be in skill_manifest.cfg.)

Ill post more information as it comes.
Last edited by skidz on Fri Jul 18, 2008 2:15 am, edited 2 times in total.
Svanrog
Combine Rebel
Combine Rebel
Posts: 1319
Joined: Tue Jul 25, 2006 9:17 pm

Post by Svanrog »

Sweet. I can't remember last time a saw the mod creator create a help topic for server operators. You're doing good guys! :D
Sam!00!
npc_combine_s
npc_combine_s
Posts: 399
Joined: Sat Jul 15, 2006 7:46 pm
Location: England

Post by Sam!00! »

you mean players cant go through each other?
Svanrog
Combine Rebel
Combine Rebel
Posts: 1319
Joined: Tue Jul 25, 2006 9:17 pm

Post by Svanrog »

[JSC]sam!00! wrote:you mean players cant go through each other?
Sure he does. Like in WoW. Could be good when you have lots of people in small maps.
Sam!00!
npc_combine_s
npc_combine_s
Posts: 399
Joined: Sat Jul 15, 2006 7:46 pm
Location: England

Post by Sam!00! »

in one big box!

|===|
| o |
| | |
__^___
Scrap
npc_strider
npc_strider
Posts: 614
Joined: Mon Jul 24, 2006 1:13 am

Post by Scrap »

[JSC]sam!00! wrote:in one big box!

|===|
| o |
| | |
__^___
you call that a box? :lol:
Sam!00!
npc_combine_s
npc_combine_s
Posts: 399
Joined: Sat Jul 15, 2006 7:46 pm
Location: England

Post by Sam!00! »

yes :(
skidz
Obsidian Gold
Obsidian Gold
Posts: 3228
Joined: Mon May 29, 2006 6:36 am
Location: Maple Ridge, BC
Contact:

Post by skidz »

[JSC]sam!00! wrote:in one big box!

|===|
| o |
| | |
__^___
:thinking:
[JSC][GU]PREDATOR
Obsidian Premium
Obsidian Premium
Posts: 1624
Joined: Mon May 29, 2006 12:06 pm

Post by [JSC][GU]PREDATOR »

I don't get it... :?
Sam!00!
npc_combine_s
npc_combine_s
Posts: 399
Joined: Sat Jul 15, 2006 7:46 pm
Location: England

Post by Sam!00! »

its meant to be a box :(
Guhlius
prop_static
prop_static
Posts: 70
Joined: Mon Dec 18, 2006 6:29 pm

Post by Guhlius »

I got some questions.
1. How do i set the maps ppl can choose in the "map select"-map
2. How do i spawn a power module (as admin and with sv_cheats 1"
3. What is the Combine mask good for
(4. Y does the sniper shoot that inaccurate)
skidz
Obsidian Gold
Obsidian Gold
Posts: 3228
Joined: Mon May 29, 2006 6:36 am
Location: Maple Ridge, BC
Contact:

Post by skidz »

1. Zteers map selection map uses the mapadd system to change which doors use which level etc.. Look in the maps/cfg folder for the txt file.

2. Power module is for the cloak item and w/e else we add for it.

3. Combine mask reduces damage, but will do more later when we get back to the armor system.
Guhlius
prop_static
prop_static
Posts: 70
Joined: Mon Dec 18, 2006 6:29 pm

Post by Guhlius »

which txt file? an what to do with it
User avatar
[FTA]c0m4ndo45
npc_combine_s
npc_combine_s
Posts: 306
Joined: Sat Sep 23, 2006 9:06 pm

Post by [FTA]c0m4ndo45 »

And the answer 4? its actually the only one i wanted to hear out of the 4 questions.
<Proud to be a gamer>

Image
Scrap
npc_strider
npc_strider
Posts: 614
Joined: Mon Jul 24, 2006 1:13 am

Post by Scrap »

[JSC]c0m4ndo45 wrote:And the answer 4? its actually the only one i wanted to hear out of the 4 questions.
Skidz wrote:Its really only a good weapon if you have time to stop, couch and fire. Not designed as a run and gun weapon.
Hyperjag3 wrote:The shot cone is very large without zoom though, even if it looks like you will be accurate, you won't.
Post Reply