Editing Soldier Colours

CC Mod and Map Makers Forum

Moderators: KG_Werfer, Sulla

Re: Editing Soldier Colours

Postby Senior Drill » Fri Nov 17, 2006 2:05 am

IIRC, CC3 and CC4 use the exact same color sets. CC5 and CCM v3.1 also use the same color sets. The only difference between CC3\CC4 and CC5\CCM are the Russian and American colors. The German (Opfor in CCM) use the same set througout. Obviously, the offsets are different.

Identify the German uniform color section and use that as the basis for finding the entire section in CCM.
C'est magnifique, mais ce n'est pas la guerre. - Pierre Bosquet, 1854
User avatar
Senior Drill
 
Posts: 1533
Joined: Sun Aug 18, 2002 12:00 pm
Location: 22134
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby schrecken » Fri Nov 17, 2006 2:33 am

Looks like CC4 Matches from

1194012 - 1195055
schrecken
 
Posts: 1823
Joined: Thu Mar 27, 2003 1:00 pm
Location: Sydney
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby schrecken » Fri Nov 17, 2006 2:51 am

CC5 = 1276036 - 1277079
schrecken
 
Posts: 1823
Joined: Thu Mar 27, 2003 1:00 pm
Location: Sydney
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby schrecken » Fri Nov 17, 2006 3:41 am

grrrr... can't find a matching string in CCM.

will look at it with fresh eyes later.
schrecken
 
Posts: 1823
Joined: Thu Mar 27, 2003 1:00 pm
Location: Sydney
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby Senior Drill » Fri Nov 17, 2006 4:51 am

I found it. It is 1474052 to 1475095, or 167e04H to 168217H, depending on the position format you use.

Philip, you can use Cpl Filth's Soldier Color editor on CC5 to get the sets you want, then copy and paste that from the CC5.exe to the CCM.exe. The Styles column in the AlsTeams.adb and the GeTeams.adb then need to be adjusted to the set for each. CCM only used 5 or 6 of the available 18, so go with CC5's numbers. (Notice how almost everyone in CCM appears to be carrying an MG? Sloppy work by Atomic.)

@shrecken: Don't bother trying to find the table in CCRAF or CCM v5. They aren't in the .exe anymore. They are a text file in Data\Base, which will be the format for CC6 and beyond.
C'est magnifique, mais ce n'est pas la guerre. - Pierre Bosquet, 1854
User avatar
Senior Drill
 
Posts: 1533
Joined: Sun Aug 18, 2002 12:00 pm
Location: 22134
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby Uberdave » Fri Nov 17, 2006 5:21 am

How about modding some of those early-WW2 era Phillipino Army uniforms?

Banana yellow pants... :speechles
User avatar
Uberdave
 
Posts: 2212
Joined: Mon Apr 28, 2003 2:07 am
Location: First city of the Free State
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby Senior Drill » Fri Nov 17, 2006 5:29 am

How ripe of a banana for banana yellow? You could do it. Just keep the HSL mix well below pure yellow so that the spite outlines when selecting that team and the pants don't appear to blend.
C'est magnifique, mais ce n'est pas la guerre. - Pierre Bosquet, 1854
User avatar
Senior Drill
 
Posts: 1533
Joined: Sun Aug 18, 2002 12:00 pm
Location: 22134
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby schrecken » Fri Nov 17, 2006 6:00 am

That's why.... was looking in CCM5....BAS^$#@$#@#@!!!! LOL


and now I do remember... I need sleep!
schrecken
 
Posts: 1823
Joined: Thu Mar 27, 2003 1:00 pm
Location: Sydney
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby normski- » Fri Nov 17, 2006 7:29 am

@Schrecken

Or you can cut and paste existing uniform changes using your new hex editor.


Thanks I'll try that... would save a lot of heartache.

I've noticed that you can't replace all the references to Germans in the exe file. 'The Germans gained control of the area and will advance'.
normski-
Oberfeldwebel
Oberfeldwebel
 
Posts: 163
Joined: Sat Feb 14, 2004 4:53 pm
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby Senior Drill » Fri Nov 17, 2006 7:37 am

Some of the verbage is located in the CCResourceDLL.dll file. You can use a hex editor to change what is in that, with the cavaet that you can't change the offsets. So you can change "Germans" to read as "Fookers", but not "Wacki Pakies" unless each entry has unused byte spacers before the next bit of data.
C'est magnifique, mais ce n'est pas la guerre. - Pierre Bosquet, 1854
User avatar
Senior Drill
 
Posts: 1533
Joined: Sun Aug 18, 2002 12:00 pm
Location: 22134
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby schrecken » Fri Nov 17, 2006 7:59 am

use "Reshack" to edit the dll file

do a google serch for the link.
schrecken
 
Posts: 1823
Joined: Thu Mar 27, 2003 1:00 pm
Location: Sydney
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby Uberdave » Fri Nov 17, 2006 8:01 am

Yes, you can edit almost all of the in-game text (not just end-of-battle descriptions) via the ResHack tool. Very nice.
User avatar
Uberdave
 
Posts: 2212
Joined: Mon Apr 28, 2003 2:07 am
Location: First city of the Free State
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby Nembo » Fri Nov 17, 2006 4:05 pm

I would think that CCM has more uniforms defined then either CC3 or CCV, and the colors are going to be different I assume. But the layout should be the same. I looked it up in RTB a while back but, stupid me :speechles I didn't right down what the address was.
Nembo
Invasion Norway
For CCII.
User avatar
Nembo
 
Posts: 790
Joined: Fri Nov 26, 2004 3:44 pm
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby Senior Drill » Fri Nov 17, 2006 5:23 pm

No. Actually, CCM v3.1 used the same uniform colors as CC5 and only six of the style numbers (0, 3, 4, 5, 7 and 9) out of a possible eighteen for all four of the "nationalites".
C'est magnifique, mais ce n'est pas la guerre. - Pierre Bosquet, 1854
User avatar
Senior Drill
 
Posts: 1533
Joined: Sun Aug 18, 2002 12:00 pm
Location: 22134
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby JimRM2 » Fri Nov 17, 2006 6:47 pm

A bit OT

It would be cool if someone had the time to compile all of the "known" offsets into a readable form and post it to one location so it can be referenced anytime someone has a question about them. The arty/naval offsets are well known. Strat offsets as well. Any others besides soldier color? If I had the time to do it I would. Any volunteers?
User avatar
JimRM2
 
Posts: 1647
Joined: Tue Jul 22, 2003 12:00 pm
Like / Share CSO - Post

PreviousNext

Return to Mod And Map Making Forum

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.