server side programing question

Join TheVille's best fun-loving zombie experts as they reduce the number of infected!
Post Reply
Grapedrink
Villun
Villun
User avatar
Posts: 300
Joined: Mon Mar 10, 2008 3:08 am

Ville Awards

server side programing question

Post by Grapedrink » Wed Apr 08, 2009 2:35 am

* //TANK + WITCH SPAWNS ETC
* sm_cvar versus_tank_chance_intro 1
* sm_cvar versus_tank_chance_finale 1
* sm_cvar versus_tank_chance 1
* sm_cvar versus_witch_chance_intro 0
* sm_cvar versus_witch_chance_finale 0
* sm_cvar versus_witch_chance 1
* sm_cvar versus_boss_flow_max_intro 0.9 //on intro have more tank location variety
* sm_cvar versus_boss_flow_max 0.85 //on BH4/NM4 tank is useless at the end

Other settings:

* mp_disable_autokick 1
* sv_consistency 1
* sv_pure 2
* sv_voiceenable 1


What do these things actually mean? and how do they differ from default settings on servers?
[img]http://i56.photobucket.com/albums/g190/johnnyalpha/3b-z.jpg[/img]
[img]http://boff.clanservers.com/stuff/moobs_grapedrink.gif[/img]

Stevo
Everlasting Villun
Everlasting Villun
User avatar
Posts: 8753
Joined: Sun Oct 22, 2006 10:01 pm
Location: Orange County, CA
Minecraft name: StevoTVR
Uplay name: StevoTVR
Contact:

Games Played

Ville Awards

StevoTVR’s avatar
Loading…

Re: server side programing question

Post by Stevo » Wed Apr 08, 2009 12:05 pm

sm_cvar is a SourceMod command that sets a server cvar. It also allows you to set cheat cvars without sv_cheats. The first list of cvars are all cheat cvars and appear to all be percentages.

Here are all the cvars with their default values and de.scriptions:
"versus_tank_chance_intro" = "0.3"
game cheat
- Chance of a tank spawning within the first map of a campaign

"versus_tank_chance_finale" = "0.1"
game cheat
- Chance of a tank spawning within the finale map of a campaign

"versus_tank_chance" = "0.75"
game cheat
- Chance of a tank spawning within a regular versus map

"versus_witch_chance_intro" = "0.3"
game cheat
- Chance of a witch spawning within the first map of a campaign

"versus_witch_chance_finale" = "0.1"
game cheat
- Chance of a witch spawning within the finale map of a campaign

"versus_witch_chance" = "0.75"
game cheat
- Chance of a witch spawning within a regular versus map

"versus_boss_flow_max_intro" = "0.75"
game cheat
- Max fraction of map flow for tank/witch spawn location within the first map of a campaign

"versus_boss_flow_max" = "0.9"
game cheat
- Max fraction of map flow for tank/witch spawn location

Other settings:
"mp_disable_autokick"
game
- Prevents a userid from being auto-kicked
(Note, this isn't a Boolean like many people seem to think, Usage: mp_disable_autokick <userid>)

"sv_consistency" = "1"
replicated
- Whether the server enforces file consistency for critical files

"sv_pure" = "0"
If set to 1, the server will force all client files except the whitelisted ones (in pure_server_whitelist.txt) to match the server's files.
If set to 2, the server will force all client files to come from Steam (and it will not load pure_server_whitelist.txt).

"sv_voiceenable" = "1"
archive notify
- Enables voice chat

Grapedrink
Villun
Villun
User avatar
Posts: 300
Joined: Mon Mar 10, 2008 3:08 am

Ville Awards

Re: server side programing question

Post by Grapedrink » Thu Apr 09, 2009 12:22 pm

thanks a lot stevo, that has been most helpful
[img]http://i56.photobucket.com/albums/g190/johnnyalpha/3b-z.jpg[/img]
[img]http://boff.clanservers.com/stuff/moobs_grapedrink.gif[/img]

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests