Entry turns? (Full Version)

All Forums >> [Current Games From Matrix.] >> [World War I] >> Commander - The Great War >> Mods and Scenarios



Message


JJKettunen -> Entry turns? (1/3/2013 2:09:13 PM)

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!





Myrddraal -> RE: Entry turns? (1/3/2013 2:30:09 PM)

Look in the scenario file (i.e. 1914.lua) for the lines SetFactionAlignment




JJKettunen -> RE: Entry turns? (1/3/2013 2:36:54 PM)

Thanks, I've checked those but couldn't figure it out. Does one decimal mean one turn?




JJKettunen -> RE: Entry turns? (1/3/2013 2:40:48 PM)

Hmmm, looking at the data, 0.3 means one turn, I guess.

edit: approximately, since it is event related.




JJKettunen -> RE: Entry turns? (1/3/2013 3:08:20 PM)

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.




Myrddraal -> RE: Entry turns? (1/3/2013 3:13:32 PM)

The starting alliances are defined by which alliance bracket the faction is included in. So in 1914.lua, you'll see something like this:
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




JJKettunen -> RE: Entry turns? (1/3/2013 3:22:19 PM)

Thanks for the info! I have a closer look tomorrow.




JJKettunen -> RE: Entry turns? (1/4/2013 11:43:15 AM)

It works. w00t!




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1