Custom teams
Merge !2222 first.
New:
- Added
TEAM_
freeslotting - Added
TEAMLIST
to SOCGAMETYPE
- Added SOC
TEAM
- Added
teams[]
,teamscores[]
,numteams
andteamsingame
to Lua - Added
teams
option toG_AddGametype
- Added
P_GetTeamFlag
andP_GetTeamFlagMapthing
- Added
P_PlayerHasTeamFlag
- Added
P_MobjTouchingTeamBase
andP_TeamHasFlagAtBase
- Added
G_GetBestPerformingTeam
,G_GetWorstPerformingTeam
,G_GetMostAdvantagedTeam
andG_GetMostDisadvantagedTeam
- Added
teambase
UDMF sector field - Added
sector.teambase
- Added
MFE_TEAMITEM
andMFE_TEAMFLAG
(usesextravalue1
for the team ID) - Added map thing type 324 (CTF Team Flag)
- String argument 1: Team this flag belongs to
Fixed:
- Nothing to add
Backwards compatible:
- Nothing to add
Backwards incompatible:
- Nothing to add
TEAM
fields:
SOC 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 |
Lua team fields:
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 |
Edited by Lactozilla