TEAMINFO: Difference between revisions
svn tags |
No edit summary |
||
| Line 6: | Line 6: | ||
== Syntax == |
== Syntax == |
||
clearteams // Optional |
|||
Teams can be defined using this syntax: |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
PlayerColor "RR GG BB" |
PlayerColor "RR GG BB" |
||
TextColor "Color" |
TextColor "Color" |
||
} |
|||
}</pre> |
|||
== Properties == |
== Properties == |
||
| Line 18: | Line 17: | ||
'''ClearTeams''' - Removes all predefined teams. Remember to place this before you define your own teams! |
'''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, " |
'''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, " |
'''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, " |
'''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. |
'''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 == |
== Examples == |
||
| Line 88: | Line 103: | ||
Logo "ASSALOGO" |
Logo "ASSALOGO" |
||
}</pre> |
}</pre> |
||
[[Category:Skulltag features]] |
|||
Revision as of 14:05, 12 January 2009
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
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"
}