Page 1 of 1
Entry turns?
Posted: Thu Jan 03, 2013 12:09 pm
by JJKettunen
Hi,
I've figured out how to change turn dates, but not yet how to change entry dates for different countries. My idea is to start with the western front on turn 1, turn 2 wouls see AH vs. Serbia, and on turn 3 Russia would join in. If it turns out to be impossible, then all fronts would start blazing on early August.
I'd appeciate any help here. Thanks!
RE: Entry turns?
Posted: Thu Jan 03, 2013 12:30 pm
by Myrddraal
Look in the scenario file (i.e. 1914.lua) for the lines SetFactionAlignment
RE: Entry turns?
Posted: Thu Jan 03, 2013 12:36 pm
by JJKettunen
Thanks, I've checked those but couldn't figure it out. Does one decimal mean one turn?
RE: Entry turns?
Posted: Thu Jan 03, 2013 12:40 pm
by JJKettunen
Hmmm, looking at the data, 0.3 means one turn, I guess.
edit: approximately, since it is event related.
RE: Entry turns?
Posted: Thu Jan 03, 2013 1:08 pm
by JJKettunen
Had time only for quick testing, but it seems that the first turn is always AH vs. Serbia, before others show up in the following turns, according to their values.
RE: Entry turns?
Posted: Thu Jan 03, 2013 1:13 pm
by Myrddraal
The starting alliances are defined by which alliance bracket the faction is included in. So in 1914.lua, you'll see something like this:
Code: Select all
alliances =
{
{
id = 0,
factions =
{
[i]A load of factions, these are the neutral factions[/i]
}
},
-- **************************** ENTENTE ALLIES ***********************
{
id = 1,
enemies = {2},
factions =
{
[i]Just Serbia here[/i]
}
},
-- ******************* CENTRAL POWERS *********************
{
id = 2,
enemies = {1},
factions =
{
[i]Just Austria here[/i]
}
}
}
To change the starting alliances, shift factions between the relevant sections. The alignment of neutral nations is then set by the function SetFactionAlignment
RE: Entry turns?
Posted: Thu Jan 03, 2013 1:22 pm
by JJKettunen
Thanks for the info! I have a closer look tomorrow.
RE: Entry turns?
Posted: Fri Jan 04, 2013 9:43 am
by JJKettunen
It works. w00t!