Merge !2222 first.
TEAM_
freeslottingTEAMLIST
to SOC GAMETYPE
TEAM
teams[]
, teamscores[]
, numteams
and teamsingame
to Luateams
option to G_AddGametype
P_GetTeamFlag
and P_GetTeamFlagMapthing
P_PlayerHasTeamFlag
P_MobjTouchingTeamBase
and P_TeamHasFlagAtBase
G_GetBestPerformingTeam
, G_GetWorstPerformingTeam
, G_GetMostAdvantagedTeam
and G_GetMostDisadvantagedTeam
teambase
UDMF sector fieldsector.teambase
MFE_TEAMITEM
and MFE_TEAMFLAG
(uses extravalue1
for the team ID)TEAM
fields:Field | Description |
---|---|
NAME |
Name |
FLAGNAME |
Name of the flag |
FLAG |
GF_ constant |
FLAGTYPE |
Object type |
WEAPON |
Object type of team weapon (what can be picked up) |
MISSILE |
Object type of team missile (what is fired by a player) |
COLOR |
Team color (SKINCOLOR_ ) |
WEAPONCOLOR |
Weapon color (SKINCOLOR_ ) |
MISSILECOLOR |
Missile color (SKINCOLOR_ ) |
ICON |
Team icon |
FLAGICON |
Team flag icon (if applicable) |
GOTFLAGICON |
Icon when another team's flag is held by your team |
MISSINGFLAGICON |
Icon when the your team's flag is held by another team |
Field | Description | Returns |
---|---|---|
name |
Name | string |
flag_name |
Name of the flag | string |
flag |
Flag enum |
GF_ enum |
flag_mobj_type |
Object type |
MT_ enum |
weapon_mobj_type |
Object type of team weapon (what can be picked up) |
MT_ enum |
missile_mobj_type |
Object type of team missile (what is fired by a player) |
MT_ enum |
color |
Team color |
SKINCOLOR_ enum |
weapon_color |
Weapon color |
SKINCOLOR_ enum |
missile_color |
Missile color |
SKINCOLOR_ enum |
icon |
Team icon | string |
flag_icon |
Team flag icon (if applicable) | string |
captured_flag_icon |
Icon when another team's flag is held by your team | string |
missing_flag_icon |
Icon when the your team's flag is held by another team | string |