There are two parts for this:
1: Modding functionality
In the sovereign element, you would be able to define 3 different colors for its active states: Friendly, Neutral and Enemy. (Active states being for objects that are not dead/wrecked)
ie, like this
Code: Select all
<sovereign unid="&svTest"
colorFriendly="0x00, 0xFF, 0x00"
colorNeutral="0x00, 0x00, 0xFF"
colorEnemy="0xFF, 0x00, 0x00"
alignment="constructive order"
name="Test Faction">
</sovereign>
2: In-game functionality
All dead objects would be marked as Grey (probably something like 0x888888) by default. As they are dead & thus inert. As such we decided my original plan to have colors for dead objects as well was rather silly & would just complicate things.
Perhaps neutrals could be given something of their own? (ie blue as suggested in the example above)