Unit Uniform Changes...Can Someone Help Me Out?

This is where our experts try to teach you the very flexible modding system for our previous release - SOW Gettysburg and its add-ons. It's powerful, but dangerous. Post your tips and your questions.
saunders1953
Reactions:
Posts: 22
Joined: Wed Jun 23, 2010 3:14 am

Unit Uniform Changes...Can Someone Help Me Out?

Post by saunders1953 »

Hi All,

I used to make up new unit uniform combinations with TC2M without any fuss, but I am having trouble doing the same with SOWGB. First off, there isn't a real clear explanation in the SDK Manual, but I thought I got the gist of it (and the uniform type and class files seem very similar to TC2M). I'm at work right now, so this is from memory, but what I did was figure out the names of the individual uniform graphics from the Graphics folder in the Base folder and compared them to the ones used in the unitmodel.csv. I made a new uniform class (UGLB_CSA_Inf_7) for experimentation purposes in the unitglobal.csv, and assigned several different portraits (being careful to match the “USPR” names in the “type” column of Unitmodel.csv) in the six columns (G-L) in the unitglobal.csv.

[Related question: What do the “_t” and “_s” mean on the end of the USPR names signify?]

I then put the new uniform class in the K column in a “Master OOB”—the June 30th oob--and also made a sandbox “OOB_SB” oob as well with the added new class. I left these new oobs in the proper SDK folder (I kept a copy of the original June 30th one of course), and also put them in the Mods folder (by adding them to the Bloody Red Flags Mod OOB file).

...And the game crashes when I try to use that oob in the Sandbox. What did I do wrong?

Thanks for any help you guys can give me. I love this game, and think the AI is a big improvement over TC2M.

Great job, Norb!

Mark
tim
Reactions:
Posts: 232
Joined: Fri Dec 21, 2007 12:26 am

Re:Unit Uniform Changes...Can Someone Help Me Out?

Post by tim »

Start with textures.csv file - this lists the atual dds files. Then use gfx.csv file to see how the textures match the name of the uniform and action. Next that links to unitmodel.csv - you put the name from gfx.csv in the appropriate column in unitmodel.csv. From unitmodel.csv you use the 'type' to fill in unitglobal.csv.

Did you get any error messages in a log file?

The _s and _t stand for small and tall and are the sprites scaled up or down slightly for a bit of height variety.
Jim
Reactions:
Posts: 1082
Joined: Tue Nov 27, 2007 8:53 am

Re:Unit Uniform Changes...Can Someone Help Me Out?

Post by Jim »

There is a more verbose version of the explanation in the SDK. See pages 60-61 for the details.

-Jim
"My God, if we've not got a cool brain and a big one too, to manage this affair, the nation is ruined forever." Unknown private, 14th Vermont, 2 July 1863
saunders1953
Reactions:
Posts: 22
Joined: Wed Jun 23, 2010 3:14 am

Re:Unit Uniform Changes...Can Someone Help Me Out?

Post by saunders1953 »

Thanks Tim and Jim.

Tim, I don't think the textures file will really help in my situation because I simply copied the original UGLB_CSA_Inf_6 (Line 85 in Excel spreadsheet), put it in a new line, named that "UGLB_CSA_Inf_7", and then copied various USPR cells from the other CSA infantry UGLB's in the unitglobal.csv---for example, "USPR_CSA_Inf_01_Private" from Column G, and plopped them into the six uniform columns G-L. So, what I'm trying to say is that I never messed with the USPR files, so that the dds files--stand, load, etc., for my new UGLB_CSA_Inf_7 are simply a copy of UGLB_CSA_Inf_6. Could that be the problem?

I'll go back and study the texture/gsf files and see what I can figure out.

Thanks for the short/tall explanation.

I'll study the logfile, and if nothing obvious pops out, I'll post it.


Jim, that's where I started from, but the explanation in the Manual doesn't go into enough detail.
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re:Unit Uniform Changes...Can Someone Help Me Out?

Post by Davinci »

Try this!

You can add a mixture of new uniform combinations without editing any other file except the following two …..
(1 ) unitglobal.csv
(2) The OOB – to assign the new combination to a regiment .

Basically – to avoid any typo-errors – Insert a new line under the line that you intend to copy, which will be the line starting with - UGBL_CSA_Inf_6.

Copy this line in the new line – and then just change the _6 to a _7 .

Now – you will want to mix up the uniforms to change them from looking like uniform_6, so copy two columns from another uniform set and paste it over two uniforms in this set.

And do the same things until you have change all six uniforms, if you use the Copy&Paste feature; this will avoid any typo-errors.

Now, just open the OOb – and add in the new number over any of the existing numbers that you are replacing.

That’s it!

davinci
The only true logic is that, there is no true logic!
saunders1953
Reactions:
Posts: 22
Joined: Wed Jun 23, 2010 3:14 am

Re:Unit Uniform Changes...Can Someone Help Me Out?

Post by saunders1953 »

Hi Davinci...basically, that is just what I did...my verbose exsplanation didn't convey that very well, did it? It's basically what I recall doing for TC2M, btw.

Anyway, I'll keep trying. One thing: I edited the master version of the oob I was trying to modify, in this case it was the June 30th one. Instead, can/should I modify just one of the already-modified oob's, say for example, one of the Sandbox oobs from the Bloody Red Flags mod, and not worry about changing the master?

Thanks!
Jack ONeill
Reactions:
Posts: 1896
Joined: Mon Apr 28, 2008 10:49 pm

Re:Unit Uniform Changes...Can Someone Help Me Out?

Post by Jack ONeill »

S,

Davinci's right but there are a few questions here first -

Are you working on the "unitmodel" file or the "unitglobal" file? The unitmodel file will change uniforms in the lowest uniform settings. Unitglobal will change ALL of them, regardless of settings.
My comp is old so I changed a few in the unitmodel file and left unitglobal completely alone.

Also, the primary uniforms for each side cannot be changed, as far as I know. I've tried many combos for both sides and no joy there. I could be wrong though.

Are you working on the "original" files? If so, stop. According to Norb?Team, they need to remain stock so MP will work with other computers. That may be why you crash.
You must create a new folder in the "Mods" section. I called mine "Scenarios." Name it something you can recognize. Place a copy of the file named "Logistics" file in the new folder. You can work from that. You'll have to activate the new folder in the Modifcations section for them to work.

Post back with the uniform changes and I'll tell you how to change them. It is actually very easy. Very much like TC2M. The number of changes that will work depends on how good a computer you have, for running puposes.

Jack B)
American by birth, Californian by geography, Southerner by the Grace of God.

"Molon Labe"
Jack ONeill
Reactions:
Posts: 1896
Joined: Mon Apr 28, 2008 10:49 pm

Re:Unit Uniform Changes...Can Someone Help Me Out?

Post by Jack ONeill »

Should have been Noeb/Team. :blush:

Jack
American by birth, Californian by geography, Southerner by the Grace of God.

"Molon Labe"
Jack ONeill
Reactions:
Posts: 1896
Joined: Mon Apr 28, 2008 10:49 pm

Re:Unit Uniform Changes...Can Someone Help Me Out?

Post by Jack ONeill »

Also, if you have done any of the things I mentioned, my apologies for overlooking them in you posts.

Jack
American by birth, Californian by geography, Southerner by the Grace of God.

"Molon Labe"
Jack ONeill
Reactions:
Posts: 1896
Joined: Mon Apr 28, 2008 10:49 pm

Re:Unit Uniform Changes...Can Someone Help Me Out?

Post by Jack ONeill »

Christ!! If I could type I'd be somebody - Norb/Team, not Noeb/team.

Geez.....
American by birth, Californian by geography, Southerner by the Grace of God.

"Molon Labe"
Post Reply