Bernadotte

Empires in Arms is the computer version of Australian Design Group classic board game. Empires in Arms is a seven player game of grand strategy set during the Napoleonic period of 1805-1815. The unit scale is corps level with full diplomatic options

Moderator: MOD_EIA

Post Reply
pzgndr
Posts: 3734
Joined: Thu Mar 18, 2004 12:51 am
Location: Delaware

Bernadotte

Post by pzgndr »

I have managed to implement original rule 10.6.5 to remove the French leader Bernadotte from play in August 1810. I've been wrestling with this whole Bernadotte issue for the past couple of weeks. Good news is I finally tracked down the syntax error I was making and got this leader removal to work for both human player and AI.

Image
Attachments
BernadotteRemoved.jpg
BernadotteRemoved.jpg (61.53 KiB) Viewed 519 times
Bill Macon
Empires in Arms Developer
Strategic Command Developer
pzgndr
Posts: 3734
Joined: Thu Mar 18, 2004 12:51 am
Location: Delaware

RE: Bernadotte

Post by pzgndr »

And part two of this issue was creating the Swedish Bernadotte leader and leader counter. This also required a code change to be able to assign/use Bernadotte as a minor leader in combat. So, good news is that all of this appears to work, but is limited to just Bernadotte as a Swedish minor leader.

Now that this is resolved, I can wrap up changes to the data files and then proceed to completing the 1812 scenario setups. Once I have the 1812 scenarios running, I can then use them to help resolve the allied/loaned unit issues.

Image
Attachments
BernadotteBattle.jpg
BernadotteBattle.jpg (237.34 KiB) Viewed 519 times
Bill Macon
Empires in Arms Developer
Strategic Command Developer
Daniel Amieiro
Posts: 135
Joined: Fri May 17, 2013 9:41 am

RE: Bernadotte

Post by Daniel Amieiro »

Good News. Seems you have make a specific unit type for Bernadotte.
pzgndr
Posts: 3734
Joined: Thu Mar 18, 2004 12:51 am
Location: Delaware

RE: Bernadotte

Post by pzgndr »

Not a new unit type, but a new specific unit. And the Swedish minor leader counter, to be assigned to Swedish Bernadotte. The code only allowed major powers to use leaders, so I had to make an exception for Sweden to assign the Swedish Bernadotte leader to Swedish units. Between the limit on counters and the code exception for Sweden, it's not at all practical to allow further modding for additional minor leaders. But Swedish Bernadotte was a notable exception and included in the original rules, so this was a worthwhile inclusion to the data files now so I don't have to mess with the data files again later.
Bill Macon
Empires in Arms Developer
Strategic Command Developer
Daniel Amieiro
Posts: 135
Joined: Fri May 17, 2013 9:41 am

RE: Bernadotte

Post by Daniel Amieiro »

Not a new unit type, but a new specific unit. And the Swedish minor leader counter, to be assigned to Swedish Bernadotte. The code only allowed major powers to use leaders, so I had to make an exception for Sweden to assign the Swedish Bernadotte leader to Swedish units.

Well, perhaps eliminating the code that only allowed major powers to use leaders, it could work too. If a minor has no leaders it will work. And if it has leaders, it will work too. No need of exception for Sweden. In my modding tests (EIH i posted) if minor has leaders, AI uses them. Only the interface doesn't allow to put the leader (but lets it already a national leader present...).

Between the limit on counters and the code exception for Sweden, it's not at all practical to allow further modding for additional minor leaders. But Swedish Bernadotte was a notable exception and included in the original rules, so this was a worthwhile inclusion to the data files now so I don't have to mess with the data files again later.

It will need a radical increase in unit types (and it will allow a very colorful unit customization). But a generic leader has room actually as long as i have tested. The main issue is leader placement.

And well. Bernadotte has is own code removal, i guess. :?
pzgndr
Posts: 3734
Joined: Thu Mar 18, 2004 12:51 am
Location: Delaware

RE: Bernadotte

Post by pzgndr »

ORIGINAL: Daniel Amieiro
In my modding tests (EIH i posted) if minor has leaders, AI uses them. Only the interface doesn't allow to put the leader (but lets it already a national leader present...).

It will need a radical increase in unit types

Bernadotte has is own code removal, i guess. :?

I did not test what the AI did, only that I could not place and use the Swedish Bernadotte leader without the code change.
As for radical changes of any type, that is not a priority. I have enough to do to get the 1805 and 1812 scenarios running correctly, bugs resolved, and other improvements made.
And yes, there is new code to check for and remove the French Bernadotte leader in August 1811.
Bill Macon
Empires in Arms Developer
Strategic Command Developer
Post Reply

Return to “Empires in Arms the Napoleonic Wars of 1805 - 1815”