Page 1 of 1

Unused Generals?

Posted: Sun Jul 13, 2008 10:41 pm
by muddymonkey77
Are there unit files in the works for:

Enoch Poor
William Washington
Marinus Willett
Otho Williams
William Woodford
William Crawford

Just wondering. I see graphics and model files for them, but no unit file.

Posted: Mon Jul 14, 2008 10:23 am
by PhilThib
This will be fixed in the next patch...at the moment there were no units files because we did not use them in setups...but this should come soon :innocent:

Posted: Mon Jul 14, 2008 4:29 pm
by muddymonkey77
I tried to do it myself, but it did not work.

Posted: Mon Jul 14, 2008 4:37 pm
by lodilefty
muddymonkey77 wrote:I tried to do it myself, but it did not work.


Without the DB, it requires methodical approach:

Create model [done - in Models]
Modify mdl_Alias.ini [done - in Aliases]
Create unit [in Units]
Modify uni_Alias.ini [in Aliases]

apply the unit Alias in your mod [easy in events, difficult to find in .scn as it uses UID numbers after compilation, not the unit alias...]

With the DB, creating and spitting the csv creates files and new alias file [assuming you define the correct column for alias :siffle: ], and editing setups [.scn] is vastly easier...

...not as easy as a hypothitical drag-and-drop GUI.. :) :niark:

Posted: Mon Jul 14, 2008 9:58 pm
by muddymonkey77
I've got it 95% figured out. All I need is to know how to get the unit short name to show up. The officer appears in game and works correctly, but his name does not appear. It only says Unit_Short_name.

Posted: Mon Jul 14, 2008 10:04 pm
by lodilefty
muddymonkey77 wrote:I've got it 95% figured out. All I need is to know how to get the unit short name to show up. The officer appears in game and works correctly, but his name does not appear. It only says Unit_Short_name.


Yeah, I always miss that, too.

All the unit names unit shortnames, etc are in LocalStrings_WIA.csv [in Settngs]... just add another line for each of yours [no $ at front of string]

[good news, you can load that file into excel or open office, make changes, and save as csv. Just be sure your save is with ; separator, no text delimiter....]

Posted: Mon Jul 14, 2008 10:50 pm
by muddymonkey77
If I get them all worked out, I'll submit the files for AGEOD to look at. :cwboy:

Posted: Mon Jul 14, 2008 10:54 pm
by lodilefty
muddymonkey77 wrote:If I get them all worked out, I'll submit the files for AGEOD to look at. :cwboy:


You could shoot 'em my way, too :)

Posted: Tue Jul 15, 2008 10:10 am
by muddymonkey77
lodilefty wrote:Yeah, I always miss that, too.

All the unit names unit shortnames, etc are in LocalStrings_WIA.csv [in Settngs]... just add another line for each of yours [no $ at front of string]

[good news, you can load that file into excel or open office, make changes, and save as csv. Just be sure your save is with ; separator, no text delimiter....]


I just tried to do this...and crashed the game.

Posted: Tue Jul 15, 2008 10:15 am
by Hok
muddymonkey77 wrote:I just tried to do this...and crashed the game.


Do you have a special error message ?

Posted: Tue Jul 15, 2008 7:16 pm
by muddymonkey77
I'm having a problem with the LocalStrings_WIA.csv file. That's where my error is coming from. I'm unfamiliar with the code, and I don't really know what is needed for it to work properly. Everything else works fine. I'm able to get units into the game, just not with the proper names.

Posted: Tue Jul 15, 2008 7:27 pm
by lodilefty
muddymonkey77 wrote:I'm having a problem with the LocalStrings_WIA.csv file. That's where my error is coming from. I'm unfamiliar with the code, and I don't really know what is needed for it to work properly. Everything else works fine. I'm able to get units into the game, just not with the proper names.


Let's team up on this. [see your PM]

The strings files, and the relationships to the units and models, is challenging even with the DB.

If you are willing, could you send me what you're doing, and I could get it into the DB, and send it back.... :)

Posted: Tue Jul 15, 2008 7:38 pm
by muddymonkey77
Sure. I messed thing up pretty good! I got it so there is no longer a crash, but now nothing has the correct name and none of the towns or forts show up on the map!

Posted: Tue Jul 15, 2008 7:41 pm
by lodilefty
muddymonkey77 wrote:Sure. I messed thing up pretty good! I got it so there is no longer a crash, but now nothing has the correct name and none of the towns or forts show up on the map!


Argh.

I guess best way is quick notes of your design idea, and any files you've modded. Let me assimilate that, then we'll fix. :sourcil:
I sent you contact info in PM.

Posted: Tue Jul 15, 2008 7:45 pm
by muddymonkey77
Files sent.

Posted: Tue Jul 15, 2008 7:51 pm
by muddymonkey77
Totally off subject....

While I was sending you the files I noticed I had a new e-mail from osprey publishing. Well....looks like I won their Fort Ticonderoga competition!!!! I won some free osprey books on the French and Indian War!!!!! :niark:

Posted: Tue Jul 15, 2008 10:10 pm
by lodilefty
:cool:

Posted: Tue Jul 15, 2008 10:13 pm
by muddymonkey77
Can you send me the non-messed up LocalStrings_WIA.csv file?

Posted: Tue Jul 15, 2008 10:18 pm
by lodilefty
I'll do better,stay tuned :)
Probably late tonite or sometime tomorrow...

Where/how/what are you using these for?

If you can give me the OOB assignments, I can work them in...