More Wonders for VP

Discussion in 'Mods Repository' started by adan_eslavo, Jan 5, 2020.

?

What exclusive Enlightenment Era World Wonders you would like to see added in this mod (max. 3)

  1. Wat Pho (Thailand) (around1688) tied to Economics

  2. Buckingam Palace (England) (1703) tied to Navigation

  3. Paro Taktsang (Bhutan) (1692) tied to EE-Flintlock

  4. Bell Rock Lighthouse (Scotland) (1810) tied to EE-Wargames

  5. Yellowstone National Park (USA) (1872) tied to EE-Wargames

  6. Arc de Triomphe (France) (around 1830) tied to EE-Wargames

  7. Bastille (France) (from XIV to late XVIII) (but as a prison) tied to EE-Fortifications

  8. Taman Sari (Indonesia) (1765) tied to EE-Fortifications

  9. Stone Town (Tanzania) (1830-1840) tied to EE-Fortifications

  10. Bolshoi Theater (Russia) (1776/1825/1856) tied to EE-Romanticism

  11. other (suggest in the thread, please)

  12. Canal du Midi (France) (1681) tied to Navigation

  13. Fontanna di Trevi (Italy) (1776) tied to Economics

  14. Modlin Fortress (Poland) (1806) tied to EE-Fortifications

Multiple votes are allowed.
Results are only viewable after voting.
  1. KittyKat3120

    KittyKat3120 Warlord

    Joined:
    Oct 13, 2018
    Messages:
    112
    Hi adan, thank you for the massive update

    I just started a new game with pineappledan Khmer mod, and it seems like his mod replaces the manufactory to a unique improvement, I was wondering how I could make the Malwiya provide the +3 faith for it too?
     
  2. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    2,502
    Gender:
    Male
    Location:
    Łódź, Poland
    Find this:
    Code:
    INSERT INTO Building_ImprovementYieldChangesGlobal
                    (BuildingType,            ImprovementType,            YieldType,            Yield)
        VALUES        ('BUILDING_MALWIYA',    'IMPROVEMENT_MANUFACTORY',    'YIELD_FAITH',        3),
                    ('BUILDING_MALWIYA',    'IMPROVEMENT_QUARRY',        'YIELD_FAITH',        1),
                    ('BUILDING_MALWIYA',    'IMPROVEMENT_QUARRY',        'YIELD_PRODUCTION', 1);
    And add one more line with manufactory replacement written in place of manufactory improvement.
     
  3. hokath

    hokath King

    Joined:
    Oct 3, 2013
    Messages:
    954
    Location:
    London
    Spoiler :
    upload_2020-7-1_11-56-43.png upload_2020-7-1_11-56-11.png upload_2020-7-1_11-56-15.png upload_2020-7-1_12-0-40.png upload_2020-7-1_11-57-36.png

    I think I'm getting a bit better at this. :D
    Banff and Orszaghaz to go, and then maybe redo the Museum Island one. I think the Himalayan Railway looks ok as-is?
     

    Attached Files:

  4. How to know

    How to know Chieftain

    Joined:
    Oct 7, 2015
    Messages:
    86
    Location:
    middle of nowhere
    Really like your icon for the Kew, the water colour effects on the plants and glasses are amazing! I thought the icon was going to feature the pagoda or an elevation from the outside of the greenhouse, but yours really captured the core.

    The other thing is I don’t understand the requirement for the Panama Canal, lime what kind of land does it need? Like 10 land tiles that are touching water from both sides?
     
    adan_eslavo and hokath like this.
  5. hokath

    hokath King

    Joined:
    Oct 3, 2013
    Messages:
    954
    Location:
    London
    Not sure,
    I found the relevant code
    Spoiler :

    -- checks if city is on ISTHMUS (PANAMA CANAL)
    function IsOnIsthmus(ePlayer, eCity, eBuilding)
    if not tValidIsOnIsthmus[eBuilding] then return true end
    if bReachedMaxEra then return false end
    local pPlayer = Players[ePlayer]

    if not pPlayer:IsAlive() then return false end
    local pCity = pPlayer:GetCityByID(eCity)

    if pCity:plot():Area():GetNumTiles() < 11 then return false end

    local iCityX = pCity:GetX()
    local iCityY = pCity:GetY()
    local iTerrainTypeChanges = 0
    local iPreviousTerrainType = -1
    local iCurrentTerrainType = -1
    for dir = 0, DirectionTypes.NUM_DIRECTION_TYPES - 1 do
    local pAdjacentPlot = Map.PlotDirection(iCityX, iCityY, dir)

    iPreviousTerrainType = iCurrentTerrainType
    iCurrentTerrainType = pAdjacentPlot:GetTerrainType()
    if iPreviousTerrainType ~= -1 and iPreviousTerrainType ~= iCurrentTerrainType then
    iTerrainTypeChanges = iTerrainTypeChanges + 1
    end
    if iTerrainTypeChanges >= 3 then return true end
    end
    return false
    end
    GameEvents.CityCanConstruct.Add(IsOnIsthmus)
     
  6. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    2,502
    Gender:
    Male
    Location:
    Łódź, Poland
    Thanks @hokath. I'm back from bike tour around Tatry and get back to work! I will add new promo icons from @Asterix and start to program industrial buildings with your amazing icons!

    @How to know: it requires an isthmus, so city must be placed on piece of land where it has water on both sides (may be on three sides) divided by land. Code looks for patterns like this (at least one variant is not shown in pictures below, but implemented):
    upload_2020-7-5_14-2-44.png Additionally land area (continent, island) must consist of at least 10 tiles, so it is not possible to build it on f.e. 3-tile island.

    If you find some city where it should be taken int account by the code, but it is not, make me print screen and post it. I tried to check all possibilities.
     
    Last edited: Oct 21, 2021
    How to know likes this.
  7. JohnnyNT

    JohnnyNT Chieftain

    Joined:
    Sep 6, 2019
    Messages:
    52
    Gender:
    Male
    Can you PM me GPX of that, if you have one? Maybe next holidays I could do that too.
     
  8. Valvts

    Valvts A Plant

    Joined:
    Sep 20, 2014
    Messages:
    350
    How Marocco accomplishes the Panama Canal building conditions?
     

    Attached Files:

  9. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    2,502
    Gender:
    Male
    Location:
    Łódź, Poland
    Neither of its cities met the conditions so I don't know. Need to look through the code.

    I used terrains change checks insted of water/land checks :/ Correcting...
     
    Last edited: Jul 5, 2020
  10. amateurgamer88

    amateurgamer88 Emperor

    Joined:
    Aug 24, 2018
    Messages:
    1,391
    Gender:
    Male
    @adan_eslavo Is it okay if I use this mod for my mods? Just planning on making the mod a required mod for my mods but I will have to make changes for balance reasons and other factors.
     
  11. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    2,502
    Gender:
    Male
    Location:
    Łódź, Poland
    v0.8.1 with fix for Panama Canal and new promotion icons from @Asterix Rage. Link in the OP.
     
  12. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    2,502
    Gender:
    Male
    Location:
    Łódź, Poland
    Just link the original mod in the credits or the mod OP and its ok. Good luck!
     
    amateurgamer88 likes this.
  13. Valvts

    Valvts A Plant

    Joined:
    Sep 20, 2014
    Messages:
    350
    Another weird case!

    By the way, I cant find the 2 other Industry and Freedom wonders in the tech tree :O

    By the way, the country wonder related to the civ being in the game, or is it just flavor?
     

    Attached Files:

  14. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    2,502
    Gender:
    Male
    Location:
    Łódź, Poland
    What about the Cristo Redentor is not ok if you could explain? city is on coast, has forest (or jungle) and is probably build on hill, but from the picture it can't be seen. It is build quite early, but as I can see Theodora is much ahead of the rest of the stuff.

    You cannot find industry or freedom wonders, because they have not been programmed yet. Ruhr Valley and Banff Springs Hotel are going to be released next iteration. For now there are only 5 new industrial era wonders. All stuff released is mentioned here.

    If you ask about country relationship mentioned in op it is just flavour showing I tried to spread wonders wordwide. Taking all of them from Europe or Asia is just boring and I wanted to take smth from other cultures.
     
    Valvts likes this.
  15. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    2,502
    Gender:
    Male
    Location:
    Łódź, Poland
    @hokath Your icons are good, but smallest ones in game lack contrast and are just a mix of colours. You cannot distinguish anything on them. Compared to original ones they should be tweaked if possible. I tested for now Zocalo, Siberian Railway and Kew Gardens.
     
  16. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    2,502
    Gender:
    Male
    Location:
    Łódź, Poland
    v0.8.2 released:
    • 4 new World Wonders (Kew Gardens, Trans-Siberian Railway, Zócalo and Ruhr Valley);
    • modified theming bonuses (base :tourism:/:c5culture:) for all wonders in the mod; all of them were bumped to make them more competitive comparing to base buildings and other base wonders;
    • some small text tweaks;
    • fixed flavours for Darjeeling;
    • added splash art for new wonders and icons from @hokath;
     

    Attached Files:

    gwennog and Seiryuuuu like this.
  17. hokath

    hokath King

    Joined:
    Oct 3, 2013
    Messages:
    954
    Location:
    London
    Ok cool I can block in the colours on the small ones. Do you know what size it starts at, like 80 or 64? I'll check myself also.
     
  18. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    2,502
    Gender:
    Male
    Location:
    Łódź, Poland
    80 probably is used in Wonder Planner it is blurred there too. Try 80, 64 and 45.
     
  19. hokath

    hokath King

    Joined:
    Oct 3, 2013
    Messages:
    954
    Location:
    London
    Ok, I'll do them all together after Modern is done.

    In other news, I forgot there was already a Rockefeller icon. Do you prefer Sukritact's or my new one?
    Spoiler :
    Picture3.png
     
  20. Seiryuuuu

    Seiryuuuu Chieftain

    Joined:
    Jun 30, 2020
    Messages:
    12
    There is a bug with Kew Gardens, I can build it even without completing rationalism and I can still build Bletchey.
     

Share This Page