Code Monkey home page Code Monkey logo

Comments (8)

SWY1985 avatar SWY1985 commented on June 2, 2024

The starting spawn year formula seems strange for Chieftain difficulty. For each difficulty level, the game turn is a multitude of 32. except for Chieftain:

  • Emperor: Turn 32
  • King: Turn 64
  • Prince: Turn 96
  • Warlord: Turn 128
  • Chieftain: Turn 152 (???)

The formula for spawn game turn appears to be (5 - difficulty) * 32, where difficulty 0 = Chieftain.
That would make the starting spawn year for Chieftain 800 BC instead of 960 BC.

I've implementen the description from @kazgaroth011 for now... with the odd starting year on Chieftain...

from civone.

axx0 avatar axx0 commented on June 2, 2024

I've tested this 3 times for chieftain and each time 960 BC was the starting spawn year.
BTW chieftain is the only difficulty where you never get 1 legion + leader in a sail but always 2 legions + leader.

from civone.

SWY1985 avatar SWY1985 commented on June 2, 2024

In that case, the formula is probably:

  • Turn is greater than 150 (after 1000 BC) or Turn is greater than (5 - difficulty) * 32

Which results in the same as your observation. 👍

from civone.

SWY1985 avatar SWY1985 commented on June 2, 2024

For now, I'm going to assume that if one civilization has research GunPowder, the Legion units get replaced by Knights.

from civone.

SWY1985 avatar SWY1985 commented on June 2, 2024

Pirates now spawn at least 2 tiles from the poles, on a random water tile that's completely surrounded by other water tiles.

from civone.

SWY1985 avatar SWY1985 commented on June 2, 2024

Now, we only need to figure out when barbarian pirates stop spawning...

from civone.

axx0 avatar axx0 commented on June 2, 2024

I'll try to find out.

from civone.

SWY1985 avatar SWY1985 commented on June 2, 2024

Thanks for the update, @kazgaroth011 (https://forums.civfanatics.com/threads/barbarians-spawn-logic.630389/#post-15098478)

I'm going to make pirates stop spawning after anyone has researched Combustion.

from civone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.