changing uniform colors in pitf and gtc

CSO Tech Help Forum

Moderators: KG_Werfer, Sulla

changing uniform colors in pitf and gtc

Postby telkkä » Thu Nov 09, 2017 11:48 am

Hello,

I have been trying to find in the forums that how you change uniform colors in these newer releases like pitf and gtc but haven't found. I have this old uniform color editor but it seems that it is designed to older games. Am I wrong? So please if somebody could enlighten me.

Telkkä
telkkä
Obergerfreiter
Obergerfreiter
 
Posts: 6
Joined: Sun Feb 08, 2015 6:10 pm
Like / Share CSO - Post

Re: changing uniform colors in pitf and gtc

Postby SchnelleMeyer » Sat Nov 11, 2017 2:07 am

Attached is a tool to edit the soldier colours - I think I got it from tha Matrix site.
In the forum post linked below you will find another attachment with my "decoding" of the CC colour codes.

http://www.closecombatseries.net/CCS/mo ... t=uniforms

Hope this helps you out.
Attachments
CCUniformColor.zip
CCUniform edior
(120.47 KiB) Downloaded 4 times
SchnelleMeyer
Obergerfreiter
Obergerfreiter
 
Posts: 17
Joined: Wed Mar 19, 2014 10:30 pm
Like / Share CSO - Post

Re: changing uniform colors in pitf and gtc

Postby telkkä » Sat Nov 11, 2017 6:54 pm

Thank you very much! I was able to change some colors but can you or somebody explain which sections in uniform text are for team leaders, gunners etc because only some soldiers in squad change colors? :think:
telkkä
Obergerfreiter
Obergerfreiter
 
Posts: 6
Joined: Sun Feb 08, 2015 6:10 pm
Like / Share CSO - Post

Re: changing uniform colors in pitf and gtc

Postby SchnelleMeyer » Sat Nov 11, 2017 7:13 pm

telkkä wrote:Thank you very much! I was able to change some colors but can you or somebody explain which sections in uniform text are for team leaders, gunners etc because only some soldiers in squad change colors? :think:


If you did not do it allready - DL the Workbook from here: http://www.matrixgames.com/forums/tm.asp?m=3244271

Start of the Uniforms.txt from the PITF workbook:

# Uniforms.txt handles mapping the soldier nationality, style, and weapons to uniform colors for the
# soldier sprites. There are 8 entries per soldier color set (NOT 9 as per earlier versions).
#
# Each nation (0-7 max) has 4 styles (0-3) and 3 weapon distrinctions (0-2)
# weapon colorations are 'other', LMG/Mortar/MG/SMG, and Flt/AT in that order
#
# Nation 0, Style 0 (US Infantry)
0x000000, 0xfefef5, 0xfdfff4, 0x040301, 0x02fcf7, 0x0e090a, 0xf2f7e7, 0x000000
0x000000, 0xfefef5, 0xfdfff4, 0x040301, 0x02fcf7, 0x0e090a, 0xf2f7e7, 0x000000
0x000000, 0xfefef5, 0xfdfff4, 0x040301, 0x02fcf7, 0x0e090a, 0xf2f7e7, 0x000000

- Here is Nation 0 (USA); and the first of 4 possible styles; 1 line of data is the 1.weapon distinction - "Other" - that is any regular soldier or leader, 2.line is LMG/Mortar/MG/SMG carriers and crew, 3.Line is Flamethrower and AT guys.

Nation and style for each team is controlled through the Alsteams.txt and Axsteams.txt
The soldiers primary weapon determines what weapon distinction variant he gets.
SchnelleMeyer
Obergerfreiter
Obergerfreiter
 
Posts: 17
Joined: Wed Mar 19, 2014 10:30 pm
Like / Share CSO - Post

Re: changing uniform colors in pitf and gtc

Postby telkkä » Sat Nov 11, 2017 7:19 pm

huh and tnow they even change colors when they move or engage enemy? whaaat?
telkkä
Obergerfreiter
Obergerfreiter
 
Posts: 6
Joined: Sun Feb 08, 2015 6:10 pm
Like / Share CSO - Post

Re: changing uniform colors in pitf and gtc

Postby telkkä » Sat Nov 11, 2017 7:29 pm

Hahaa its working! making good progress with my best ever mod! Thanks!
telkkä
Obergerfreiter
Obergerfreiter
 
Posts: 6
Joined: Sun Feb 08, 2015 6:10 pm
Like / Share CSO - Post

Re: changing uniform colors in pitf and gtc

Postby SchnelleMeyer » Sat Nov 11, 2017 7:34 pm

Allright - cool!
SchnelleMeyer
Obergerfreiter
Obergerfreiter
 
Posts: 17
Joined: Wed Mar 19, 2014 10:30 pm
Like / Share CSO - Post


Return to Tech Help Forum

cron
This site is not affiliated to or has anything relating to the philosophies of any radical, political, racist or fascistic organizations. fight fascism! This site is dedicated and serves as an information-pool to all close combat gamers.

Copyright 2015 -- CloseCombat.Org All Rights are Reserved.