TEAMINFO: Difference between revisions

From ZDoom Wiki
Jump to navigation Jump to search
Content deleted Content added
New page: __NOTOC__{{svn}} == TEAMINFO == 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 ...
 
No edit summary
Line 16: Line 16:


== Properties ==
== 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, "Blue".
'''Name''' - The name of your team to be defined, e.g, "Blue".


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


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

Revision as of 09:06, 21 December 2007

(development version only)

TEAMINFO

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

Teams can be defined using this syntax:

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, "Blue".

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

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

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"
}