[SCRIPT][PIQUE] MapTeam.py (customised teams per map)

This Script lets u define Team names and colors for every map in their map.txt files.
This gives Mappers the option to define fitting team names and colors for their maps.

a lot of old maps use a green vs blue theme, but not every server follows that theme in their configuration.
so often u see servers that have Red vs Blue teams, but Red’s side of the map is themed green on some maps.
that is an ugly color dissonance which also affects gameplay. Blue is fortunate to have a matching theme so they blend well to their side of the map, but Red doesnt.

I like to thank Rakete for bringing me onto this idea!

Download:

Example: what to put in the extension section of ur map.txt file:

extensions = {
	"TeamName1"  : "Pink",
	"TeamColor1" : (255, 0, 255),
	"TeamName2"  : "Yellow",
	"TeamColor2" : (255, 255, 0),
}

u can also just define one of the teams:

extensions = {
	"TeamName1"  : "Pink",
	"TeamColor1" : (255, 0, 255),
}

in this case Team 2 will default to the contemporary value defined in the server’s config.toml

1 Like