Quake Live

Quake Live

Not enough ratings
Private/Client Race Server (How to Start)
By makka
So I've been trying to get a client/private race server so I can practice on my own. Quake Live doesn't make it clear at all what you have to do, and there seems to not be any forum topics on the subject (on recent forum even suggests that it's not possible!) I've figured it out and would like to save other people time as well in how to do it.
   
Award
Favorite
Favorited
Unfavorite
Commands
Here is a quick list of the commands. The rest of this guide gives a lot of superfluous context and detail to an issue that was previously undocumented. Unless you are curious of each command, you more than likely don't need the entire guide.

kickban 0
callvote g_gametype 2
callvote ruleset turbo
callvote map_restart
; change map
g_startingweapons 145
dmflags 28
g_respawn_delay_min -1
g_respawn_delay_max -1
g_startingammo_rl 2000
g_startingammo_pg 2000
cg_autohop 0
; suicide
Intro; Starting a Server
The first thing we need to do is start a local match. On the top bar, under the tab labelled "Play" is a "Practice" label. This allows us to create a local bot match; however, it only allows us to choose gametypes of FFA, CTF, CA, TDM and Duel. We can modify the gametypes later, but for now just choose whatever mode and start it up.

Superfluous Detail
Every command here can be inputted into the console via the tilde (~).

Once you have started a server, there will probably be bots in the game. Use
\players
to retrieve the integer IDs of these bots and kick each of them with
\kickban ID

Our next step is to change the game mode. The "callvote" console command lets us callvotes on modifying certain features of the game:
callvote variable value
The first one is the game mode, `g_gametype` . We want to modify its value to the race mode, which is hardcoded as the value 2:
callvote g_gametype 2

The physics is still in the default mode, which will need to be changed to turbo via quake's rulesets.
callvote ruleset turbo

After you do these two things, you must reload the map in order for the effects to be applied:
callvote map_restart
After this you are free to change the map to whichever race map you want to play

There are still a couple issues, the first being that you are not starting with the rocket launcher or plasma gun (vital tools in race!). We can modify the variable g_startingWeapons to fix this; note that we do not use "callvote" to modify this value, that is because callvote is to modify variables that other players/clients can modify, while g_startingWeapons and others can only be modified by an admin. Unfortunately, the only thing this really means for private servers, is that every time you change map, you must reinput the values of these variables.

The value of g_startingWeapons is a bitmask[en.wikipedia.org]. The masks necessary for the starting weapons are listed below.
Gauntlet 0000 0001 ( 1) Rocket Launcher 0001 0000 ( 16) Plasma Gun 1000 0000 (128) -------------------------------
since (1 OR 16 OR 128) == 145, we use:
g_startingWeapons 145

And then respawn. Now that you have these weapons, you'll quickly notice that you will take fall and splash damage. There is another bitmask variable `dmflags` that will resolve this issue.
No self-splash damage on health 0000 0100 ( 4) No self-splash damage on armour 0000 1000 ( 8) No fall damage 0001 0000 (16) ----------------------------------------------- dmflags 0001 1100 (28)

Finally, the starting ammunition for each weapon is too low for racing. To fix starting ammo for each weapon is simple as well.
Rocket Launcher: g_startingAmmo_rl VALUE Plasma Gun: g_startingAmmo_pg VALUE

And there you have it. Begin to race; thanks for reading ! Be sure to give me a comment if I left anything out


--------

As an aside, here are some things that I also like to do:

Remove respawn delay
g_respawn_delay_min -1 g_respawn_delay_max -1
Setting respawn delay to -1 is the same as 0 but it gets across the fact that I don't
like respawn delay :)

Turn off Auto-Hop
cg_autohop 0