SetonHallPirate
Private
Posts: 24
Joined: Fri Oct 19, 2007 8:51 pm

How to: Immediate foreign entry?

Wed Nov 07, 2007 12:10 pm

How would I mod, for instance, the April 1861 scenario so that the British, French, and Mexicans all entered the war immediately? Granted, I know this wouldn't have been (at all) realistic, but I'd still be interested to see the impact. Thanks in advance!

User avatar
Primasprit
Posts: 1614
Joined: Mon Jun 19, 2006 7:44 pm
Location: Germany

Wed Nov 07, 2007 1:45 pm

You can use this command:
[font="Courier New"]

ChangeForeignEntry

Syntax:
ChangeForeignEntry = Value

Value: Integer; [-100..100, 999]

Description:
Changes the probability of a foreign entry in favour of the selected faction. [/font]

Cheers
Norbert

SetonHallPirate
Private
Posts: 24
Joined: Fri Oct 19, 2007 8:51 pm

Wed Nov 07, 2007 1:48 pm

Primasprit wrote:You can use this command:
[font="Courier New"]

ChangeForeignEntry

Syntax:
ChangeForeignEntry = Value

Value: Integer; [-100..100, 999]

Description:
Changes the probability of a foreign entry in favour of the selected faction. [/font]

Cheers
Norbert


Thanks! Now, where would I put that command?

User avatar
Primasprit
Posts: 1614
Joined: Mon Jun 19, 2006 7:44 pm
Location: Germany

Wed Nov 07, 2007 3:02 pm

SetonHallPirate wrote:Thanks! Now, where would I put that command?

You have to create a game event which contains this command. For a quick test it would be most easy to change the event-file for the April 1861 scenario. You will find that file in the sub-folder Events of the game directory. The modding section of the Wiki will help you with the syntax (http://www.ageod.net/aacwwiki) and of course you will find in the file a plenty of other events as examples.
You will need the StartEvent command, a condition (MinDate), the command to select the faction (SelectFaction) and the ChangeForeignEntry command.

If you want to do serious modding however, the best way is to create new scenario files. You can download the complete AACW scenario DB from the modding section of the forum and use them as the basis for your own modifications.

Cheers
Norbert

SetonHallPirate
Private
Posts: 24
Joined: Fri Oct 19, 2007 8:51 pm

Thu Nov 08, 2007 2:29 am

Drats...was hoping I could find a way to boost the Foreign Intervention numbers somewhere in the scripts to basically make it all but impossible for the Union to get the numbers down to a non-intervention level...guess not...thanks anyway

Return to “AGEod's American Civil War”

Who is online

Users browsing this forum: Google [Bot] and 25 guests