CTF/e
Enhanced Capture the Flag
version 00.02.01 beta

Created by Dr. SiN

[What is CTF/e?]

CTF/e is an enhanced version of Unreal Tournament’s CTF. I created it in a fit after yet another match where people refused to even the teams. Because of this, I decided it was time to enhance the original.

CTF/e is a quick attempt at bringing some of the more important features of Quake 2’s L-Fire CTF mod to Unreal Tournament. The folks on the L-Fire team went a long way in terms of making CTF a true team game. CTF/e is a start. It’s by no means finished.

CTF/e is a also side project I’m doing because I love CTF.. period! I get to work on it in those rare moments I’m not doing normal work. It’s a one man adventure at the moment while I tinker and toil around with Uscript. If you think of something that should be in CTF/e, drop me a line. If it’s good, I’ll add it.

Please remember that CTF/e is in beta. Report any bugs, crashes (include logs) and ideas, requests or suggestions to mrsin@creativecarnage.com! If your running a server with CTF/e, drop me a line as well. Maybe I’ll come on and kick you around a bit J

[Features]

CTF/e is growing more and more every day. I’m getting a lot of good feedback on what many of you CTF’er really think needs to be changed. Let me point out that it’s not my goal to remake UT/CTF. If you think the Flak cannon is too much, don’t bother writing me. CTF/e is geared to enhancing the already excellent CTF support. With that in mind, here is the current finished features list…

+Logon Menu that allows Team Selection
+See the current state of the game before entering
+Select your team from an easy to use menu
+Improved Team Balancing Measures
+Players can not switch or join a team with a player advantage
+The team that has the advantage can not cap the flag until even
+Onscreen auto-message of Team Imbalance
+Players who switch no longer lose their score or a frag

NEW

+Server side toggle to give a bonus to the players who even the teams.
+Improved Console Support
+"team" command that allows easy switching of teams
+Improved "teamsay" command with % variable support.
NEW +"ShowPing" command that can keep your ping on-screen
NEW +AdvanceZoom allows for better control over the sniper rifle
+Improved HUD
+Flag status now shows who has the flag
+Ping can now constantly be displayed on screen.
+Improved Spectator Support
+Switch to/from a spectator without re-logging on to the server

NEW

+both 1st and 3rd person perspectives now supported.
+New Server Control

NEW

+Disable Behindview Cheating

 

[Running a CTF/e Server]

You start a CTF/e server just like a normal UT CTF server and all the options you have used to seeing are still there. CTF/e has however, added a few new options to your "Rules" menu when you start a server. They are:

::Balance Teams::

This is an option you will find in all UT Team games. I only mention it here because when checked, ALL CTF/e play balance features are in effect.

::Balance Tollerance::

This value is used to determine if teams are out of balance. If there is more than an X player spread between teams then play balance rules will take effect. The default is 2 players. I don’t suggest setting this below 2 (in fact, I’ll probably force it to 2 in a later version).

:: Flag Cap Restriction::

If this option is checked, any team that has a player advantage will be kept from capturing a flag. If a player on that team attempts to do so.. WATCH OUT.

:: Allow BehindView:: (NEW)

Many people consider players using the behindview command to look around corners cheating. I happen to agree with them (it’s lame) so I’ve added a server side switch to STOP YOU from doing it. It defaults to off (ie: doesn’t allow it).

:: Balance Bonus:: (NEW)

In my insane attempt to get players to even teams, I’ve resorted to allowing the server to hand out bonuses to players who switch to even it up. Right now the only bonus is 20 extra points. In the future, I plan on adding a pick list allowing you to give weapons, powerups, points, health, etc.

[console "TEAM" command]

CTF/e has a new command that can be used at the console "team". It is used to change to a different team or become a spectator. It’s format is:

Team <new team>

Possible values for <new team> are RED, BLUE or Spectator.

Changing teams no longer costs you points or frags. However you will be restricted if team balancing rules are in effect.

[console "ShowPing" command] (Updated)

 This command used to be called "TogglePing". I’ve changed it’s name and format to match my other console commands. The "ShowPing" command is used to turn on/off the on-screen ping display. I personally like to have a good idea what my ping is (especially on Modem) so this is my command J

This value is saved between settings. The usuage for this command is:

ShowPing [on/off | 1/0 | true/false]

If you type simply ShowPing at the console, it will display the current setting. You can toggle it by sending in one of the commands above. Where it get’s displayed on the screen is dependant on your current hud layout. It follows the same hud rules as your health and armor displays.

[console "AdvanceZoom" command] (New)

I’ve added this command for my clan mate and friend Mr. Sckum. He’s Mr. Sniper around here and wanted more control over the zoom. Well he got it. When Advanced Zoom is enabled, your next/prev weapon keys will scroll through the zoom levels of the sniper rifle. You will of course have to press ALT-Fire first.

The downside is the next/prev weapons functions are ignored when your zoomed so that’s a small (very small) penalty for using it.

This value is saved between settings. The usuage for this command is:

AdvanceZoom [on/off | 1/0 | true/false]

 

[console "teamsay" improvement]

I’ve added some functionality to the TeamSay command. The UT command menus are impossible to use during a real game so I’ve added the ability to include % variables just like Quake 2. They are:

%H : Health

%W : Current weapon

%A : Armor

%P : Posture

%% : prints a "%"

All of these should be pretty self explainatory except %P. When you use the %P command, CTF/e will attempt to decide what your current role in the game is. You might be attacking, defending, floating, going after the enemy flag carrier, or defending yours. I’m sure this variable isn’t perfect yet, but it’s a big help.

I’m open for suggestions for new variables that people might find useful. Notice I’ve removed the %L command. It was useless. Some people have asked for a command to display ammo of current weapon. That will be implemented in the next release.

So… for example.. if you typed:

Teamsay "%P with %w and %h/%a" you might end up saying:

"Attacking Enemy Flag Carrier with a Redeemer and 75 health/A Powershield (50%)"

See how nice that is.

[Logon Menu]

When you first connect to a CTF/e server, you will be greeted by the CTF/e Logon menu. Here you can see info about the server, pick a team or enter spectator mode. Note if team balance is in effect, you might not be able to join the team you want to. In the top of the menu, a display showing the current teams and score can be found.

I find the current UT method so annoying as ½ the time, people joining a game have no idea the teams are so screwed. This is actually the reason I made CTF/e.

You can also bring up this menu by typing "emenu" at the console. CTF/e will also automatically bind "emenu" to the scroll lock key. I know damn well I’ll probably run in to one or two people who actually try and use the scroll lock key during play so sue me.

You can press ESC to make the logon menu go away.

[Spectator Mode]

I’ve added a much nicer spectator mode to CTF/e. In order to be a spectator in UT, you have to log off and change your player class. I’ve made it much easier. Just bring up the Logon menu and select spectator or type "team spectator" at the console and bingo, now your just a watching.

In spectator mode, you can watch from the original 3rd person view or switch to the first person. The controls work as follows:

Fire will flip between all the different players in the game.

Alt-Fire will switch between 1st and 3rd person views.

In the future I’ll add some other custom stuff for spectators, but this is enough for now.

[Server Browser]

CTF/e supports Unreal Tournament's built in server browser.  However if you choose to not install this support when you installed CTF/e, here is how to do it.

You will need to edit 2 files, UNREALTOURNAMENT.INI and UBROWSER.INT.  These files have the necessary setup information for CTF/e to work.

If you chose not to install the CTF/e support, it's ok.  CTF/e servers will still display in the main server list.  I just find it easier to search see just CTF/e servers.

 

STEP #1: Changes to UNREALTOURNAMENT.INI

Open up the file UNREALTOURNAMENT.INI with your favorite editor (ie: NOTEPAD).   Search through it until you find the section

[UBrowser.UBrowserMainClientWindow]

Under this section there should be several "ServerListNames[xxx]" fields filled out.   Find the first field that is blank (probably #10) and change it to the following...

from: ServerListNames[10]=None

To: ServerListNames[10]=UBrowserCTFe

This will create our custom tab on the browser.  We now need to tell it what to do with that tab.  Scroll down to the very end of the ini file and add the following 2 lines...

[UBrowserCTFE]
ListFactories[0]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=CTFeGame,bCompatibleServersOnly=True

This tells the browser what type of servers to display in our tab.    Now save this file, we are done with it.

STEP #2: Changes to the UBROWSER.INT file

The next file is the INT file that is used when setting up the browser.   Open up UBROWSER.INT and add the following line at the very end:

UBrowserCTFe=Enhanced CTF

Save the file and your good to go.  CTF/e will now have it's own custom tab in the browser.  Don't you wish you just let the installer do it!

[The Future]

Wow.. are a lot of things planned. Here is a brief list of what’s on my agenda…

+ More % variables for TeamSay

+ Autoswitching of players to fix team balancing

+ FLAG DUELS

+ Server switch to boot spectators at the start of each map

+ New CTF scoring system that actually rewards team play

+ Implementation of CTF medals.

+ Tracking of Caps/Saves instead of frags

+ Adding more improvements to the Spectator cam

+ New Spectator Hud

+ New Scoreboards

+ On screen Team Display

Who knows what else.

[Bug Fixes]

The following bugs where squashed since the last release

+CTF Flag is now dropped when you change teams (oops)
+%P now correctly knows the difference between RED and BLUE
+Bots now rebalance the teams when a player enters spectator mode
+PING display now correctly scales

[Contacting Me]

email: mrsin@creativecarnage.com

Sometimes I hang out in #unrealscript on Gameslink.