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

Info Addict

Discussion in 'Civ5 - Mod Components' started by robk, Oct 12, 2010.

  1. robk

    robk Chieftain

    Joined:
    Sep 8, 2006
    Messages:
    210
    Location:
    Santa Monica, CA
    Check out this one: 22 players with the max connections turned on (3 connections between each icon).
     

    Attached Files:

  2. Valkrionn

    Valkrionn The Hamster King

    Joined:
    May 23, 2008
    Messages:
    14,450
    Location:
    Crestview FL
    Well. That looks almost like a mandala. :lol:
     
  3. robk

    robk Chieftain

    Joined:
    Sep 8, 2006
    Messages:
    210
    Location:
    Santa Monica, CA
    I actually use Improved Demographics when I'm playing. The world factbook demographics, while more detailed, aren't nearly as succinct and convenient as the table that Improved Demographics adds to the demographics screen. Plus, the top 5 cities cities thing is fun. I've thought about putting in city rankings based on certain criteria in the factbook but that takes a far backseat to getting the global politics graph working as well as a few other things.
     
  4. Onni

    Onni Chieftain

    Joined:
    Oct 9, 2010
    Messages:
    82
    I wonder what subliminal messages you are going to send to us with those new graphs? :crazyeye: Keep up the good work! :goodjob:
     
  5. lemonjelly

    lemonjelly Modding For Ethne

    Joined:
    Jan 5, 2008
    Messages:
    864
    Location:
    UK
    One little thing, can you put the leader name in the tooltip too?
    Like, [leader] of [civ] ?
    It looks incredible, this stuff makes Civ5 a lot better!
     
  6. robk

    robk Chieftain

    Joined:
    Sep 8, 2006
    Messages:
    210
    Location:
    Santa Monica, CA
    Yeah, I can give that a try. Definitely for the title at the top of tooltip but only for the list of civs under the categories if it doesn't blow out the tooltip and cause too much line wrapping.
     
  7. kaltorak

    kaltorak Chieftain

    Joined:
    Jul 7, 2009
    Messages:
    1,520
    Location:
    Madrid
    I am using economy mod and info addict at the same time and I don't see anything wierd happening. :confused:
     
  8. kris159

    kris159 Kris P Bacon

    Joined:
    Oct 24, 2009
    Messages:
    99
    Gender:
    Male
    Location:
    Sheffield, United Kingdom
    InfoAddict was incorporated to Economy Mod on October 22nd or earlier, you can turn the seperate Info Addict mod off when you have the Economy Mod active.
     
  9. LoneGamer

    LoneGamer Chieftain

    Joined:
    Sep 27, 2010
    Messages:
    138
    Awesome work, I wanted to do something like this myself for the longest time but have no clue how to go about it. I lack the lua know how.

    Just a quick question. Would it be possible to add a civilization info tab with their likes and dislikes?

    I find myself opening up each civs xml to see what their warmonger hate is etc before I go to battle to see what changes might occur in my current relationships. Is it possible to to add a tab that reads the info from civs xml's and lists it?

    Another question. Is there any new info on how our actions affect our relationships with civs? ex: If I'm in a pact of secrecy with the Aztecs against England and I trade with England is their something in lua(that we can currently see without the source) that shows the decrease in my relationship with the Aztecs?

    Knowledge is power and for this mod I thank you greatly :)

    Cheers.
     
  10. robk

    robk Chieftain

    Joined:
    Sep 8, 2006
    Messages:
    210
    Location:
    Santa Monica, CA
    v5 of Info Addict is now available with these changes (the first one is a big one!)

    • Added global relationship charts.
    • The list of civs in the historical graphs panel is now refreshed at the beginning of each turn.
    • Both the historical and relationship graphs have reset buttons now that appear when a selection is made. This button clears all selections and redraws the current graph.
    • Added a button to the trade and discussion screens so you can check Info Addict when a leader proposes a trade, pact or declaration of war.

    Here are all the features for the global relations charts.

    • Visual representation of global empire relationships.
    • Lines are drawn between civ icons to indicate an active relationship based on the current view. The color of the line defines the type of relationship and those colors are indicated in a key at the bottom right corner of the window.
    • You can select different views via the menu on the bottom left.
    • Each icon has a mouseover tooltip with detailed information for each relationship.
    • You can select empire icons to show only the relationships associated with those empires. Tooltips on other empires change to show only relationship details with your selection or selections.
    • You can also select the different relationship types from the key on the bottom right to view only those types.
    • Dead civs show up as dimmed icons and tooltips for that empire are no longer shown.
    • You can only see pacts of secrecy where your civ is an active participant and not the target.

    All changes should be compatible with saved games.

    Spoiler mod integrators: file changes and additions to v5 :
    Code:
    M      InfoAddict/InfoAddictReadMe.txt
    M      InfoAddict/XML/InfoAddictHistoricalData.xml
    A      InfoAddict/XML/DiscussionDialog.xml
    M      InfoAddict/XML/InfoAddictScreen.xml
    A      InfoAddict/XML/DiploTrade.xml
    M      InfoAddict/XML/InfoAddictCivRelations.xml
    A      InfoAddict/XML/DiscussLeader.xml
    M      InfoAddict/Lua/InfoAddictHistoricalData.lua
    A      InfoAddict/Lua/DiscussionDialog.lua
    M      InfoAddict/Lua/InfoAddictScreen.lua
    A      InfoAddict/Lua/DiploTrade.lua
    M      InfoAddict/Lua/InfoAddictCivRelations.lua
    A      InfoAddict/Lua/DiscussLeader.lua
    M      InfoAddict/Lua/InfoAddictLib.lua
    
    123 image files named like iac##_##.dds added to InfoAddict/Art/
    


    Edit: Updated OP with new screenshots and downloadable zip file is now updated as well.
     
  11. Valkrionn

    Valkrionn The Hamster King

    Joined:
    May 23, 2008
    Messages:
    14,450
    Location:
    Crestview FL
    An issue I'm noticing while merging... Doesn't look like you updated your lua to the latest patch. Missing some code concerning multiplayer chat, deals, and so on.

    Edit: It's all in DiploCorner, btw.
     
  12. robk

    robk Chieftain

    Joined:
    Sep 8, 2006
    Messages:
    210
    Location:
    Santa Monica, CA
    Yep, you're right. That completely slipped my mind :old:
     
  13. Valkrionn

    Valkrionn The Hamster King

    Joined:
    May 23, 2008
    Messages:
    14,450
    Location:
    Crestview FL
    Also, might want to check the version you have uploaded on CfC... I downloaded it, and it was v4. Confused me for a bit when the diploscreen didn't work after a quick winmerge. :lol:
     
  14. robk

    robk Chieftain

    Joined:
    Sep 8, 2006
    Messages:
    210
    Location:
    Santa Monica, CA
    Hmm, it looks OK me. How quickly did you grab it? I think I updated the CfC version about 15-20 minutes after I updated the thread (I should probably upload that first and then update the thread :rolleyes:)
     
  15. Valkrionn

    Valkrionn The Hamster King

    Joined:
    May 23, 2008
    Messages:
    14,450
    Location:
    Crestview FL
    Not sure, but pretty quick; v5 of Economy Mod is already up, with an updated version of Info Addict. :lol:
     
  16. Azazell

    Azazell Chieftain

    Joined:
    Oct 26, 2005
    Messages:
    349
    Location:
    Szczecin, Poland
    robk --> its good job! :)

    I have a problem. I try translation your mod in polish language. But I don`t see tag <Language> :(. Why?
     
  17. Montov

    Montov Chieftain

    Joined:
    Oct 18, 2010
    Messages:
    707
    Really great mod. The new Global Politics tab is beautiful. In my current game it gives a great overview, but that's also because there aren't much civs left. I think it will be necessary for games with a lot of civs to (de)select some lines, just as you can (de)select some civs in the graph.
     
  18. robk

    robk Chieftain

    Joined:
    Sep 8, 2006
    Messages:
    210
    Location:
    Santa Monica, CA
    That's mainly because I was lazy at the beginning of coding the mod and didn't pay attention to localized strings. I plan on going through the code at some point and changing all the strings so that the language can change and people can submit translations.

    That feature already exists. You should be able to select and deselect civs in the global relations chart by clicking on the icons as well as selecting the lines to show by clicking on the text descriptions of the connections at the bottom right of the screen.
     
  19. robk

    robk Chieftain

    Joined:
    Sep 8, 2006
    Messages:
    210
    Location:
    Santa Monica, CA
    I found a few bugs in the way trade deals are being examined, especially in the early stages of the game, that's affecting the global relationship diagram when the economic view is selected. The way trade deal examination is done in the game is not all that straight forward, as well as buggy, and I've had to put in some weird stuff in to get it working right. I hope to have a fix out tomorrow.
     
  20. Derax

    Derax Chieftain

    Joined:
    Aug 6, 2007
    Messages:
    68
    "Added global relationship charts."

    I REALLY love this ;) Brings back good old Civ features step by step :>
     

Share This Page