[Extension] [POLL] More Wonders for VP

What is your opinion on Flavoured Help Texts unique for More Wonders mod?

  • I like them and I use them every game

  • I use them from time to time to check how they perform

  • I use them only to give some feedback to the author

  • I prefer original version, but I don't mind them

  • I prefer original version, but I played with them few times

  • I don't like them in their current state, but I think they can be improved

  • I don't like them and disable them every game

  • I like them, but still I think they can be improved


Results are only viewable after voting.
I am still trying to fix my load-order.
I found the mod , which gave me that error.
Now i tried several times the method you show us, but it will allways look like :
mmh.PNG

Is that ok , or must MW-MAX-ERA be a 1 ?
 
Is that ok , or must MW-MAX-ERA be a 1 ?
MW-MAX-ERA is an option for Maximum Era restriction. So "0" means that there's no era restriction for WW.
The code goes like this:
Code:
--------------------------------------------------------------
/*
Maximum Era restriction!
0 = No restriction regarding Eras;
1 = You cannot build World Wonders from 2 Eras behind and further (Default);
*/

INSERT INTO COMMUNITY   
        (Type,                    Value)
VALUES    ('MW-MAX-ERA',             1);
--------------------------------------------------------------
 
Question regarding the Golden Pavillion fealty finisher wonder: Are there some hidden requirements, or am I just understanding it wrong? I want to build the Golden Pavillion in Huanuco Pampa, but it doesn't allow me:
Spoiler big image :
1659783596220.png
Whereas I can build it in Corihuayrachina:
Spoiler big image 2 :
1659783625881.png

What does this mean?
 
Cristo Redentor still requires hill and flat, so it's impossible to build.
I checked the code, and yes, at Prora lines (line 2763-2775) it wrongly stated as BUILDING_CRISTO_REDENTOR and not BUILDING_PRORA_RESORT.

You have to fix
SQL:
--------------------------------------------------------------------------------------------------------------------------------------------
-- PRORA
    UPDATE Buildings SET Cost = 1800 WHERE Type = 'BUILDING_PRORA_RESORT';
    UPDATE Buildings SET MaxStartEra = 'ERA_POSTMODERN' WHERE Type = 'BUILDING_PRORA_RESORT';
    UPDATE Buildings SET WonderSplashAnchor = 'L,T' WHERE Type = 'BUILDING_PRORA_RESORT';
    ---------------------------------------------------------
    UPDATE Buildings SET Flat = 1, Water = 1, MinAreaSize = 10 WHERE Type = 'BUILDING_CRISTO_REDENTOR' AND EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND (Value=1 OR Value=2));

    INSERT INTO Building_LocalFeatureOrs
                (BuildingType,                    FeatureType)
    SELECT        'BUILDING_CRISTO_REDENTOR',    'FEATURE_FOREST'
    WHERE EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND Value=2) UNION ALL
    SELECT        'BUILDING_CRISTO_REDENTOR',    'FEATURE_JUNGLE'
    WHERE EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND Value=2);
--------------------------------------------------------------------------------------------------------------------------------------------
to
SQL:
--------------------------------------------------------------------------------------------------------------------------------------------
-- PRORA
    UPDATE Buildings SET Cost = 1800 WHERE Type = 'BUILDING_PRORA_RESORT';
    UPDATE Buildings SET MaxStartEra = 'ERA_POSTMODERN' WHERE Type = 'BUILDING_PRORA_RESORT';
    UPDATE Buildings SET WonderSplashAnchor = 'L,T' WHERE Type = 'BUILDING_PRORA_RESORT';
    ---------------------------------------------------------
    UPDATE Buildings SET Flat = 1, Water = 1, MinAreaSize = 10 WHERE Type = 'BUILDING_PRORA_RESORT' AND EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND (Value=1 OR Value=2));

    INSERT INTO Building_LocalFeatureOrs
                (BuildingType,                    FeatureType)
    SELECT        'BUILDING_PRORA_RESORT',    'FEATURE_FOREST'
    WHERE EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND Value=2) UNION ALL
    SELECT        'BUILDING_PRORA_RESORT',    'FEATURE_JUNGLE'
    WHERE EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND Value=2);
--------------------------------------------------------------------------------------------------------------------------------------------

@adan_eslavo Can you fix this?
 

Attachments

Last edited:
v0.14.12 out with some corrections and stuff mentioned during weeks of my absence.

Code:
Changelog:
- increased Sigiriya and Golden Dagon Pagoda theming bonuses slightly to be better than Museum;
- corrected Cristo Redentor and Prora requirements;
- added New Beliefs Mod reference in main mod file;
- updated AssignStartingPlots.lua file to latest VP 2.6 (mostly for new Maize and Rice);

Found out - ToA requires forest (I thought forest or jungle - but having only jungle doesn't work)
Shouldn't be the issue. In code I have LocalFeatureOrs table used, so one or another. There's another table called LocalFeatureAnd that would cause what you described. Can anyone verify it again with new version, and if the problem exists, call it on VP github?

What about pineappledans New Beliefs mod? Running into the same issue here. And if it's a load order issue, how do I ensure one mod gets loaded before another? Like is it based on how they are listed alphabetically in the folder or what?

Also I'm wondering if we could have a change with the Red Fort? In my opinion its a completely useless wonder for the current game. Like usually I have to build it in my capital because it's nearly impossible to build finishers in smaller cities so the arsenal is kind of ineffective. The free engineer is a waste of space too as engineers become pretty much useless beyond the classical era. The 5 units increase cap, maybe it's okay but with caps in general being so high, who actually builds that big an army, I certainly don't. Also as a fealty finisher shouldn't it have some kind of religious bonus aspect? Maybe a free prophet upon completion? And perhaps a buff to all city castles? I don't know how you'd code the latter so maybe something easier there... maybe a free cover promotion. Something that ties in with defence at least. Just a thought :)
New Beliefs Mod
Added. For order problems look at first page of this modmod for instruction that might help you.

In your first city you don't have forest. I had same issue.
Look above.

I checked the code, and yes, at Prora lines (line 2763-2775) it wrongly stated as BUILDING_CRISTO_REDENTOR and not BUILDING_PRORA_RESORT.

You have to fix
SQL:
--------------------------------------------------------------------------------------------------------------------------------------------
-- PRORA
    UPDATE Buildings SET Cost = 1800 WHERE Type = 'BUILDING_PRORA_RESORT';
    UPDATE Buildings SET MaxStartEra = 'ERA_POSTMODERN' WHERE Type = 'BUILDING_PRORA_RESORT';
    UPDATE Buildings SET WonderSplashAnchor = 'L,T' WHERE Type = 'BUILDING_PRORA_RESORT';
    ---------------------------------------------------------
    UPDATE Buildings SET Flat = 1, Water = 1, MinAreaSize = 10 WHERE Type = 'BUILDING_CRISTO_REDENTOR' AND EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND (Value=1 OR Value=2));

    INSERT INTO Building_LocalFeatureOrs
                (BuildingType,                    FeatureType)
    SELECT        'BUILDING_CRISTO_REDENTOR',    'FEATURE_FOREST'
    WHERE EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND Value=2) UNION ALL
    SELECT        'BUILDING_CRISTO_REDENTOR',    'FEATURE_JUNGLE'
    WHERE EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND Value=2);
--------------------------------------------------------------------------------------------------------------------------------------------
to
SQL:
--------------------------------------------------------------------------------------------------------------------------------------------
-- PRORA
    UPDATE Buildings SET Cost = 1800 WHERE Type = 'BUILDING_PRORA_RESORT';
    UPDATE Buildings SET MaxStartEra = 'ERA_POSTMODERN' WHERE Type = 'BUILDING_PRORA_RESORT';
    UPDATE Buildings SET WonderSplashAnchor = 'L,T' WHERE Type = 'BUILDING_PRORA_RESORT';
    ---------------------------------------------------------
    UPDATE Buildings SET Flat = 1, Water = 1, MinAreaSize = 10 WHERE Type = 'BUILDING_PRORA_RESORT' AND EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND (Value=1 OR Value=2));

    INSERT INTO Building_LocalFeatureOrs
                (BuildingType,                    FeatureType)
    SELECT        'BUILDING_PRORA_RESORT',    'FEATURE_FOREST'
    WHERE EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND Value=2) UNION ALL
    SELECT        'BUILDING_PRORA_RESORT',    'FEATURE_JUNGLE'
    WHERE EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND Value=2);
--------------------------------------------------------------------------------------------------------------------------------------------

@adan_eslavo Can you fix this?
Corrected. Thanks for finding it.


Thanks to y'all for finding bugs. Don't worry I'm out of modding for a while and keep doing that. I'm aware of those issues and if only find some time, I will release new version. Probably nothing big soon will be released. I stil need to update PO and UCS :(

OP updated.
 
Last edited:
1660832713754.png
1660832755532.png


I don't know if it causing an error because I haven't tested it, but this is undoubtedly not correct, right?
It should be self.banana_ID, not self_banana_ID.

I found this because I'm trying to copy all edited lines from Github because I have my own modified AssignStartingPlots.lua file.

This is probably the culprit if the current upload is causing an error when generating plots.

EDIT: It's from VP, so it's not causing an error, but definitely still not correct.
 
Last edited:
If self_banana_ID was not declared as
Code:
self_banana_ID = self.banana_ID
then it is an error I suppose.
And it was probably not looking on other resources.

Let me know if they fix this, so I could take new file for new MW version.
 
If self_banana_ID was not declared as
Code:
self_banana_ID = self.banana_ID
then it is an error I suppose.
And it was probably not looking on other resources.

Let me know if they fix this, so I could take new file for new MW version.
I already reported it, and it seems like azum4roll already fixed it. You should too.
 
Ok, I will do silent update. v0.14.12.1 on with small, but important fix.

BTW, @N.Core Nice to see a new active face on our forum :)
 
Last edited:
v0.14.13 out:
Code:
- slightly improved model placement of Mount Everest (now it doesn't hover over the surface and what's more important, doesn't get the Mountain bonuses like other Natural Wonders);
- fixed wrong quote sounds links for Empire State Building and Bletchley Park;
- now "A. Lincoln" instead of "Abraham Lincoln" in Mt. Rushmore quote text (same like other presidents);
 
There has been some time since last big update (I checked that out of curiosity, it was 21 Dec 2021, so almost a year). Of course, I didn't neglect my community and this time was filled with 13 (!) small balancing and bugfixing updates (that's probably my personal record). There would be more of them probably if not that one guy, who gave me inspiration and additional content I could work on: @ghost toast. Of course there was another guy, working hard in the meantime and helping me with all my art problems: @gwennog. And there was @azum4roll and his help with AssignStartingPlots.lua file, and @N.Core, who helped me fixing one of the last Great Bugs, and... Oh boy, this update is so big, that dozens of people could be mentioned here, but better, if I do that in the changelog, ok?

I decided to release this version slightly prematurely (I will write down why below and it's not because Christmas is earlier this year), so I can present to you:

"NATURAL BALANCE" UPDATE
aka v0.15

This update focuses mostly on adding one new Natural Wonder, fixing and balancing multiple stuff related to Natural Wonders as well as other things, also in World Wonder part, that you or I came up with during last 2 months of my work. More info in detailed changelog below.

Now you can also delete whole part 1 (World Wonders) or part 2 (Natural Wonders) if you don't like them without any harm. But, the hell, why would I recommend that? Mostly because there were some people complaining about too much stuff, hard to balance etc. Now they don't need to resign from the other part of the mod if they actually like it!

Also, what's rather important, I had to release new versions of Promotions Overhaul (v31) and Alternate Component Names (v8). First adds some stuff changed in More Wonders mod, but second is filled with brand new part you can enable or disable: Endonyms for Natural Wonders. This means you can f.e. use regular english names like "Mt. Everest" or endonyms incorporated by this modmod like "Chomolungma".

Why is this update premature? While we (with @N.Core) managed to finally add Strategic View icons to map for new Natural Wonders (Yippee-ki-yay!; it was an annoying bug for so long), unfortunately those icons show up on top of any other UI. Maybe it's not pretty, but better that, than nothing, right? We'll try to fix that later on (if we find a solution).

Also, like always with such big updates, there can be some hidden bugs, so I must ask you for reporting any strange behaviour you met with this version.

This version is fully compatible with VP v2.6, and should be with upcoming v2.7 (when, I don't know). It contains latest AssignStartingPlots.lua file not released with VP yet, but available on github.


Download v0.15


Code:
- new:
    - added new Natural Wonders:
        - Mt. Paektu (by @ghost toast)! 1-tile; located at Tundra, creates 3 new rivers on the map that starts their flow from its caldera;
    - brand new and high quality strategic view icons for all new Natural Wonders! (by @gwennog)
    - added Matterhorn sv_icon to the library for later times, currently in use by Mt. Everest (by @gwennog);
    - added new model for Great Barrier Reef, substituting glitchy and ugly original one (by @ghost toast);
    - added new Bonus Resource: Tropical Fish exclusive to some sea-based Natural Wonders (currently to one) (model by @ghost toast and new icon by @gwennog);
    - created new method for Natural Wonders placement in AssignStartinPlots.lua file (will be included with latest VP as well) (with @azum4roll);
- balance:
    - Mt. Everest gives +1 Tourism to adjacent Mountains;
    - simplified (nerfed) Dallol by deleting +2 Production from Sylvite;
    - reworked the concept of Altitude Training (Kilimanjaro) promotion:
        - now given to only Recon units (was all Land units);
        - now gives +1 Sight to compensate the nerf;
    - reworked feature spawning process for Great Barrier Reef:
        - now chance to spawn: land tile with Jungle (10%), Atoll (20%), Coral (30%) and Tropical Fish (40%);
        - more features and/or resources spawn (up to 6, was 2);
        - they spawn around whole GBR (previously only around middle tile);
    - Krakatoa now creates up to 3 island tiles (hill, grassland) around the ring of water that surrounds it;
    - totally revised spawning frequencies for Natural Wonders:
        - reduced requirements for most of them to make them easier to spawn;
        - added some new NWCustomPlacement methods (Uluru, Barringer Crater) and adjusted few other;
        - optimized "OccurrenceFrequency" values from scratch (with new algorithm all NWs have equal chances to spawn):
            - on Tiny Continents map frequencies vary from 18-48% (tested on 50 games);
            - on Small Continents map frequencies vary from 20-55% (only one NW has 65%) (tested on 60 games);;
            - on Standard Tectonic map (by @N.Core) frequencies vary from 27-80% (tested on 15 games);
    - decreased slightly the minimum distance between Natural Wonders (factor changed from 11 to 9 - latest VP change: now it doesn't rely on map height) (by @azum4roll);
    - optimized movement cost and sight blockaded for numerous wonders; info in updated op;
    - Goddess of Nature now splits yields propotionally between tiles of multi-tile Natural Wonders (by @pineappledan);
    - changed Torre del Oro requirements to allow building Drydock (added Coast, deleted Fort);
- fixes:
    - finally fixed the issue with invisible sv icons for new Natural Wonders! (with @N.Core); they currently overlap other UI elements, but work!
    - fixed Dallol placement (missing terrain requirements);
    - fixed Salar de Uyuni placement (rare conditions where B part couldn't be placed);
    - fixed Great Barrier Reef placement (only 2 of 3 posible directions were used);
    - fixed Great Barrier Reef's Atolls placement (now small chance for placing land with Jungle instead of Atoll; was impossible);
    - fixed Mt. Fuji yields per era (missing +1 Faith);
    - fixed, revised and optimized all Civilopedia entries for Natural Wonders;
    - fixed multiple text errors (mostly in Natural Wonders' part);
    - fixed alignment of sv Resource icons;
    - fixed definition of sv_icons for new Resources;
    - fixed Natural Wonders' icons (placement, size, broken shadows);
    - fixed Goddess of Nature not working for new Natural Wonders (PseudoNaturalWonders) by using other db table (by @pineappledan);
    - fixed Millau Viaduct requirements (missing IsNoCoast entry);
    - added missing texts for EE World Wonders (light requirements);
    - updated spreadsheets for Natural Wonders and World Wonders;
- miscellanous:
    - renamed "Holy Mountain" promotion to "Mahaprasthanika Parva" (by @pineappledan)
    - renamed "Kumsusan Palace of the Sun" to "Revolutionary Museum" (by @Kim Dong Un):
        - same icon and abilities;
        - changed name and splash image;
    - changed setting names to be easily recognized in Community table (f.e. MW-MAX-ERA --> MW-SETTING-MAX-ERA); I hope all stuff was found and changed correctly; report any issues;
    - optimizations to the folder and files tree:
        - all settings, automatic mod detections, custom options and overall definitions moved to new GlobalSettings.sql file;
        - all atlases' definitions moved to corresponding folders to new files (promotions, resources);
        - some files moved to new folders;
        - all of this allows deleting either part 1 (World Wonders) or part 2 (Natural Wonders) if someone is not happy with it and wants to play with only one of them;
    - moved "Per Era yields" to same line as "Yields" for NW popup window to make more place for other effects;
    - added icons for Global Seed Vault (by @gwennog);
    - added base code for Eye of the Sahara (only model is missing);
    - cleaning lua files for NWs;
    - deleted or commented most of lua print check statements (to make the lua.log file smaller and easier to debug);
    - deleted unnecessary lua file named "unused";
    - updated credits file.


Some preview:
Spoiler Images :

1664030394336.png
1664030412804.png
1664030433977.png
1664030457959.png
1664030515727.png




This mod contains brand new algorithm for Natural Wonders spawning process, and this required multiple tests to be proceeded. How those tests looked like, you can see below:
Spoiler Spawning tests :

TINY CONTINENTS
1664027875963.png


SMALL CONTINENTS
1664027922130.png


STANDARD TECTONIC
1664027961018.png




Main post of this mod was updated as well with new stuff, changed stuff, new FAQ and other miscellanous changes.
 

Attachments

Last edited:
Because v0.15 is finally out, it's time to draw some roadmap for v0.16, huh?
  • anything @ghost toast will model: new models for old Natural Wonders or brand new stuff for non-existing Natural Wonders... whatever;
    • almost all models beside Salar de Uyuni and Mt. Paektu should be refined;
    • Eye of the Sahara is already coded and only model for it is missing;
    • there are few Sea-based Natural Wonders I have in mind, which would make some competition for current 4 (Krakatoa, Great Barrier Reef, Bermuda Triangle and Bioluminescent Bay), and these are (it would be also a nice theme for the whole update, don't you think?):
      • Galapagos (2-tile)
      • Ha long Bay (2-tile)
      • Great Blue Hole (1-tile)
      • Mauna Kea (3-tile)
  • missing quote sounds for existing World Wonders (with courtesy of @pineappledan);
  • missing civilopedia entries for new World Wonders and Natural Wonders (with courtesy of @Hinin);
  • coding few new World Wonders I have art for them already (about 6 of them could be added right now);
  • keep looking for a solution to the sc_icons UI bug;
  • add World Congress bugfix for multi-tile Natural Wonders if appropriate table is added into VP;
  • anything that will show up in my or your minds :D.
 
Doing some loose thinking of what could those 4 potential Sea Natural Wonders add. These are my recent results:
1664067684368.png


1664068412801.png


1664069422836.png


1664070346415.png
 
Last edited:
Strange. Seems like it didn't see the "target_number" parameter. Did you try deleting cache?
Main function was reworked to transfer that paramter from mother one. Maybe cache remembers something odd?
I have totally no problem with my current version, and I didn't touch the file since the release, so this would be my first type.
 
Last edited:
Back
Top Bottom