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

Trade Opportunities for VP

Discussion in 'Mods Repository' started by adan_eslavo, Sep 8, 2018.

  1. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    1,508
    Gender:
    Male
    Location:
    Łódź, Poland
    TRADE OPPORTUNITIES FOR VP

    @whoward69's Trade Opportunities mod modified for VP.
    Code:
    List of main changes:
    - all resources counting new from VP are reordered and grouped, and they have now header in main window,
    - reworked compatibility with luxuries outside VP,
    - added strategic resources,
    - total recolouring of any detail. Every colour is described in special "Colour Key" tab at the bottom of the window,
    - added many additional info like monopolies or current deals,
    - fonts, lines, spaces, aligning and other UI things were adjusted to fit the screen and look better,
    - and many many more...
    For anyone who makes mod that adds new civilization to VP and it has new luxury resource:
    If you want your mod to be compatible with Trade Opportunities for VP then you have to add Help text for your new resource like it is done for VP resources or Coca in MUCfVP!
    If anyone notice that the resource is not showing up in his/her list, then it is first thing to check. Please, notify any modmakers who should know that.


    Download Trade Opportunities for VP (v8.1)
    Github Repository (v8.1.1)

    Enjoy!
    Main screen with VP luxury and strategic resources added:
    upload_2018-11-11_15-29-14.png

    Main screen at the beginning of the game (no more spoilers):
    upload_2018-11-11_15-40-17.png

    City-State View screen:
    upload_2018-11-11_15-28-50.png

    Miscellaneous things:
    upload_2018-11-11_15-30-54.png upload_2018-11-11_15-32-2.png
    upload_2018-11-11_15-40-27.png upload_2018-11-11_15-40-37.png upload_2018-11-11_15-40-52.png

    Compatibility with resources outside VP:
    upload_2018-11-11_15-29-58.png
     
    Last edited: Dec 2, 2018
  2. ryanmusante

    ryanmusante Regular Supporter

    Joined:
    Jan 4, 2018
    Messages:
    900
    According to the man himself, it is acceptable. Thanks again for your work and dedication, adan_eslavo.

    https://forums.civfanatics.com/threads/picknmix-fair-usage-clarification.627420/
     
    Erikose, whoward69 and adan_eslavo like this.
  3. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    1,508
    Gender:
    Male
    Location:
    Łódź, Poland
    Awesome, thanks. Didn't read that before.
     
  4. CppMaster

    CppMaster Chieftain

    Joined:
    Feb 13, 2018
    Messages:
    834
    Location:
    Poland
    Does it provide more info than Global Relations mod?
     
  5. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    1,508
    Gender:
    Male
    Location:
    Łódź, Poland
    If you have GR mod compatible with VP then no. It is raw Trade Opportunities with VP luxuries added. Global Relations have some additional info about relations. I personally use InfoAddict and Trade Opportunities. They work well together.
     
    Last edited: Sep 8, 2018
    CppMaster likes this.
  6. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    1,508
    Gender:
    Male
    Location:
    Łódź, Poland
    Posted screen to show you where it is hidden and how mod looks like now.
     
  7. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    1,508
    Gender:
    Male
    Location:
    Łódź, Poland
    New v28m3 out!
    Code:
    v28m3:
    - futher window adjustments,
    - moved Marble and Ivory to the left (new group: Special luxuries),
    - moved Fur from Plantation group to Camp where it should be,
    - added headers for each group.
    You can see changes on new screenshot in main post.
     
  8. Phalanx BR

    Phalanx BR Chieftain

    Joined:
    Apr 15, 2013
    Messages:
    22
    Gender:
    Male
    Location:
    Brazil
    Just a nitpick: Brazil is written with a Z in English.
     
  9. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    1,508
    Gender:
    Male
    Location:
    Łódź, Poland
    @Phalanx BR Whoops, sorry mate. In polish we say Brazylia, so similar. I don't know why I misspelled it. I will correct that in next version. I did already some tweaks to the UI so it will be released anytime soon.
     
  10. Phalanx BR

    Phalanx BR Chieftain

    Joined:
    Apr 15, 2013
    Messages:
    22
    Gender:
    Male
    Location:
    Brazil
    @adan_eslavo The name of the country in Portuguese is Brasil (it used to be Brazil until about 70 years ago). That's probably why you misspelled it.
     
    adan_eslavo likes this.
  11. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    1,508
    Gender:
    Male
    Location:
    Łódź, Poland
    New v28m4 out! I would call it "Brazilian fix" (thx @Phalanx BR). Many additional UI tweaks and text corrections.
     
    Phalanx BR likes this.
  12. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    1,508
    Gender:
    Male
    Location:
    Łódź, Poland
    @jdude147 v28m5 with block statement and changed dependency from More Luxuries is out.
     
    Hinin likes this.
  13. ChickenFighter

    ChickenFighter Chieftain

    Joined:
    Sep 25, 2018
    Messages:
    10
    Gender:
    Male
    Super useful mod! Thanks a lot for porting it to VP!

    Just one minor thing: do you think it could be possible to squeeze in strategic resources aswell? I often find myself lacking iron after upgrading my fleet and have to click through all civs and city states to see who has the most iron to offer, adding strategic resources to this UI would help a ton. What do you think?
     
    adan_eslavo likes this.
  14. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    1,508
    Gender:
    Male
    Location:
    Łódź, Poland
    It is doable of course. I thinkbof it two ways: scrappinjh gold income in window and stretch window to fit strategic resources, or add similar tab. Second option would require analyzing code deeply to cut unnecessary stuff etc. I dont think I will rush it but give me few weeks. I will try to create something.
     
    ChickenFighter likes this.
  15. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    1,508
    Gender:
    Male
    Location:
    Łódź, Poland
    You can also check top bar by hovering iron. It will show every nation and cs having such resource with quantity. Of course if you are using EUI. If its red then it is not improved. Green - it is. But it probably shows up when appropriate nation / cs reasearched tech for iron fe.
     
    ChickenFighter likes this.
  16. ChickenFighter

    ChickenFighter Chieftain

    Joined:
    Sep 25, 2018
    Messages:
    10
    Gender:
    Male
    Oh, didn't know that! That should do the trick too I guess, thanks!
     
  17. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    1,508
    Gender:
    Male
    Location:
    Łódź, Poland
    v28m6 available. Thanks to @ChickenFighter for the idea.
    Code:
    v28m6:
    - added:
       - strategic resources to the table,
       - color key info tab,
       - orange color when active player has only 1 copy of resource available for trade.
    - deleted:
       - action icons for active player (useless),
       - gold info in main tab (to make space for strategic resources).
    - improved "City-states View" tab:
       - each line takes less space,
       - better alignment,
       - smaller font,
       - deleted old gold gift options.
    - revised texts.
    
     
    Last edited: Nov 2, 2018
  18. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    1,508
    Gender:
    Male
    Location:
    Łódź, Poland
    I'm still working on improving TO mod even more. For now I made major changes to colour palette and calculation method. It was somewhat inaccurate and shown tradable resources even when there weren't such. Also added Monopolies info.

    Do you have any more ideas? Please share them before I upload new version.

    You can see comparison of old and new colours and numbers:
    upload_2018-11-4_22-51-27.jpeg
    upload_2018-11-4_23-40-42.jpeg
     
    Last edited: Nov 4, 2018
    ryanmusante likes this.
  19. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    1,508
    Gender:
    Male
    Location:
    Łódź, Poland
    Another few ideas added. Main: "No more spoilers at the beginning of the game". That is what you will see at game start now:
    upload_2018-11-5_21-20-31.png

    That means you will see only your own resources. When you meet player then you will "discover" new sources. No more spoiler that Indonesia is on the map because you can see Pepper on the list.

    I'm still improving this feature, but now it is working like charm.
     
  20. adan_eslavo

    adan_eslavo Archmage of all Pixels Supporter

    Joined:
    Apr 23, 2017
    Messages:
    1,508
    Gender:
    Male
    Location:
    Łódź, Poland
    Anyone knows what text fields like TXT_REST_OF_TEXT are for Currend Deals (they arevisible in map view when you hover leader icon on the right, I posted that question on quick questions thread with no response) and the monopoly bonus for each resorce?
     
    Last edited: Nov 6, 2018

Share This Page