TEAMINFO

From ZDoom Wiki
Revision as of 18:33, 31 January 2010 by Gez (talk | contribs) (This is not a Skulltag feature (though it's mostly useful for ST))
Jump to navigation Jump to search

TEAMINFO allows a player to define custom teams for team deathmatch play mode. There is no limit of teams you can define meaning it's possible for you to define a wide and exciting variety of teams.

Syntax

clearteams // Optional
Team <Name>
{
        PlayerColor "RR GG BB"
        TextColor "Color"
}

Properties

ClearTeams - Removes all predefined teams. Remember to place this before you define your own teams!

Name - The name of your team to be defined, e.g, "Purple".

PlayerColor - In a hexadecimal format, this property defines the color of the player on said team, e.g, "FF 00 00".

TextColor - The color of the players' name on the scoreboard, e.g, "RED".

RailColor - In a hexadecimal format, the color of your team's railgun, e.g "FF 00 FF".

Logo - The name of the logo drawn on the scoreboard.

FlagItem - The actor for your team's flag (in capture the flag).

SkullItem - The actor for your team's Skull (in skulltag mode).

PlayerStartThingNumber - The team start thing number.

SmallFlagHUDIcon - This icon is shown on the screen next to the name of the player who is holding the flag.

SmallSkullHUDIcon - This icon is shown on the screen next to the name of the player who is holding the skull.

LargeFlagHUDIcon - The flag icon on the full screen HUD.

LargeSkullHUDIcon - The skulll icon on the full screen HUD.

Examples

Here are the defined teams in zdoom.pk3.

ClearTeams

Team "Blue"
{
	PlayerColor "00 00 FF"
	TextColor "Blue"
}

Team "Red"
{
	PlayerColor "FF 00 00"
	TextColor "Red"
}

Team "Green"
{
	PlayerColor "00 FF 00"
	TextColor "Green"
}

Team "Gold"
{
	PlayerColor "FF FF 00"
	TextColor "Gold"
}

Team "Black"
{
	PlayerColor "00 00 00"
	TextColor "Black"
}

Team "White"
{
	PlayerColor "FF FF FF"
	TextColor "White"
}

Team "Orange"
{
	PlayerColor "FF 80 00"
	TextColor "Orange"
}

Team "Purple"
{
	PlayerColor "FF 00 FF"
	TextColor "Purple"
}

Here's another example:

Team "Assassins"
{
       PlayerColor "FF 10 00"
       TextColor "DarkRed"
       Logo "ASSALOGO"
}