.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old February 23rd, 2008, 07:52 AM

roberttt roberttt is offline
Private
 
Join Date: Feb 2008
Posts: 20
Thanks: 0
Thanked 9 Times in 3 Posts
roberttt is on a distinguished road
Default How to edit infrantry icons?

What file do I need to edit?

thanks
Reply With Quote
  #2  
Old February 23rd, 2008, 09:07 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,504
Thanks: 3,972
Thanked 5,709 Times in 2,820 Posts
DRG will become famous soon enough
Default Re: How to edit infrantry icons?

Icon0010.shp
Icon0011.shp
Icon0012.shp
Icon0013.shp
Icon0055.shp
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #3  
Old February 23rd, 2008, 03:49 PM

roberttt roberttt is offline
Private
 
Join Date: Feb 2008
Posts: 20
Thanks: 0
Thanked 9 Times in 3 Posts
roberttt is on a distinguished road
Default Re: How to edit infrantry icons?

Its crazy how many icon there is.

One more question: is game palette hardcoded?

thanks
Reply With Quote
  #4  
Old February 23rd, 2008, 04:19 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,504
Thanks: 3,972
Thanked 5,709 Times in 2,820 Posts
DRG will become famous soon enough
Default 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
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #5  
Old February 29th, 2008, 02:54 PM
RecruitMonty's Avatar

RecruitMonty RecruitMonty is offline
Captain
 
Join Date: Jul 2005
Location: London (Great Britain)
Posts: 838
Thanks: 200
Thanked 144 Times in 87 Posts
RecruitMonty is on a distinguished road
Default Re: How to edit infrantry icons?

What Nations does Icon0055.shp represent?
__________________
"Wir Deutschen sollten die Wahrheit auch dann ertragen lernen, wenn sie für uns günstig ist."
Reply With Quote
  #6  
Old February 29th, 2008, 03:59 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,504
Thanks: 3,972
Thanked 5,709 Times in 2,820 Posts
DRG will become famous soon enough
Default 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"
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #7  
Old March 4th, 2008, 11:45 AM
RecruitMonty's Avatar

RecruitMonty RecruitMonty is offline
Captain
 
Join Date: Jul 2005
Location: London (Great Britain)
Posts: 838
Thanks: 200
Thanked 144 Times in 87 Posts
RecruitMonty is on a distinguished road
Default Re: How to edit infrantry icons?

Thankyou.
__________________
"Wir Deutschen sollten die Wahrheit auch dann ertragen lernen, wenn sie für uns günstig ist."
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 04:47 AM.


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