summaryrefslogtreecommitdiff
path: root/games-fps/quake3-alternatefire/files/server.cfg
blob: 0ee5c8a202e337eff1cbaa060e4ed4cc91187d82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
// Sample .cfg file for the Alternate Fire mod
// ==================================================================

// It's set up for CTF, since that's my favorite game type :)
// (besides, the lightning web is just awesome in CTF).

// ---- General setup ----

seta sv_pure 1
seta sv_hostname "Gentoo - Alternate Fire"
seta sv_maxclients 10
seta sv_floodprotect 0
seta g_motd "Welcome to AlternateFire"
seta g_allowVote 1

// Kick 'em after 3 minutes if they go inactive
seta g_inactivity 180

// Yes, they do need the z-alternatefire-0xx.pk3
// Make sure it's in the right place ("alternatefire", not "baseq3")
// (If you're running this on Linux, put it in ~/.q3a/alternatefire
// or it won't upload)
seta sv_allowDownload 1
// Also, make sure you remove the old .pk3 when you upgrade!

// ---- Bots ----

seta bot_enable 1
// This is per-team in team games
seta bot_minplayers 4

// ---- Game parameters ----

// 0 - Free For All, 1 - Tournament, 
// 3 - Team Deathmatch, 4 - Capture the Flag 
seta g_gametype 4
seta capturelimit 8
seta timelimit 20
seta g_friendlyFire 0

// ---- Extra-special new stuff ----

// Uncomment this if you want no falling damage
//g_fallingDamage 0

// Uncomment this if you want self damage to only damage armor
// Set it to 0 to disable self damage altogether (default: 2)
//g_selfDamage 1

// Uncomment this if you like to play CTF the "old" way
// (the player only has to touch his flag to return it)
//g_returnFlag 0

// Uncomment this if you want a mad, mad, mad game of
// multi-flag CTF (everyone can have their own flag!)
//g_multiFlag 1

// Uncomment this if you want an offhand grapple
// Your players will need to bind +button6 to something,
// or set up their grapples in SETUP->CONTROLS->SHOOT
// WARNING: The grappling hook IS NOT client-side predicted,
// which means it's awful for anybody with a ping over 100
//g_offhandGrapple 1

// ---- Chat/Name Filter ----

// ** PLEASE READ THE README BEFORE ENABLING THESE OPTIONS **

// Uncomment this to force every client's chat filter on
// They can override this in the GAME OPTIONS menu - which
// means that setting this really just makes the chat filter
// opt-out
//g_forceChatFilter 1

// Uncomment this to force every client's name filter and
// kick players with dirty names
//g_forceNameFilter 1

// ** Be careful with the next two - the chat filter may
//    act differently than you think.  Read the README. **

// Use this to add words for chat filtering (separate words
// with spaces, use an underscore ("_") in place of a space
// if you need to filter phrases)
//g_filteredWords

// Use this to filter additional names - same format as above
//g_filteredNames "bin_laden terrorist"

// ---- Map rotation ----

// An id/threewave CTF map rotation
// Even if you don't use this rotation, I suggest using "d1"
// as the command for the first map, since players can vote
// to reset the map rotation.  That action will set nextmap
// to "vstr d1".
set d1 "map q3ctf1; set nextmap vstr d2"
set d2 "map q3wctf2; set nextmap vstr d3"
set d3 "map q3ctf4; set nextmap vstr d4"
set d4 "map q3wctf1; set nextmap vstr d5"
set d5 "map q3ctf2; set nextmap vstr d6"
set d6 "map q3wctf3; set nextmap vstr d7"
set d7 "map q3ctf3; set nextmap vstr d1"
vstr d1

// If you want to change the game type (and other things) per map, do stuff like this:
//set d1 "set g_gametype 0; set fraglimit 20; map q3dm17; set nextmap vstr d2"
//set d2 "set g_gametype 1; set fraglimit 15; set timelimit 10; map q3tourney3; set nextmap vstr d1"
//vstr d1