[NOT IN DEVELOPMENT] DOC Community Mod Compilation

One bug to report. I was playing as Swahili and it crashed while waiting to spawn.

One question: how do we update the mod?
 
Hmmm, my Akad/Babylonian game is crashing on the turn or shortly after the turn I discover calendar. It will either crash with ancient era flashing up top or when the date switches to the BC date. The date in question is BC 2742 January turn 111.
Are you playing Marathon mode? If so this is a known issue with non-normal game speeds, which I'm currently waiting on a fix for from @citis, who has headed the changes to the early game time scale, and is in charge of any errors caused by game speeds.

I could not replicate the bug.
 
I could not replicate the bug.
Strange, perhaps it's solely from CMC, though I'm not sure why. I don't think I added something that would mess with calendar.

One bug to report. I was playing as Swahili and it crashed while waiting to spawn.

One question: how do we update the mod?

I will look into this crash.

Assuming you're already using Git, right click on the mod folder hover over TortoiseGit, select Pull, fill out the form, and pull.
 
I've been trying to pull this mod from Git but every time I try to load the game, it starts in a different time period. For example, the screenshot below shows a 1700AD China game that starts in 3100BC. I've tried downloading the mod as a ZIP file as well and I get the same result. I've also attached the save file of the China game.

upload_2018-4-29_14-11-18.png
 

Attachments

NEW UPDATE

Merged Latest BoT

Fixed up some Hittite UHV3 code

I've been trying to pull this mod from Git but every time I try to load the game, it starts in a different time period. For example, the screenshot below shows a 1700AD China game that starts in 3100BC. I've tried downloading the mod as a ZIP file as well and I get the same result. I've also attached the save file of the China game.

View attachment 494559
This is an error caused by Marathon mode. I have no plans to fix the Game Speed Info file so that Marathon and Epic modes will work, as I am unaware of what changes were made to them in the first place to cause such an issue. I am unaware of whether or not this issue exists in Bits of Tales, but I can confirm that the GameSpeedInfo.XML file in CMC is the exact same as the one found in BoT. If someone would like to look at the file and fix Marathon and Epic game speeds I'd be very thankful and gladly implement it into CMC.

As Hittites, accomplishing UHV 3 also failed it. Save for you to check
Looking into it now.

EDIT: Which Git Revision was this save for exactly?
 
Last edited:
So, the scenarios are 4000BC, 300AD and 1700AD. Does anyone think it would be worthwhile to have a scenario starting between 300AD and 1700AD, it's a pretty big gap. Maybe at the beginning of the Renaissance 1300AD or just before the Age of Exploration 14-1500AD?

Edit: It would be good for some of the later spawning civs, Dutch, Iranians, Italians, etc. That way you could choose a starting situation that would be less divergent from history for those civs.

If it's 1300AD then China can start with a naval fleet/explorers, which could be interesting.

If it's 1400 then the European civs can have the building blocks for exploration.

If 1500AD then perhaps Spain can start with a couple of colonies or settlers in the Caribbean and England/France can start with settlers and galleons ready to sail to the New World.
 
Last edited:
So, the scenarios are 4000BC, 300AD and 1700AD. Does anyone think it would be worthwhile to have a scenario starting between 300AD and 1700AD, it's a pretty big gap. Maybe at the beginning of the Renaissance 1300AD or just before the Age of Exploration 14-1500AD?

Edit: It would be good for some of the later spawning civs, Dutch, Iranians, Italians, etc. That way you could choose a starting situation that would be less divergent from history for those civs.

If it's 1300AD then China can start with a naval fleet/explorers, which could be interesting.

If it's 1400 then the European civs can have the building blocks for exploration.

If 1500AD then perhaps Spain can start with a couple of colonies or settlers in the Caribbean and England/France can start with settlers and galleons ready to sail to the New World.
Or how about add a 1800ad scenerio to replace 1700ad? It's more suitable for New World civs, since in 1700ad scenerio, the tech rate of European civs is too fast.

So the 4 scenerios could be 4000BC, 300AD, 1300 or 1400AD and 1800AD.

By the way, is there a guide to teach us how to make a new scenerio? @Leoreth @1SDAN
 
There isn't, but there actually isn't that much specific work to it. The important elements are:
- the scenario file itself, pretty self-explanatory
- Python: add a constant for the new scenario next to i3000BC etc. in Consts.py, then include it in RFCUtils in getScenario and getScenarioStartYear. For the former, you need to use a feature that is only true in the new scenario (e.g. playable civs) to identify the current scenario.
- C++: basically the same as in the previous step, add the new scenario to the ScenarioTypes enum in CvEnums.h and include it in getScenario and getScenarioStartYear in CvGameCoreUtils.cpp.
- There is of course a lot of scenario specific logic everywhere in the code, but you can easily find it by searching for the functions you just edited in the Python and C++ sources (also look for related functions like getScenarioStartTurn). Most important however is initScenario in RiseAndFall.py on the Python side and all the functions it calls.
 
Yeah those dates would work, they roughly correlate to traditional starts of era.
4000 BC Ancient
300 AD Medieval (though I would favor 400 AD)
1400 AD Early Modern
1800 AD Modern

Though I am guessing changing the starting dates of scenarios is a lot of work!
 
I'd love to implement a new scenario. I'm currently working on adding adjacent tile yields, but if anyone would like to make it and submit it as a pull request on github I'd be eternally grateful.

WE ARE ETERNALLY GRATEFUL.
 
Yeah those dates would work, they roughly correlate to traditional starts of era.
4000 BC Ancient
300 AD Medieval (though I would favor 400 AD)
1400 AD Early Modern
1800 AD Modern

Though I am guessing changing the starting dates of scenarios is a lot of work!

Byzantium spawns at 325AD, so I set the scenario to 300AD to allow them to spawn naturally. Also at this date late classical empires are still present, like Jin China and Gupta empire.

Maybe repurposing 1700AD into 1454AD scenario is a good idea too. Ottomans will have just captured Konstantiniyye and gift Portugal and Spain with a caravel.

I am thinking also of a 1910 AD scenario. The world just wasn't the same before and after 1910-1946 and I have already though some interesting things to add.
And a 2000 scenario with score victory disabled, just for completeness.
 
Byzantium spawns at 325AD, so I set the scenario to 300AD to allow them to spawn naturally. Also at this date late classical empires are still present, like Jin China and Gupta empire.

Maybe repurposing 1700AD into 1454AD scenario is a good idea too. Ottomans will have just captured Konstantiniyye and gift Portugal and Spain with a caravel.

I am thinking also of a 1910 AD scenario. The world just wasn't the same before and after 1910-1946 and I have already though some interesting things to add.
And a 2000 scenario with score victory disabled, just for completeness.
Here's what I think are possible options for scenarios:

Order of Importance:
  1. Dawn of Man 4000 BC - 600 BC (3400 Years): Rule an empire from the very beginning of civilization
  2. Europa Universalis 300 AD - 1025 AD (725 Years): Experience the fall of the Mediterranean powers and the rise of Europe.
  3. Decolonize Earth 1650 - 1867 (212 Years): As the colonial empires of old begin to wane, take arms to build a new identity for your people.
  4. Steal and Flip 1130 AD - 1580 AD (550 Years): National unity is growing throughout the world, will you surf this wave to the formation of a new empire, or will you fight to keep your subjects in check?
  5. Brave New World 1910 - 1948 (38 Years): The great European War will come out of some damned foolish thing in the Balkans.
  6. Age of Empires 300 BC - 65 AD (365 Years): While Greece is poised to conquer the east, civilization begins to take root in the most unlikely of places.

Waves:
  • Ancient-Classical 4000 BC - 65 AD (4065 Years)
    • Dawn of Man 4000 BC - 600 BC (3400 Years)
      • Akkad 4000 BC
      • Harrapa 4000 BC
      • Egypt 3150 BC (850 Years)
      • Assyria 2500 BC (650 Years)
      • Hittites 1900 BC (600 Years)
      • Greece 1600 BC (300 Years)
      • Phoenicia 1200 BC (400 Years)
      • China 1050 BC (150 Years)
      • Polynesia 1000 BC (50 Years)
      • Persia 850 BC (150 Years)
      • Rome 760 BC (90 Years)
      • India 600 BC (160 Years)
    • Age of Empires 300 BC - 65 AD (365 Years)
      • Ethiopia 295 BC (305 Years)
      • Vietnam 257 BC (37 Years)
      • Korea 50 BC (207 Years)
      • Maya 65 AD (115 Years)
  • Medieval-Renaissance 300 AD - 1580 AD (1280 Years)
    • Europa Universalis 300 AD - 1025 AD (725 Years)
      • Byzantium 330 AD (395 Years)
      • France 481 AD (151 Years)
      • Japan 525 AD (44 Years)
      • Vikings 545 AD (20 Years)
      • Tibet 618 AD (123 Years)
      • Arabia 620 AD (2 Years)
      • Indonesia 650 AD (30 Years)
      • Moors 711 AD (61 Years)
      • Spain 722 AD (11 Years)
      • Khmers 800 AD (78 Years)
      • England 820 AD (20 Years)
      • Germany 840 AD (20 Years)
      • Russia 860 AD (20 Years)
      • Phillipines 900 AD (40 Years)
      • Swahili 960 Ad (60 Years)
      • Mamluks 969 AD (9 Years)
      • Madinka 989 AD (20 Years)
      • Poland 1025 AD (36 Years)
    • Steal and Flip 1130 AD - 1580 AD (550 Years)
      • Portugal 1130 AD (95 Years)
      • Inca 1150 AD (20 Years)
      • Italy 1167 AD (17 Years)
      • Mongolia 1190 AD (23 Years)
      • Aztecs 1200 AD (10 Years)
      • Mughals 1206 AD (6 Years)
      • Turkey 1280 AD (74 Years)
      • Thai 1350 AD (70 Years)
      • Congo 1390 AD (40 Years)
      • Sweden 1523 AD (137 Years)
      • Dutch 1580 AD (57 Years)
  • Industrial+ 1650 AD - 1948 AD (295 Years)
    • Decolonize Earth 1650 - 1867 (212 Years)
      • Prussia 1700 AD (120 Years)
      • America 1775 AD (75 Years)
      • Argentina 1810 AD (35 Years)
      • Brazil 1822 AD (12 Years)
      • Australia 1850 AD (28 Years)
      • South Africa 1852 AD (2 Years)
      • Canada 1867 AD (15 Years)
    • Brave New World 1910 - 1948 (38 Years)
      • Israel 1948 AD (81 Years)
 
Having the same problem. Tried to open in Notepad++ > Edit > EOL Conversion > Windows but Windows is not clickable.
 
Back
Top Bottom