Announcement

Collapse
No announcement yet.

scenario years and government

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • scenario years and government

    Hi:

    I am currently making an imperial europe scenario and came across two problems:

    1. The scenario should play from 1900 to 1950. I want to have 100 turns though, giving each turn 0.5 years. In standard, each turn equals 2 years (I think). Can I change this?

    2. It seems inpossible to let each civisization start with a certain form of government. Maybe I am wrong though, and it can be set somewhere?

    Thanks in advance to everybody helping me.

    Cheers, Christian

  • #2
    For the number of turns look at
    ctp_data/defalut/gamedata/DiffDB

    In there you can, for each difficulty level:
    Set the year the game starts.
    set the number of periods.
    set the turn that the period starts at.

    I've never tried a fraction for the period however. It might not work but it looks like you want

    TIME_SCALE{
    START_YEAR 1900
    NUM_PERIODS 1
    PERIOD {
    START_TURN 0
    YEARS_PER_TURN .5
    }
    }

    Then to make sure there are only 100 turns, in Const.txt edit the following:
    END_OF_GAME_YEAR_EARLY_WARNING 1945
    END_OF_GAME_YEAR 1950

    Getting each Civ to start with a certain gov will likely take a slic trigger. I think this might help:

    trigger 'GovSetup0' when(g.year == 0 && g.player == 0) {
    SetGovernment() // Where index is into default/gamedata/governicon.txt... but I'm not sure if it starts at 0 or 1
    DisableTrigger('GovSetup0');
    }

    You'll need one of these for every gov you want to set.

    Comment


    • #3
      Ok that's neat... I take it that when you put text inside a greater than//less than pair this forum thinks it's an HTML tag.

      Pretty good if it is but not if it is not.
      I had an 'index' as the agrs there to:
      SetGovernment(index);

      Chris

      Comment


      • #4
        looks neat, I'll try it.

        Thanks

        Comment

        Working...
        X