In my mod, units can have several (de)buffs like +xx dmg or +xx speed. I would like to use small sprites placed above the units heads to indicate which buffs they got at the moment.
A possible way to do this would be to use Text Markers (not sure if thats the right word, i use the german client, and that would be the german word translated) and use a text like "<img path="img.dds" />". The problem is, The sprite always has the same size, no matter how close the unit is to the camera.
Is there a way to do this? The whole thing should not require too much performance, because in my mod there are a lot of units woth buffs at the same time.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
In my mod, units can have several (de)buffs like +xx dmg or +xx speed. I would like to use small sprites placed above the units heads to indicate which buffs they got at the moment. A possible way to do this would be to use Text Markers (not sure if thats the right word, i use the german client, and that would be the german word translated) and use a text like "<img path="img.dds" />". The problem is, The sprite always has the same size, no matter how close the unit is to the camera. Is there a way to do this? The whole thing should not require too much performance, because in my mod there are a lot of units woth buffs at the same time.