NOTE: Google code page for this mod is at
http://code.google.com/p/wogomo-tremulous-mod/IntroductionThis is my first mod for trem. Thanks to the nice folks who helped me out with a
silly problem (due to my carelessness), I am happy to present to you the Alternative Layout and Intermission Mod.
The vm file may be downloaded here:
wogomo-18.pk3 updated 2010-12-22Here is a patch which contains a diff against svn://svn.icculus.org/tremulous/branches/gpp revision 2092:
http://sirclan.no-ip.org/wogomo/wogomo.patch updated 2010-12-22UsageThe command /callvote has been modified to accomodate alternative layouts
updated 2010-12-21. Usage:
/callvote nextmap (mapname) (layoutname)
/callvote map_restart (layoutname)
/callvote map (mapname) (layoutname)
Behaviour of admin command /nextmap has been changed to include 2 optional parameters
updated 2010-12-22:
/nextmap (mapname) (layout)
When the options (mapname) or (mapname) (layout) are provided, the server sets the values to g_nextMap and g_layouts instead of skipping to the next map in rotation.
In addition, this mod also introduces 3 new admin commands:
/alienint
/humanint
/specint
As admin (with the correct privileges), you basically have to roam around the map as a spectator to pick out what you want players to view as alien, human or spectator just before spawning. Intermission information will change for the current game when you do this.
Once you have built the alternative default bases and set the intermission camera angles/origin for each team, you can use
/rcon layoutsave (layoutname)
to save the buildables as well as the intermission information.
The rest is the same as the normal gpp version. There is very minimal change to the layout file format except for the addition of 3 new entities aptly named "alienint", "humanint" and "specint". However if you use the same layout file in an unmodded server you will undoubtedly see error messages on the server console for unrecognized buildables.
NOTE: /alienint, /humanint and /specint will change the intermission points for a running game if there is one in progress.
Servers Running this Mod- Sir| Official Clan Server: /connect sirclan.no-ip.org:9646
(also see
announcement on Sir| Clan Forum)
- Test server: /connect xdms.dynalias.com:9646
(where i test new updates and see if it breaks anything)
Known Bugs and/or Limitations- Unable to set intermission for some maps which do not have any (e.g. Karith)
-
Segmentation fault when trying to use /specint, /humanint or /alienint with maps without intermission info (fixed)
-
Allows admin to set intermission for a team even if he is on the opposite team (fixed - now only allows command in spectator mode)
- Commands /specint, /alienint and /humanint should(?) probably be allowed only in devmap.
To Do List-
Get a google code project page up for tracking this.