Author Topic: OC mod  (Read 9017 times)

bob0

  • Posts: 80
  • Turrets: +11/-9
OC mod
« on: December 30, 2009, 06:55:24 pm »
(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!
« Last Edit: August 10, 2010, 06:59:01 am by bob0 »
bob

ACKMAN

  • Posts: 342
  • Turrets: +9/-20
Re: OC / Domination mod
« Reply #1 on: December 30, 2009, 11:40:54 pm »
This was the old Bob's mod(or something like that, i couldn't find a lot of information about it when i first knew about it), wasn't it?

I found a server called "Bob" long time ago, I joined and saw lots of stuff everywhere and !info about it. But when I Googled it I found nothing - source, forums, downloads.

bob0

  • Posts: 80
  • Turrets: +11/-9
Re: OC / Domination mod
« Reply #2 on: December 31, 2009, 12:20:03 am »
This was the old Bob's mod(or something like that, i couldn't find a lot of information about it when i first knew about it), wasn't it?

I found a server called "Bob" long time ago, I joined and saw lots of stuff everywhere and !info about it. But when I Googled it I found nothing - source, forums, downloads.

Yes; the old 1.1 server's hostname was "Bob's Obstacle Course Server!".  I forgot to post the source link.  I'll add that now.

The game module for v2.00.19-beta has been uploaded.  The slow alien build point queue has been reverted to its original speed, and the inability to spawn from player-built eggs was fixed.  Since only the server-side game module has changed, the data package for v2.00.19 won't need to be downloaded since it's identical to to the data package for v2.00.18.
bob

DraZiLoX

  • Posts: 844
  • Turrets: +24/-24
Re: OC / Domination mod
« Reply #3 on: December 31, 2009, 08:58:20 am »
This was the old Bob's mod(or something like that, i couldn't find a lot of information about it when i first knew about it), wasn't it?

I found a server called "Bob" long time ago, I joined and saw lots of stuff everywhere and !info about it. But when I Googled it I found nothing - source, forums, downloads.

Source
Forum  
       =O
« Last Edit: January 02, 2010, 09:59:33 pm by DraZiLoX »

bob0

  • Posts: 80
  • Turrets: +11/-9
Re: OC / Domination mod
« Reply #4 on: December 31, 2009, 03:39:10 pm »
This was the old Bob's mod(or something like that, i couldn't find a lot of information about it when i first knew about it), wasn't it?

I found a server called "Bob" long time ago, I joined and saw lots of stuff everywhere and !info about it. But when I Googled it I found nothing - source, forums, downloads.

Source
Forum  
       =O

Those are old and outdated.  Reply to this thread if you want to discuss stuff, please.
« Last Edit: December 31, 2009, 03:41:55 pm by Z+ SM p(EEn- »
bob

bob0

  • Posts: 80
  • Turrets: +11/-9
Re: OC / Domination mod
« Reply #5 on: January 01, 2010, 12:41:41 am »
v2.00.20-beta has been uploaded with two changes from the previous version; again, the data has not changed.

The number of nextmap votes will not decrement when a nextmap vote fails.  The value contained in the g_numNextVotes cvar now determines how many times g_nextmap and g_layouts can be changed.  It can be set to -1 to allow ulimited changes.

Rezyn's buildlog-and-revert patch from http://rezyn.mercenariesguild.net/aardvark/aardvark_0303_buildlog.patch was also merged for testing.  The Domination patch generalises the build point queue code; it no longer assumes that repeaters are the only buildable that give BP zones and that humans are the only team that can have BP zones.  The code was patched by Rezyn's buildlog-and-revert patch and was modified to be compatible with the BP zone generalisation.

Separate, single, unified, formatted patches exist for both domination and buildlog-and-revert in the repository.
« Last Edit: January 01, 2010, 12:48:23 am by Z+ SM p(EEn- »
bob

bob0

  • Posts: 80
  • Turrets: +11/-9
Re: OC / Domination mod
« Reply #6 on: January 02, 2010, 08:51:23 pm »
v2.00.21-beta has been uploaded with some bug fixes, and domination layouts added for 1984b4, cruz-b2, metro-b1-2, outpost_p4_beta4, procyon-r1, sectorb17, thanatos_b3, nano, and utcs.  To keep the number of posts in this thread from becoming enormous, I will henceforth report new versions or uploads only after major-ish changes.

Contributed domination layouts for other maps or suggestions or replacements for existing domination layouts are welcome.
« Last Edit: January 02, 2010, 08:55:52 pm by Z+ SM p(EEn- »
bob

MitSugna

  • Guest
Re: OC / Domination mod
« Reply #7 on: January 02, 2010, 10:08:05 pm »
now we only need a BSM mod

bob0

  • Posts: 80
  • Turrets: +11/-9
Re: OC / Domination mod
« Reply #8 on: January 08, 2010, 01:15:48 am »
v2.00.27-beta has been uploaded.  Since v2.00.21-beta, the most important changes, alongside bug fixes, are that capture time is no longer proportional to player worth, since players with higher priced equipment already have an advantage over weaker players, and since players skilled with higher priced equipment won't have an advantage over players skilled with lower priced equipment, and since the long time it took dretches to capture compared to other aliens) was too long; each alien captures a domination point in 12 seconds, each human captures a control point in 10 seconds, and each buildable in 24 seconds.  A player earns an eight of an evolution point or 25 credits for capturing a control point (these values have both been doubled and will be included in the next version).  Aside from changes related to domination, cg_handicap has been added.  The damage of every attack by players will be divided by this value, so players can halve their damage by setting cg_handicap to 2, or reduce damage of their attacks by 50% by setting it to 1.5.  Idlers can now have fun when a newbie connects while they wait for more experienced players to connect! :)
« Last Edit: January 08, 2010, 01:20:45 am by Z+ SM p(EEn- »
bob

phazmatis

  • Posts: 5
  • Turrets: +1/-1
Re: OC / Domination mod
« Reply #9 on: January 09, 2010, 08:45:23 pm »
cg_handicap .25

 ;D