Page 1 of 1

How to: Immediate foreign entry?

Posted: Wed Nov 07, 2007 12:10 pm
by SetonHallPirate
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!

Posted: Wed Nov 07, 2007 1:45 pm
by Primasprit
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

Posted: Wed Nov 07, 2007 1:48 pm
by SetonHallPirate
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?

Posted: Wed Nov 07, 2007 3:02 pm
by Primasprit
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

Posted: Thu Nov 08, 2007 2:29 am
by SetonHallPirate
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