Bug Tracker – Bug 557

TEAMINFO support

Last modified: 2010-02-09 19:26:03 UTC
Bug 557 - TEAMINFO support
Summary: TEAMINFO support
Status: NEW
Alias: None
Product: Odamex
Classification: Unclassified
Component: Server & Client (show other bugs)
Version: (old) 0.4
Hardware: All All
: P2 enhancement
Assignee: Odamex Bug Reporter
Depends on:
Reported: 2010-01-04 01:20 UTC by HeX_Vulture
Modified: 2010-02-09 19:26 UTC (History)
1 user (show)

See Also:


Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this bug.
Description HeX_Vulture 2010-01-04 01:20:02 UTC
TEAMINFO is a wad lump introduced into ZDoom that allows one to create new teams. The teams can have a specific name and use specific color combinations to allow several options for team customizations. 

I imagine that if TEAMINFO were to get introduced into Odamex it should take a similar approach to Skulltag's implementation to remain compatible with Skulltag and ZDoom. It is very simple to set up, an example for the Blue team can be seen here:

Team "Blue"
	PlayerColor "00 00 BF"
	TextColor "Blue"

	FlagItem "BlueFlag"
	PlayerStartThingNumber 5080

Note: This would be how the Blue team would be implemented into odamex.wad in the TEAMINFO lump if it were to be implemented.

However some additional things will probably have to be implemented to support the right flag icons in the HUD(SmallFlagHUDIcon/LargeFlagHUDIcon support too?). 

When people usually want to use translations, they use either green or gray. (Green being what Doom originally used for changing player colors, and gray because it has the largest color range.) I would recommend putting a gray flag in odamex.wad, remove the red/blue/gold ones, and simply translate from there.

More info here: http://zdoom.org/wiki/TEAMINFO
Comment 1 Mike Lightner 2010-01-04 01:23:57 UTC
More importantly, the whole concept of team assignment needs to be made dynamic.  Currently it's pretty static.
Comment 2 Mike Lightner 2010-02-09 19:26:03 UTC
Resetting to default assignee.