Quote:
roberttt said:
Its crazy how many icon there is.
|
There are five different coloured infantry sets and each one, in MBT, runs from 13 men to 1 man and that's the way it was set up so yes, there will be quite a few of them
Quote:
roberttt said:
One more question: is game palette hardcoded?
thanks
|
Yes and no. The palette the code uses is fixed in code but it is controlled by an external file. If you change any colour in that external file you change every terrain tile or Icon in the game that uses that colour.
The game only knows it needs to display, for example, colour #35 on an Icon or terrain tile and that colour number may be a medium brown right now. If you change that colour in the master palette to something different then every bit of terrain or any icon that calls for that colour will display that new colour every time the game looks for colour #35 so simply changing brown to green has a huge knockoff effect.
There are colours in the code that the game uses to show water and smoke movement and they need to be maintained or , at the very least, changed very carefully and the game also uses a mirror colour for many of the colours that allows the game to show dark areas . For example, when you check what hexes a unit can see those hexes that a unit cannot see go dark and it's not because some bit of code darkens the screen in those areas....what happens is the game shifts to the "mirror" colours in the game palette to make the hex darker so any change to the basic colour usually requires you make a change to the mirror colour as well to keep things looking consistant
That's why we don't encourage people to play with the master palette.
One last thing.......... we have had a few people in the past take infantry icons from another game and put them in our Shp files and then post them to these forums. Taking artwork from any other game and putting it in ours is not allowed and any post that does that will be deleted. However, if you have your own original artwork you wish to publish that's OK.
Don