Changing Colors
I've been playing wargus and decided to start making a mod, starting with the graphics. I started making my own buildings and started replacing them, but for some reason in game some colors started flickering on it, so I thought it might be too high bit and fixed the building, then I added another one but now all the icons are flickering too. Do I just need to simply render the building to look warcraft 2 style, or is there a way to fix this?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Wargus Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2012-02-16
- Last reply:
- 2013-07-01
Joris Dauphin (joris-dauphin) said : | #1 |
graphism should use pallette.
some colors in the palette are reserved for player color, "color cycling" (mainly for the water).
(according to stratagus.lua
DefinePlayerCol
AddColorCycling
AddColorCycling
AddColorCycling
)
Launchpad Janitor (janitor) said : | #2 |
This question was expired because it remained in the 'Open' state without activity for the last 15 days.
Pali (pali) said : | #3 |
Marked as answered
The same issue happened to me when I added a second icon. It seems that the problem was not with my icon itself, but that I replaced icon 171, and without it the pallette may no longer be saved correctly. When I added my two icons to the end of the icons.png file instead, everything worked fine, and the issue was solved.
Can you help with this problem?
Provide an answer of your own, or ask Bullet for more information if necessary.