I've already tried fiddling with dates, to no avail. All the scenarios are set up using the Viking conventions (ie FN_## instead of FN_NAME; ID_LANDREG_## instead of ID_PROVINCE etc etc) so the three should all operate quite independently, even though in practice they all use the same map and the dates roll on, with era transitions not being a major part of the campaigns:
Rise of Persia - 'early'
Code:
cn_predefined::false
cn_title::"Rise of Persia"
cn_short_title::"Rise of Persia"
cd_predefined::true
cd_line::"Era_Description_ROP"
cd_predefined::true
cd_hidden:: TRUE
SetMapTexturesSubdir:: "Alex"
Prodfiles:: UNITPROD "ROP_unit_prod.txt" BUILDINGPROD "ROP_build_prod.txt"
//Prodfiles:: UNITPROD "SAlex_unit_prod.txt" BUILDINGPROD "ROP_build_prod.txt"
SetStartDate:: 140 // 560BC
SetPeriod:: EARLY
SetEarlyPeriodStartDate:: 100 // 600BC
SetHighPeriodStartDate:: 210 // 490BC
SetLatePeriodStartDate:: 320 // 380BC
SetGameEndDate:: 554 // 146BC
Alexander - 'high'
Code:
cn_predefined::false
cn_title::"Alexander"
cn_short_title::"Alexander"
cd_predefined::true
cd_line::"Era_Description_ALEX"
cd_predefined::true
cd_hidden:: TRUE
SetMapTexturesSubdir:: "Alex"
Prodfiles:: UNITPROD "SAlex_unit_prod.txt" BUILDINGPROD "SAlex_build_prod.txt"
SetStartDate:: 345 // 355BC
SetPeriod:: HIGH
SetEarlyPeriodStartDate:: 100 // 600BC
SetHighPeriodStartDate:: 210 // 490BC
SetLatePeriodStartDate:: 346 // 354BC
SetGameEndDate:: 554 // 146BC
Successors - 'late'
Code:
cn_predefined::false
cn_title::"Successors"
cn_short_title::"Successors"
cd_predefined::true
cd_line::"Era_Description_SUX"
cd_predefined::true
cd_hidden:: TRUE
SetMapTexturesSubdir:: "Alex"
Prodfiles:: UNITPROD "Sux_unit_prod.txt" BUILDINGPROD "Sux_build_prod.txt"
SetStartDate:: 399 // 301BC
SetPeriod:: LATE
SetEarlyPeriodStartDate:: 100 // 600BC
SetHighPeriodStartDate:: 210 // 490BC
SetLatePeriodStartDate:: 320 // 380BC
SetGameEndDate:: 600 // 100BC
The obvious difference you can see here - that Alex has a different period transition date to LATE - makes absolutely no difference in practice. (This was done so the era can be set to HIGH to avoid having two startpos files in LATE, but the campaign works just as well with either setting, and CB works just as badly with either!)
The REM-ed out line in RoP is what makes RoP work with the Alex prodfile successfully in CB mode.... The active factions in Alex are all active in RoP, and the RoP factions which are not in Alex still work in CB with just the ALL_FACTION units. This applies whether or not the Alex prodfile has the inactive factions all edited out (except for leader units - without these the game won't load at all, obviously).
The Alex prodfiles and the _SPECIFIC files have been named as SAlex so the three eras are all represented by files in alphabetical order - you may wonder why, but naming of the files does make a difference! I have had previous encounters with problems that have been solved simply by changing the names of the prodfiles.... alas, this isn't one of those cases...
Anyway, I'm going back to the fray, I've thought of a couple of things I haven't tried yet....
Bookmarks