How are Antiquites generated?

isau

Deity
Joined
Jan 15, 2007
Messages
3,071
I'm wondering if anyone has insights into how Antiquities technically are generated. A search of the database produces this attached to the

upload_2019-3-4_13-40-35.png
 

Attachments

  • upload_2019-3-4_13-40-6.png
    upload_2019-3-4_13-40-6.png
    32.1 KB · Views: 217
It all just traces back to this in GameEffectArguments
Code:
"EFFECT_TRIGGER_GAME_MECHANIC"	"MechanicName"	"NULL"	"NULL"	"text"	"NULL"	"1"	"NULL"	"NULL"	"NULL"
"GenerateLandAntiquities" and "GenerateSeaAntiquities" only appear in the game's base files in the Civics.xml to define which civcs are the triggers and as a text string in the dll.

I suspect the placements are essentially random but conforming to the rules for the RESOURCE_ANTIQUITY_SITE and RESOURCE_SHIPWRECK. I've also always suspected but not tried to verify that they are placed on map generation. In civ5 I recall if you saved your game-map midway through and then opened that map in civ5's Worldbuilder you could see where all the Antiquity Sites were placed.
 
For land antiquities - these are supposedly the same tiles where Barb Camps where earlier.
For shipwrecks - where fights with barb ships were done.
Ed Beach in one of old stream said something like that.

Edit. That is why you get to choose what civ or barbarian an artifact is from (usually). Also, I suspect if there are not enough of them, the game just generates some extra randomly, and then you just get a message "disovered that the artifact is from civ x"
 
Back
Top Bottom