Team Colors on Map Features
Moderator: Moderators
Team Colors on Map Features
Excuse my lack of experience. Is it possible for map features to be updated with team color dynamically during a game. Searched and no definitive answer. Thanks in advance!
Re: Team Colors on Map Features
Absolutely yes. The teamcolor distribution on a feature is is the same as a model. Alpha channel of texture 1.
The actual color is the same as the the corresponding owner team ID.
You can use lua to transfer a feature to a team:
Spring.TransferFeature( number featureID, number teamID ) -> nil
http://springrts.com/wiki/Lua_SyncedCtr ... e_Handling
The actual color is the same as the the corresponding owner team ID.
You can use lua to transfer a feature to a team:
Spring.TransferFeature( number featureID, number teamID ) -> nil
http://springrts.com/wiki/Lua_SyncedCtr ... e_Handling
Re: Team Colors on Map Features
You're the best. Thanks!