.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   WinSPMBT (http://forum.shrapnelgames.com/forumdisplay.php?f=78)
-   -   How to edit infrantry icons? (http://forum.shrapnelgames.com/showthread.php?t=37774)

roberttt February 23rd, 2008 07:52 AM

How to edit infrantry icons?
 
What file do I need to edit?

thanks

DRG February 23rd, 2008 09:07 AM

Re: How to edit infrantry icons?
 
Icon0010.shp
Icon0011.shp
Icon0012.shp
Icon0013.shp
Icon0055.shp

roberttt February 23rd, 2008 03:49 PM

Re: How to edit infrantry icons?
 
Its crazy how many icon there is.

One more question: is game palette hardcoded?

thanks

DRG February 23rd, 2008 04:19 PM

Re: How to edit infrantry icons?
 
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

RecruitMonty February 29th, 2008 02:54 PM

Re: How to edit infrantry icons?
 
What Nations does Icon0055.shp represent?

DRG February 29th, 2008 03:59 PM

Re: How to edit infrantry icons?
 
Quote:

RecruitMonty said:
What Nations does Icon0055.shp represent?

"PLO",
"Iraq",
"N.Korea",
"N.Vietnam",
"Pakistan",
"Greece",
"Angola",
"Chile",
"Malaysia",
"Mozambique" ,
"Bulgaria",
"Tanzania"

RecruitMonty March 4th, 2008 11:45 AM

Re: How to edit infrantry icons?
 
Thankyou.


All times are GMT -4. The time now is 01:45 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.