1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

MC and LITE's Nubia for VP

Discussion in 'Mods Repository' started by pineappledan, Jul 20, 2019.

  1. pineappledan

    pineappledan Warlord

    Joined:
    Aug 9, 2017
    Messages:
    3,825
    Gender:
    Male
    Location:
    Alberta, Canada

    UA: Ta-Seti
    • +2:c5production: and +10%:c5production: Production in cities with a Garrison.
    • Gain +500:c5goldenage: Golden Age Points and +5XP for all Units for each World Wonder in a newly conquered City.

    UU: Apedemak Archer (Archer)
    50:c5production:
    Unlocked at Trapping

    7:c5strength: CS, 9:c5rangedstrength: RCS
    2 :c5moves: Moves
    2 :c5rangedstrength: Range
    Volley Promotion
    Blessing of Apedemak - +1 :c5moves: Movement when starting turn next to River
    Naval Inaccuracy​

    UI: Royal Pyramid

    Unlocked at Construction
    Buildable on flat Desert, Plains, and Grass and not adjacent to each other
    Removes features

    +1:c5culture:, +2:c5faith:+1:c5gold: at Mathematics
    +1:c5gold: at Physics
    +1:c5gold:/:c5production:/:c5culture: at Architecture
    +3:c5culture: at Archaeology
    +1:c5culture:/:c5faith: for each Era between the Era the pyramid was constructed and the current Era
    An Ancient Ruin is placed below any Pyramid constructed in Ancient or Classical eras. Ancient Ruins are of the same era as when the Pyramid was originally constructed.​
    Spoiler More Unique Components Compatibility :

    UU2 (4UC) - Medjay (Unique Mercenary)
    200:c5gold:
    Gold Purchase Only
    Can move after Purchase
    no Purchase cooldown
    Does not require Iron
    Unlocked at Iron Working

    15:c5strength:
    2 :c5moves: Moves
    Shock I
    Temple Guard - +15%:c5strength:CS in friendly Territory, -5% to all :c5unhappy:Needs in City when Garrisoned :c5moves:
    If Nubia is in a game, all players that have an Embassy with Nubia can purchase Medjay. Nubia gains 75:c5gold: whenever any player (including Nubia itself) purchases a Medjay

    UB (4UC) - Cenobium (Workshop)
    350 :c5production: Production OR 300:c5faith:Faith
    Can Purchase with Faith
    Unlocked at Civil Service
    No Gold Maintenance

    3:c5production:3:c5faith:2:c5gold:
    +50 City HP
    +1 :c5production: Production for every 10 :c5citizen: Citizens in the City
    +1:c5strength: City Strength for every 2:c5faith: Faith generated by City
    +1 :c5production: Production and +1 :c5gold: Gold to Forest
    Allows :c5production: Production to be moved from this city along :trade: Trade Routes inside your civilization
    +2:c5production: Production to :trade: Internal Trade Routes from this city​

    Credits:
    • Pouakai: Code
    • Sukritact: Art, Models
    • Regalman: Art, text
    • COF: Text
    • JFD: Lua
    • Janboruta: Art
    • Tomatekh: Lua
    • JTitan: Models
    • CharlatanAlley: DOM Voiceover
    • Derek Fiechter: Music
    • pineappledan & Enginseer: VP Compatibility
    • Asterix Rage: Promotion Icons
     
    Last edited: Aug 6, 2019
  2. pineappledan

    pineappledan Warlord

    Joined:
    Aug 9, 2017
    Messages:
    3,825
    Gender:
    Male
    Location:
    Alberta, Canada
  3. Asterix Rage

    Asterix Rage Warlord

    Joined:
    Jun 6, 2010
    Messages:
    900
    That's unfortunate
     
  4. Asterix Rage

    Asterix Rage Warlord

    Joined:
    Jun 6, 2010
    Messages:
    900
    MC and LITE's Nubia (v 3) is needed?
     
  5. pineappledan

    pineappledan Warlord

    Joined:
    Aug 9, 2017
    Messages:
    3,825
    Gender:
    Male
    Location:
    Alberta, Canada
    Oh? Why’s that? It’s a unique mercenary unit that Nubia gets gold for other civs buying.
    not right now, no. I might change that, but there’s so many errors in the base mod
     
  6. Asterix Rage

    Asterix Rage Warlord

    Joined:
    Jun 6, 2010
    Messages:
    900
    Ah yes I didn't understand that

    EDIT:
    But everyone get Temple Guard. it makes this unit not so unique
    and what if Nubia is killed?
     
  7. pineappledan

    pineappledan Warlord

    Joined:
    Aug 9, 2017
    Messages:
    3,825
    Gender:
    Male
    Location:
    Alberta, Canada
  8. Jarula

    Jarula Chieftain

    Joined:
    Oct 22, 2016
    Messages:
    680
    Gender:
    Male
    Why not up the gold and make it only civs that have met Nubia...?
     
  9. pineappledan

    pineappledan Warlord

    Joined:
    Aug 9, 2017
    Messages:
    3,825
    Gender:
    Male
    Location:
    Alberta, Canada
    That would probably be better. Makes more sense than everyone on another continent having access to Medjay. How did they get there?
    It's harder to do though. I'm not sure if there's a lua hook for when you meet a new civ.
    If it requires iterating through every civ to see if they have met Nubia yet each turn then I won't bother. As it is right now, it's a single trigger at the start of the game and the lua is done. If it takes processing every turn then it's not something I'm interested in pursuing.

    EDIT: There is a GameEvents.TeamMeet() function, but there isn't a single example of its use according to the wiki. I couldn't find any after a quick google search either. I did find some discussion cautioning against its use for implementing game changes, because if the UI doesn't need it (ie when an AI civ meets another AI civ) then it probably won't fire.

    EDIT EDIT: I could make it so other civs can unlock it by having an embassy with Nubia maybe? That also makes it so a civ can't buy more Medjay if they are at war with Nubia, and means they have to get both writing and Iron Working to unlock Medjay, while Nubia only needs Iron Working.
     
    Last edited: Jul 21, 2019
  10. Asterix Rage

    Asterix Rage Warlord

    Joined:
    Jun 6, 2010
    Messages:
    900
    Of course, it's a good idea, but Humans will use this "exotic" mechanisms better than AI
     
  11. pineappledan

    pineappledan Warlord

    Joined:
    Aug 9, 2017
    Messages:
    3,825
    Gender:
    Male
    Location:
    Alberta, Canada
    I've played a game with Nubia and the AI definitely buys them, so no problem there.
    Having embassies with everyone is something the AI is better at than I am; I always forget until I want an open border agreement or something. AIs don't need to know this unlocks a free unit from Nubia, because AIs already spam embassies to everyone obsessively.

    I'll see if I can figure out how to do this embassy change. It removes Medjay if Nubia is dead and disables Medjay if you are at war or haven't met them yet, so that ties up all loose ends. I might need @Enginseer's help on code.
     
  12. pineappledan

    pineappledan Warlord

    Joined:
    Aug 9, 2017
    Messages:
    3,825
    Gender:
    Male
    Location:
    Alberta, Canada
    Okay, Medjay rework posted!

    Medjay garrison happiness reduction reduced to 5% for all needs
    Only civs with an embassy with Nubia can purchase Medjay
    ie. Cannot purchase medjay if you have not met Nubia, are at war with Nubia, or Nubia is dead
    Note: Medjay now have a compatibility issue with multi-civ teams. Team games will only give Medjay to the team captain. This is consistent with the rest of 4UC (Russia's Pogost also is not compatible with teams of 2+)
     
    Last edited: Jul 23, 2019
  13. Viralvoid

    Viralvoid Chieftain

    Joined:
    Mar 6, 2018
    Messages:
    180
    Location:
    From the Slums of Manila
    Spoiler The Nubian Dream :




    I really like this custom civ, coincidentally, Egypt is in the game as a wonder runaway :mischief::mischief:.
    Thank you!

    I don't understand this part, nothing comes out after construction, or even after discovering archaeology. I'm sorry, I think I misunderstood how this works. But even without it, I think royal pyramid is still powerful after archaeology.
     
  14. Bhawb

    Bhawb Chieftain

    Joined:
    Nov 11, 2018
    Messages:
    449
    It should mean that when you construct a Pyramid in those two eras, it will place an Ancient Ruin underneath the tile to be unearthed after Archaeology. If that isn't happening it could be a bug, or that you just happened to put those Pyramids on top oftiles that have blocked the ruin spawning, as I believe an Ancient Ruin cannot be placed on strategic resource tiles, for example.
     
  15. pineappledan

    pineappledan Warlord

    Joined:
    Aug 9, 2017
    Messages:
    3,825
    Gender:
    Male
    Location:
    Alberta, Canada

Share This Page