Generals Won't Stay in Assigned Units

From the creators of Crown of Glory come an epic tale of North Vs. South. By combining area movement on the grand scale with optional hex based tactical battles when they occur, Forge of Freedom provides something for every strategy gamer. Control economic development, political development with governers and foreign nations, and use your military to win the bloodiest war in US history.

Moderator: Gil R.

Post Reply
User avatar
RyanCrierie
Posts: 1290
Joined: Fri Oct 14, 2005 7:15 am
Contact:

Generals Won't Stay in Assigned Units

Post by RyanCrierie »

Not sure where to post this; but as I was updating FlagMod to v4; I ran across a problem:

I've got my ACWCommanderAssignments.txt set up like this:

// Union
McDowell,_I. Army_of_NE_Virginia
Tyler,_D. 1st_Division
Keyes,_E.D. Keyes'_Brigade
Schenck,_R.C. Schenck's_Brigade
Sherman,_W.T. Irish_Brigade
Richardson,_I.B. Richardson's_Brigade
Hunter,_D. 2nd_Division
Porter,_A. Syke's_Regulars
Burnside,_A.E. Burnside's_Brigade
Heintzelman,_S.P. 3rd_Division
Franklin,_W.B. Minn._First_Volunteers
Willcox,_O.B. Ellsworth's_Fire_Zouaves
Howard,_O.O. Howard's_Brigade
Runyon,_T. 4th_Division
New_Jersey_Milita
New_Jersey_Volunteers
Miles,_D.S. 5th_Division
Blenker,_L. Blenker's_Brigade
Davies,_T.A. Davies'_Brigade

But when I go into the game and start a battle, I get this:



Image
Attachments
Problem1.gif
Problem1.gif (19.02 KiB) Viewed 1 time
User avatar
Gil R.
Posts: 10820
Joined: Fri Apr 01, 2005 4:22 am

RE: Generals Won't Stay in Assigned Units

Post by Gil R. »

Ahh, simple answer: the FOF code does not permit one to attach generals to specific brigades automatically at the beginning of the game, and the file you are using is only for putting generals inside army/corps/division/fort/city "containers." Since brigades are not containers, you can't do what you're trying to do. So in the case you show, Hunter was randomly assigned.

Changing the code so that what you are attempting to do is something we've seriously considered, but I'm not sure if it's the sort of change that can be made in a patch. If it requires new interface or a lot of coding it might need to wait until a FOF expansion.
Michael Jordan plays ball. Charles Manson kills people. I torment eager potential customers by not sharing screenshots of "Brother Against Brother." Everyone has a talent.
User avatar
RyanCrierie
Posts: 1290
Joined: Fri Oct 14, 2005 7:15 am
Contact:

RE: Generals Won't Stay in Assigned Units

Post by RyanCrierie »

Well, then expansion pack away! [:D]
User avatar
Missouri_Rebel
Posts: 3062
Joined: Sun Jun 18, 2006 11:12 pm
Location: Southern Missouri

RE: Generals Won't Stay in Assigned Units

Post by Missouri_Rebel »

ORIGINAL: RyanCrierie

Well, then expansion pack away! [:D]


Lol. Indeed
**Those who rob Peter to pay Paul can always count on the support of Paul
**A government big enough to give you everything you want is a government big enough to take from you everything you have-Gerald Ford
Post Reply

Return to “Forge of Freedom: The American Civil War 1861-1865”