User avatar
Paul Roberts
Posts: 520
Joined: Sun Apr 15, 2007 9:26 pm
Location: Between the Schuylkill and the Wissahickon

Pocus: helping with unit names files

Fri Nov 30, 2007 6:14 pm

Pocus,

In another thread you suggested that I post here if I wanted to help out with cleaning up the unit names and eliminating some errors there. Here I am!

Just let me know what's needed and how to do it, please, and I can give it some times this weekend.

Thanks!
Paul

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Mon Dec 03, 2007 11:24 am

Hi Paul,

Sorry to be late in answering you, I was away this week end.

You have first to download the AACW Database (there is a sticky thread on it).
What is in need of double check is the models.xls file
The column to the far right is named custom names. This is the list of elements names, by states generally (several lists are copy of another btw).
The states before each sub-list must be a legal name (an alias), this is perhaps where the problem lie.
The legal values are the ones which can be found in the Units.xls file, Area column. If you don't find the value, then it is illegal.

I hope it is clear.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

ericstat
Civilian
Posts: 1
Joined: Mon Dec 03, 2007 6:38 pm

Mon Dec 03, 2007 7:01 pm

Hi.

I noticed the AACW_DB_Models_with$.xls, AACW_DB_Models38.xls, and AACW_DB_Models40a.xls all have the entry $WA|1st Washington.

$WA is not defined as an alias in the AACW_DB_Units39a.xls file.

Could this be the cause of the problem? I'm not sure the proper way to fix this.

Eric.

User avatar
Eugene Carr
Colonel
Posts: 387
Joined: Wed Jun 20, 2007 6:58 pm
Location: Dundee, Scotland

Mon Dec 03, 2007 7:16 pm

@Paul
In the 2 USA Zouaves entries you'll see §$MassachussettA| between the last Indiana Regiment and the 1st from Massachusetts it should read §$MA|once changed the Zoaves are named right.

Unfortunately this is the only one I could find. :bonk:

@Pocus
The above caused Zouave regiments to be raised in order ie New England in New York and then vice versa after the change New England, New York and Pennslyvania all get their own regiments and once used up generic zouave regts.
All the Illinois and Indiana ones are ignored presumably because their not asked for.
However for the line infantry recruitment starts as California Regts wherever you recruit - is there some form of regional association working for Zouaves but not for line?
Or is it because there are regiments from some states that have no brigades?

Well Ive asked more than I answered! Good luck Paul and thanks for offering to help out the community.
S!

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

weak fix

Tue Dec 04, 2007 1:57 am

I have a temporary fix until someone with more knowledge can help.

The New England states need to have their area changed to $CT instead of the specific state name. I also changed Minnesota to $IA.

As far as the western states, I just removed them. I could not find any brigades for these states on the reinforcement screen anyway.

I did these changes in the model files for the union infantry, zouaves, calvary and artillery. Anytime I saw a specific New England state name, such as Rhode_Island, I changed it to $CT. Western states I deleted.

This isn't much of a fix but it looks a lot better.

Joe

User avatar
Eugene Carr
Colonel
Posts: 387
Joined: Wed Jun 20, 2007 6:58 pm
Location: Dundee, Scotland

Tue Dec 04, 2007 2:37 am

@joe thanks for that.
I had gone along same lines. I was cutting and pasting Regts into working states.
Do you get a mix of New England regts or does it concentrate on Connecticut then move on to Maine?

S!

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Tue Dec 04, 2007 4:10 am

I am in the process of combining all the $CT state regiments together. I have tested that and I get a good representation of all the New England states.

I moved the Minnesota regiments to $IL. That also seems to work.

The DC regiments I moved to $MD.

I am thinking about dropping a few Colorado regiments into Kansas.

All in all, I am pleased with the results.

Joe

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Tue Dec 04, 2007 9:36 am

Joe if you want to do a comprehensive work and then give me the modified list of names, I'll be happy :)
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Tue Dec 04, 2007 4:30 pm

Pocus, I will be happy to send you my changes. I am still working on it so I'm not sure when I will be finished.

I would also appreciate anybody else's suggestions.

Joe

User avatar
McNaughton
Posts: 2766
Joined: Wed Mar 21, 2007 8:47 pm
Location: Toronto, Canada

Tue Dec 04, 2007 5:56 pm

So, from what I understand the problem came from two sources... (correct me if I am wrong)

#1. Using state tags that did not exist (i.e., minnesota)
#2. Using state tags in their long form (i.e., connecticut used instead of the proper form of CT).

I have done some personal modding to the regiment names, and this work in this thread has helped me a lot!

Thanks for the fixes!

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Tue Dec 04, 2007 7:44 pm

Thank you McNaughton, that is correct. All of the New England states were spelled out and I changed them all to $CT. Minnesota, I changed to $IL (mainly because they have plenty of brigades to select from in the reinforcement screen, more than Iowa, which I had initially used).

Again, I'm not sure what to do with the western regiments, but I thought I might put a couple of Colorado regiments in Kansas, the others I removed.

User avatar
McNaughton
Posts: 2766
Joined: Wed Mar 21, 2007 8:47 pm
Location: Toronto, Canada

Tue Dec 04, 2007 10:08 pm

joe wrote:Thank you McNaughton, that is correct. All of the New England states were spelled out and I changed them all to $CT. Minnesota, I changed to $IL (mainly because they have plenty of brigades to select from in the reinforcement screen, more than Iowa, which I had initially used).

Again, I'm not sure what to do with the western regiments, but I thought I might put a couple of Colorado regiments in Kansas, the others I removed.


I say, if you have needed space in the Kansas file, add Colorado regiments, if not, then don't worry (don't think too many people would build a lot of Kansas brigades anyway, plus I believe that half of the brigade is a militia unit).

Anyway, thanks again for all of the breakthroughs here for everyone involved!

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Wed Dec 05, 2007 3:09 pm

Joe, I must say you understood very clearly and without help what were the problems. Congrats to you!
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
Eugene Carr
Colonel
Posts: 387
Joined: Wed Jun 20, 2007 6:58 pm
Location: Dundee, Scotland

Wed Dec 05, 2007 6:58 pm

Quite fun to plug away at them but time consuming.
I noticed that the cavalry files have a TX entry which has Texas and New Mexico units in it. Perhaps replace the CA and CO etc Inf entries with this as their less likely to appear but arent being deleted in case that can affect flavour units?

What is good is if you get wrong regts somewhere thats where the mistake is
the Iwoa Light Infantry in the Maryland brigade is due to a IO instead of a IA.

No doubt that having reasonable named elements adds to the immersion.

S!

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

modified unit files

Thu Dec 06, 2007 2:52 am

Thank you Pocus. I have attached my modified unit files. These files should replace the ones in the models folder.

This is my first time for doing this so I'm sure the potential for mistakes is high.

Again, thanks for everyones input and thanks to the individual(s) that prepared the regimental historical files to begin with.

Joe

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Thu Dec 06, 2007 9:07 am

I don't use the final files, I only accept the XLS file :)
So I would need to have the edit done in the file: AACW_DB_Models40a.xls please, is it possible? This way no changes are lost when I export the models in the future.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Thu Dec 06, 2007 4:35 pm

Pocus, I have limited experience with excel, so it may take me awhile to do this, but I will give it a try.

Joe

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Thu Dec 06, 2007 4:49 pm

If you try and this is too much of a trouble, I will do it within some days though. Thanks for the help anyway.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Thu Dec 06, 2007 7:17 pm

deleted

User avatar
Eugene Carr
Colonel
Posts: 387
Joined: Wed Jun 20, 2007 6:58 pm
Location: Dundee, Scotland

Thu Dec 06, 2007 8:12 pm

Thanks Joe cant wait to try these out.

I think that all that Pocus needs is for you to cut and paste the regt names from the bottom of your files into the box at the end of the relevant lines in the [color="DarkRed"]AACW_DB_Models40a.xls[/color] excel file.

again thanks
S!

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Fri Dec 07, 2007 9:08 am

Yes, no need to generate scenarios. As Eugene says, it consists of taking the various edited lists in the mdl files and putting them in the right cells in the xls file.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Fri Dec 07, 2007 2:52 pm

Thanks guys. The scenarios seem a little daunting to me at my level but I will do as you suggest Eugene/Pocus with moving my files to the spreadsheet.

Thanks for everyone's help.

Joe

User avatar
McNaughton
Posts: 2766
Joined: Wed Mar 21, 2007 8:47 pm
Location: Toronto, Canada

CSA Zouaves

Sat Dec 08, 2007 3:10 pm

Since the CSA is building a lot of zouave units I decided to prod and poke in as many historic zouave units I could find. While most were at company strength, I figure it is best to represent zouave regiments in this manner...

I am also working on the USA zouaves, to get enough to match the possible builds (since many states do not have enough zouave regiment names).

$AL|Tuskegee Zouaves|Alabama Zouaves|Eufaula Zouaves|Tallapoosa Zouaves§$AR|2nd Arkansas§$GA|4th Georgia|Thomasville Zouaves|Augusta Zouaves|Macon Zouaves|Young Zouaves§$LA|1st LA 'Coppen's Zouaves'|2nd LA 'Zouaves'|St. Leon Dupeire's Zouaves|LA Bn. Zouaves and Chasseurs|13th Louisiana|Orleans Lt. Guard|Ouachita Fencibles|Tirailleurs Francais§$MS|13th MS 'Lauderdale Zouaves'§$NC|69th North Carolina§$SC|1st SC 'McClellan Zouaves'|McCord's Zouaves§$TN|1st TN 'Anglade's Zouaves'|Nashville Zouaves|Memphis Zouaves|Gotten Zouaves§$TX|Magruder Zouave Cadets|Galveston Zouaves§$VA|Beauregard Rifles|Monticello Guard|Richmond Zouaves|Zarvona's Zouaves|Potomac Zouaves

User avatar
McNaughton
Posts: 2766
Joined: Wed Mar 21, 2007 8:47 pm
Location: Toronto, Canada

Sat Dec 08, 2007 3:34 pm

Here are some revised USA Zouaves (added some historic zouave regiments, changed some names to more historically known, etc.)

$CT|8th MA 'Salem Zouaves'|43rd MA 'Boston Light'§$IL|19th Illinois|59th Illinois|77th Illinois|118th Illinois§$IN|11th IN 'Wallace's'|12th IN 'Pet Lambs'|18th Indiana|22nd Indiana|24th Indiana|34th IN 'Morton Rifles'|36th Indiana|43rd Indiana|46th Indiana|47th Indiana|49th Indiana|67th Indiana|99th Indiana|100th IN 'Persimmon Rgt'§$MO|8th MO 'Irish Zouaves'|9th Missouri'§$NJ|33rd NJ '2nd Zouaves'|35th NJ 'Chadeck's Zouaves'§$NY|3rd NY '1st Albany'|5th NY 'Duryee's Zouaves'|6th NY 'Wilson's Zouaves'|7th NY 'Steuben Rgt'|9th NY 'Little Zoo-Zoos'|10th NY '1st Jefferson'|11th NY 'Brady's Light'|17th NY 'Westchester Chass'rs'|44th NY 'Ellsworth Avngrs'|47th NY 'Washington Grays'|53rd NY 'D'Epineuil Zoos'|62nd NY 'Advanced Zoos'|66th NY 'Governor's Gd'|73rd NY 'Fire Brigade'|84th NY 'Brooklyn Chass'rs'|140th NY 'Race Horses'|146th NY 'Garrard's Tigers'|164th NY 'Irish Zouaves'|165th NY '2nd Duryee'|178th NY '2nd Hawkin'§$OH|34th OH 'Platts' Zouaves'|53rd Ohio|54th OH '2nd Zouaves'|76th Ohio§$PA|3rd Pennsylvania|23rd PA 'Birney's Zouaves'|54th Pennsylvania|61st Pennsylvania||69th Pennsylvania72nd PA 'Baxter's Zouaves'|76th PA 'Keystone Zouaves'|88th Pennsylvania|95th PA 'Gosling's Zouaves'|99th Pennsylvania|102nd Pennsylvania|114th PA 'Collin's Zouaves'|127th Pennsylvania|155th PA 'Ayres's Zouaves'

User avatar
Pdubya64
Captain
Posts: 175
Joined: Sun Jul 08, 2007 6:11 pm
Location: Staunton, VA

Sun Dec 09, 2007 3:36 pm

Sweet!

"You get ten out of ten on this one!"
(kudos if you know the movie reference bud...) :niark:

Nicely done, I always like a more historical touch when possible.
pw
"Yonder stands Jackson like a stone wall; let us go to his assistance." - CSA BrigGen Barnard Bee at First Manassas

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Mon Dec 10, 2007 3:52 am

Pocus, I have modified the excel spreadsheet, I hope it is done properly.

I have also modified my original changes to also remove unit names that begin on the Apr 61 map or the ones added automatically later, to avoid duplicates.

Joe

User avatar
McNaughton
Posts: 2766
Joined: Wed Mar 21, 2007 8:47 pm
Location: Toronto, Canada

Mon Dec 10, 2007 4:00 am

joe wrote:Pocus, I have modified the excel spreadsheet, I hope it is done properly.

I have also modified my original changes to also remove unit names that begin on the Apr 61 map or the ones added automatically later, to avoid duplicates.

Joe


Joe,

The game can read units already on the map, so you don't have to remove them from those on the 1861 map (although those added via event may be good to remove, since you may build a unit before they appear).

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Mon Dec 10, 2007 4:07 am

Thanks McNaughton, I did not know that.

User avatar
Eugene Carr
Colonel
Posts: 387
Joined: Wed Jun 20, 2007 6:58 pm
Location: Dundee, Scotland

Mon Dec 10, 2007 10:23 am

Thanks again Joe,
just a quick heads up you have 2 dollar signs at W.Virginia for the US infantry and a double section sign at Indiana for the cavalry.

I didnt notice them because of a fault in game but from looking at spreadsheet (they are on model files too) so I'm only guessing they can cause problems.(never recruited in W.Virginia and Indiana cav seems to arrive in Iowa whatever you do)

PS: noticed that to get the Maine sharpshooters named had to change to CT in the units file as well.

S!

joe
Lieutenant
Posts: 127
Joined: Tue Mar 20, 2007 3:16 pm

Mon Dec 10, 2007 11:56 am

Thanks Eugene for checking my files. I have fixed the W.Vir mistake and also one I found in the IL section near the 144th Reg.

I could not find the IN cav problem but I did find that same mistake in the MD section.

Thanks again.

Joe

Return to “AACW Mods”

Who is online

Users browsing this forum: No registered users and 6 guests