How to give Teams different names

 

PREREQUISITES

- Basic level construction and entity knowledge
- WorldCraft 2.1 knowledge

INTRODUCTION

**NOTE** This tutorial was written using version 1.0L of the TFC Game Data file

This small tutorial explains how to give the teams in your map different names, other than the default: Red, Blue, Yellow, Green. This is done by changing a value in the info_tfdetect entity. The info_tfdetect entity is maybe THE most important TFC entity, in that it's the entity that makes the map a TFC map.

Each of the info_tfdetect mini tutorials will be covering only one aspect of the info_tfdetect entity. You can combine all the different options into one single info_tfdetect to get the desired result. Remember to use only ONE info_tfdetect in your TFC map.

GIVING TEAMS UNIQUE NAMES

- The first step is to place an info_tfdetect in your map. The placement of this entity is not important, but please remember to NOT place it in the void! :)

- After you've placed your info_tfdetect in the map, select the entity and hit ALT+ENTER. This will bring up the properties for the entity.

The Attribute we are going to focus on is 'Team menu string', or 'team_broadcast' if you've got SmartEdit turned off.

The 'Team menu string' allows you to control the layout of the Team option screen you get in TFC, and also the name of the teams. Creating new team names is really as simple as typing the new names in...almost.

You can't see the complete value I entered for 'Team menu string' in the above screenshot, so here's what I typed in:

Choose Teams:\n\n1. Blue team of death\n2. Red team of pain

Notice the \n's I've included in the above string. Any time you want to separate options, you MUST put a \n directly after the value. These will also work as line breaks on the screen...if you put two \n's after a value, the next value listed will be two lines below the previous value.

In the above example, I used Blue and Red in the team names. This is not necessary, but I recommend doing something similar so that players know what team color is associated with their team name.

If you are making a map that will use more than 2 teams, you would simply continue the string to include the names for the Yellow and Green teams. For example:

Choose Teams:\n\n1. Blue team of death\n2. Red team of pain\n3. Yellow team of agony\n4. Green team of mold

Get the picture? The above is just an example, and I don't suggest you use such silly names for your team!

- When you're all done changing the 'Team menu string', compile your map and run it. You will now see custom team names on the TFC Team selection screen. If you've done everything correctly, your TFC game screen should look something like this:

 

- evilchild