Author Topic: Alternative Layout and Intermission Mod  (Read 10013 times)

WoGoMo

  • Posts: 95
  • Turrets: +6/-6
Alternative Layout and Intermission Mod
« on: December 16, 2010, 11:16:20 pm »
NOTE: Google code page for this mod is at http://code.google.com/p/wogomo-tremulous-mod/

Introduction

This 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-22

Here 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-22

Usage

The command /callvote has been modified to accomodate alternative layoutsupdated 2010-12-21. Usage:

Code: [Select]
/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:
Code: [Select]
/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:
Code: [Select]
/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
Code: [Select]
/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.
« Last Edit: December 22, 2010, 08:19:03 am by WoGoMo »
There is no sig...

DraZiLoX

  • Posts: 844
  • Turrets: +24/-24
Re: Alternative Layout and Intermission Mod
« Reply #1 on: December 16, 2010, 11:27:03 pm »
Sounds cool. I will try it out when i'm not this tired :)

WoGoMo

  • Posts: 95
  • Turrets: +6/-6
Re: Alternative Layout and Intermission Mod
« Reply #2 on: December 17, 2010, 06:07:29 am »
I have a test server up. Its laggy though, running on my office computer and dsl network connection shared by the rest of my staff.

Just look for "WoGoMo's Alternative Layout and Intermission Mod" "Sir| Clan Server" on the server list.

If it doesnt appear on the list, try /connect sirclan.no-ip.org:9646
« Last Edit: December 18, 2010, 08:57:47 am by WoGoMo »
There is no sig...

DraZiLoX

  • Posts: 844
  • Turrets: +24/-24
Re: Alternative Layout and Intermission Mod
« Reply #3 on: December 17, 2010, 09:44:10 am »
It doesn't just sound cool, it is! Nicely done!

WoGoMo

  • Posts: 95
  • Turrets: +6/-6
Some Updates
« Reply #4 on: December 18, 2010, 03:51:35 am »
Some updates have been made to fix a couple of bugs I found. (Check Known Bugs and Limitations in the first post)

UPDATE: This mod is now also running on the Sir| Clan Server. Currently the following maps have alternative layouts and intermission points: Niveus, Tremor, theBunker, and UTCS.



It doesn't just sound cool, it is! Nicely done!

Why thank you drazi  ;D
« Last Edit: December 18, 2010, 08:58:15 am by WoGoMo »
There is no sig...

WoGoMo

  • Posts: 95
  • Turrets: +6/-6
Updates Dec 21, 2010
« Reply #5 on: December 21, 2010, 01:06:18 pm »
Added layout support to /callvote map and /callvote map_restart. See first post for details.
There is no sig...

cron

  • Donators
  • *
  • Posts: 197
  • Turrets: +22/-22
    • GrangerHub
Re: Alternative Layout and Intermission Mod
« Reply #6 on: December 22, 2010, 04:05:29 am »
Very nice! These are features I've wanted to see for a while now :)

WoGoMo

  • Posts: 95
  • Turrets: +6/-6
Updates Dec 22, 2010
« Reply #7 on: December 22, 2010, 07:07:29 am »
Added support for /callvote nextmap (mapname) (layoutname).

First post has been updated to reflect this change.
There is no sig...

Sockem

  • Posts: 36
  • Turrets: +0/-11
Re: Alternative Layout and Intermission Mod
« Reply #8 on: December 22, 2010, 05:24:27 pm »
 ??? ??? ??? i wonder how to apply for admin  ??? ??? ??? i wanna be able to have an admin acount,but i need a vouch, will anybody help me?
       :tyrant: :tyrant: :tyrant: :tyrant: :tyrant: :tyrant: :tyrant: :tyrant: :tyrant: :tyrant: :tyrant: :tyrant: :tyrant:
« Last Edit: December 22, 2010, 05:27:05 pm by Sockem »

CorSair

  • Posts: 430
  • Turrets: +14/-0
Re: Alternative Layout and Intermission Mod
« Reply #9 on: December 23, 2010, 06:10:02 pm »
^
What



Neat little mod, man! ;D

cron

  • Donators
  • *
  • Posts: 197
  • Turrets: +22/-22
    • GrangerHub
Re: Alternative Layout and Intermission Mod
« Reply #10 on: October 05, 2011, 04:29:12 am »
Necro bump for clarity. The file alternate layouts and intermission patch (adl.patch) can be downloaded from WoGoMo's google code project: http://code.google.com/p/wogomo-tremulous-mod/downloads/