Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Uniform Color

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Close Combat Series >> Close Combat: Panthers in the Fog >> Tech Support >> Uniform Color Page: [1]
Login
Message << Older Topic   Newer Topic >>
Uniform Color - 12/30/2014 1:01:06 PM   
Bel8910

 

Posts: 47
Joined: 4/28/2013
Status: offline
Steve,

using the Uniform.txt only is there a way to change the helmet color? I've been trying to figure out how to read this text but I seem to be missing something. I am making a WWI mod. Included in my mod is the 92nd Infantry (All Black) Division. Having served with the French, they were issued blue helmets rather than the "doughboy" helmets.

Thanks!
Post #: 1
RE: Uniform Color - 1/3/2015 9:11:02 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
The fourth entry is the helmet color. The order is:

Unused, Jacket, Pants, Helmet, Belt, Shoes, Weapon, Unused

Steve

(in reply to Bel8910)
Post #: 2
RE: Uniform Color - 1/5/2015 5:18:45 PM   
Bel8910

 

Posts: 47
Joined: 4/28/2013
Status: offline
Thanks, Steve!

(in reply to SteveMcClaire)
Post #: 3
RE: Uniform Color - 7/12/2016 12:05:09 AM   
Kanov


Posts: 312
Joined: 5/21/2012
From: México
Status: offline
Where do I see the correct colors? using Hexadecimal color calculator gives light colors and not what it is represented in game.

_____________________________

Hard-core Spectre

(in reply to Bel8910)
Post #: 4
RE: Uniform Color - 7/12/2016 6:42:45 AM   
Kanov


Posts: 312
Joined: 5/21/2012
From: México
Status: offline
I was able to edit the uniforms using the ccmt soldier color editor. What I did:
-Got a hold of a patched cc5.exe
-use rtb tool by mafi to extract soldier color as normal 9 column txt file
-use ccmt soldier color editor to open txt file created above
-edited index 0 and save
-copy line and paste it over desired line in gtc's uniform.txt
-test

Is there a more simple way?

_____________________________

Hard-core Spectre

(in reply to Kanov)
Post #: 5
RE: Uniform Color - 7/13/2016 5:04:24 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
The values in uniforms.txt are added to the base color value in the soldier sprite. So to determine the exact color you're going to get you'd need to unpack the 'soldiers' file with CCMunger (or some similar tool) and then examine the base RGB value for the pixel(s) that make up the uniform of the soldier, then subtract this from the value you want to get in the end, and this is what you'd put for the hex RGB values in uniforms.txt.

Attached is a utility that I originally created to edit uniforms.txt. It was designed for TLD but I think it should work fine with PitF / GtC. You can use it to file.open a uniforms.txt file and then mess with the values to see roughly what it will look like in game, then file.save the results.

Steve

Attachment (1)

< Message edited by Steve McClaire -- 7/13/2016 5:08:04 PM >

(in reply to Kanov)
Post #: 6
RE: Uniform Color - 7/13/2016 8:38:34 PM   
Kanov


Posts: 312
Joined: 5/21/2012
From: México
Status: offline
Yes, thank you very much!

The CCMT uniform editor only reached to 56.

Cheers!



_____________________________

Hard-core Spectre

(in reply to SteveMcClaire)
Post #: 7
RE: Uniform Color - 7/14/2016 11:28:16 AM   
SchnelleMeyer

 

Posts: 221
Joined: 3/26/2014
Status: offline
Thanks for the editor Steve! - I wonder If there are more gems (tools) like that in your cookiebox that can be shared with the modders:) ?

I made this conversion chart for using with the Uniform color editors. Hope this can help Kanov and others:

http://www.closecombatseries.net/CCS/modules.php?name=Forums&file=viewtopic&t=11247&highlight=uniforms+color+colour

(in reply to Kanov)
Post #: 8
RE: Uniform Color - 7/14/2016 4:36:02 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
SchnelleMeyer,

I've combined all of the most-recent dev tools into CCMunger. The only old tools I have are an old BTD file editor and a strat map data editor, both for the original release of CC5. I can post those if someone thinks they'd use them, but I don't even know if they'll run on modern Windows. :)

Steve

(in reply to SchnelleMeyer)
Post #: 9
RE: Uniform Color - 7/15/2016 10:35:33 AM   
SchnelleMeyer

 

Posts: 221
Joined: 3/26/2014
Status: offline
CCMunger is a great package of tools for the new releases. If its not too much trouble please post those CC5 tools as well as they might come in handy. If they wont run on W7 I have a backup computer with Win-XP available that has run the old tools that would not work on W7.

(in reply to SteveMcClaire)
Post #: 10
RE: Uniform Color - 7/18/2016 7:32:38 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
Here are the tools -- on closer inspection, they appear to be for CC4. You're welcome to use/distribute as desired.

Steve

Attachment (1)

< Message edited by Steve McClaire -- 7/18/2016 7:35:50 PM >

(in reply to SchnelleMeyer)
Post #: 11
RE: Uniform Color - 7/18/2016 11:26:56 PM   
SchnelleMeyer

 

Posts: 221
Joined: 3/26/2014
Status: offline
Thanks! - Don't think I will do any modding of old CC4 - but you never now:D

(in reply to SteveMcClaire)
Post #: 12
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Close Combat Series >> Close Combat: Panthers in the Fog >> Tech Support >> Uniform Color Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.828