Volcanoes for VP

Little update.

Changelog:
- fixed bug whereby Volcanoes spawn on Ancient Ruins;
- Natural Wonders Fuji, Krakatoa, Kilimanjaro count as Volcanoes for building requirements. If More Wonders for VP is enabled, also Mt. Paektu and Dallol.
(Mauna Kea is not yet added to adan_eslavo's mod)
Is this savegame compatible?
 
You can make it savegame compatible by copying all the content EXCEPT the .modinfo file.
Changing the .modinfo file breaks the save.
This applies to any civ5 mod.

EDIT: Actually I changed an important thing to the sql database (added IsVolcano column to Features table)
So yes, it's not savegame compatible unfortunately.
You have to finish your game and start one anew.
 
Did he rule out these textures being deployed as improvements?
I found them but they are just dds, there's no gr2 model, probably because they are intended as terrain.
 

Attachments

  • lava_textures.zip
    112.1 KB · Views: 12
Update.

Changelog:
- fixed Volcano spawning on the same tile of a settler (very very rare but it could happen, now it never happens);
- added a lua workaround whereby tables Belief_CityYieldPerXFeatureTimes100 and Building_YieldPerXFeatureTimes100 give yields based on numbers of Volcanoes within 3 tiles without needing to work the tile, like it already happens with mountains (and mountains alone have such exception). The bonuses appear as additional yields from buildings.
 
Last edited:
Built several Obsidian works - 3 in version 1 and 1 in version 3 never seen obsidian spawn.
Thanks for reporting.
I used the table Building_ResourcePlotsToPlace but that seems to create a certain discontent also in relation to other mods (More Wonders for VP).
Technically that means around the city where you constructed the Obsidian Works there was no plot eligible to spawn the resource.
I will discard using the table and make Obsidian spawn with lua so it will be there with certainty.
 
Default volcanoes were too common for me, so I reduced their spawn rate from 25 to 20, then 10, but any change to data results in mod not producing any volcanoes at all for me.
Any ideas?
 
Update inbound.

Changelog:
  • Fixed Obsidian Works not spawning Obsidian.
  • Also reduced JAR_VOLCANOES_PERCENT from 25 to 10.
 
Beside being ugly graphically it also cannot be improved because volcanoes are impassable.
 
Strange, but now obsidian placed in the city tile. When I look at resources it shows it in city, but I can't trade it and it doesn't count in monopoly screen and it gives me nothing. Even when one of my cities wants it for WLKD I have to buy it.
 
Update online.
Added a check to avoid obsidian spawning under city tile.
 
Update online.
Added a check to avoid spawning volcanoes on hill natural wonders like Barringer Crater.
 
Maybe the eruption event could use a "pre-event" in the same format like plague, drought, global cooling, where the player can be pre-notified and start to evacuate military units/civilian population (with the risk that it didn't happen).

Also, I love the trade event idea. Either way volcanoes should be a major boon but also a major risk factor.
 
Update online.

Improved the efficiency of Volcano placement algorithm, that is faster map generation.
 
Update inbound.
Finally I managed to add the eruption negative events.

Changelog:
  • removed existing eruption events from base VP
  • added 2 custom events (normal eruption and heavy eruption, the latter has less probability to happen), each with 2 choices. The first choice gives some :c5science:Science (scaling with era) but the improvements adjacent to the Volcano are pillaged, there's a chance buildings are destroyed and interested City loses 3 citizens (5 in case of heavy eruption). The second choice unlocks when the City constructs the Volcano Observatory building: the effects are the same except :c5science: Science yield is increased and City loses no population (the logic is the Observatory catches warning signs of volcanic activity allowing people to safely evacuate in time but buildings and improvements are still affected).
 
Last edited:
could you make your mod compatible with this?
 
could you make your mod compatible with this?
It already is.
I added a code that deletes the volcano events there and replaces with mine.
 
Top Bottom