(
Domination has its own thread now)
The OC game module is capable of changing game mode on-the-fly.
The Obstacle Course (abbreviated as OC) game-mode enables large layouts to be played as. Most courses are designed for the human team to play. Players can spawn from eggs or telenodes, go through a series of buildables, and try to reach the armoury to win. Two other buildables serve a special purpose: boosters and medical stations, which are checkpoints and "bonus" / secondary objectives respectively. Obstacle courses are simply layouts; when a layout whose name starts with "oc" is loaded, the game mode is automatically switched to OC mode, unless g_ocOnly is negative, in which case the game mode is set to normal gameplay. Most of 1.1 balance is used during the OC gameplay because most obstacle courses were built during the time of Tremulous 1.1. Servers using the OC module do not need to load OC's. If a server doesn't want any obstacles courses, it can simply not save or download any layouts beginning with "oc" (or set g_ocOnly to -1). The official obstacle courses are not available to the public.
Domination's primary goal is to fix the problem of camping. Players are punished for staying in their base since they will be deprived of resources. There is no sudden death when at least one domination point exists. Domination points are actually internally buildables; they can only be built (by either team) in cheat mode. Domination points can be spawned when a layout is loaded. Inside the data package (data-oc-vX.pk3), risujin's default "dom" layouts are included for every 1.1 map and several others. When no domination points have been spawned, the campy (but balanced) vanilla gameplay is unchanged and is pretty much GPP.
(Copied from the g_connectMessageX's from the official OC / Domination server's no-oc.cfg:) Domination punishes players staying in their bases and not going outside them to capture control points. Walk over a domination point to capture it. Each domination point affects build time, the number of BP, and the rate of free funds and BP queue altogether by up to 50% better or worse. If you build near a domination point your team has captured, the opposing team will capture slowly until your buildables are destroyed. Since aliens are more mobile and less dependent or their bases, their BP queue return speed has been halved. Since the alien BP queue return rate is already slower than humans, I'm considering reverting this change (constructive comments / feedback, please). There are only two other balance changes. One is that buildables will no longer be unpowered when more buildables exist than the number of BP that the reactor goes unpowered. The reason for this change is that humans were previously underpowered when they lost domination points, and because the armoury was randomly unpowered when a turret should have been; there is no easy or clean solution to unpower some buildables first. The third and last balance change is unintentional: players can wallwalk on entities, including buildables and players. I ported, merged, and update Risujin's domination mod. There is no sudden death in Domination.
If "oc.cfg" exists, it will be executed whenever a map starts with game mode set to OC. If "no-oc.cfg" exists, it will be executed whenever gameplay is set to normal (domination points can possibly exist). These filenames can be changed via cvars. This mod includes several other miscellaneous updates and improvements, such as multiple CP messages on different lines, a list of layouts in the map vote UI, /register ported from 1.1 (and segfault fixed), g_unvotableMaps, and g_numNextVotes, which limits the number of callvote nextmap attempts
after one passes, regardless of whether they pass. A server can enforce only domination layouts to be voted for by setting g_layouts to "dom" in "no-oc.cfg", setting g_ocOnly to a negative number (this will prevent obstacle courses from being voted) , and including the mapname of every map that doesn't have a dom layout in the g_unvotableMaps cvar. g_connectMessageX can be set to a message that is printed to the player when he connects. X is a number starting from 1. All '|'s are changed into to line separators. Make sure that no individual cvar is set too big (the limit is smallish: about 256 iirc).
The official OC / Domination server is a dual server in that g_ocOnly is set to 0, and has both domination and OC layouts, so that players can call a vote to change to both game modes. Players can call a vote to switch to an obstacle course by /callvote mapname oc, and a domination layout by /callvote mapname dom. Domination layouts are not required to be "dom", but since that is the standard and most used name, you are encouraged to do so. The hostname of the official OC / Domination server alternates between "Bob's Obstacle Course Server! (Modded)" and "Domination! (Modded)" depending on which of the two game modes is set. The normal game mode doesn't require domination points to be spawned, but it enables them to.
Servers running this module will require clients to download two packages if they don't have them already: data-oc-vX.pk3 and data-gpp1930.pk3 (for the sounds and parts of the UI missing in SVN).
To use this mod on your server, make a directory named "oc" in the parent directory of the server's "base" directory, and put data-gppX.pk3 and data-oc-vX.pk3 from
http://oc.superpie.org/oc/ into your "oc" directory, where "X" is the newest version. Then put the game.qvm extracted from game-oc-vX.ext into the directory of "oc/vm/" (create "vm" if it doesn't exist). When you start the server, set "fs_game" to "oc". Now, you need to point your download URL to a repo that has the OC packages. You can either create your own, or set it to the only one that currently has the OC packages: "
http://oc.superpie.org/". This mod is still beta, so expect bugs and please report them whenever you encounter one. The source is publicly available at
git://git.mercenariesguild.net/obstacle.git.
Some clients will crash or freeze when they download packages from the server. This is because the client is loading a 1.1 ui.qvm, which is incompatible with a GPP client, before the download. This will be fixed when 1.2 final is released. If you happen to freeze or crash when you connect to the official OC / Domination serverr, you need to manually download two packages from
http://oc.superpie.org/oc/. Download data-gppX.pk3 and data-oc-vX.pk3, where X is the newest version (highest number), into your "oc" directory. You
don't need to download game-oc-X.ext. Create your "oc" directory if it doesn't exist. The "oc" directory should be located in the parent directory (up one level) of your base folder. This should usually be "~/.tremulous/oc" or, under Windows, somewhere in %APPDATA%. You will have to download a new package every time a new version is released if you are affected. An alternative is to remove every package containing a 1.1 vm in your base folder, which is usually just vms-1.1.0.pk3. You will not be able to use your 1.1 client until you move all the packages with 1.1 vms back into base.
In case anybody didn't catch this, this module enables domination and obstacle courses to be played, but it doesn't enforce either of them, although it does require a download, which isn't a problem anymore because of the download dialogue.
The official OC / Domination server can be played with a GPP client.
Thank you, Superpie, for voluntarily paying to host this server!
This mod is compatible with 1.2 / GPP only.
Have fun!