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

Domestic Advisor - Happyness overview

Discussion in 'Civ4Col - We The People' started by Raubwuerger, Sep 7, 2020.

  1. Raubwuerger

    Raubwuerger Chieftain

    Joined:
    Nov 24, 2014
    Messages:
    45
    Location:
    Bavaria
    Hello all together,

    after the Happyness concept was implemented, I made an "Happyness overview" for each city.
    You can access it on the Domestic Advisor (First Button, fourth page).

    I tried to make the icons self-explanatorily. But I was not able to find icons for domestic market, and slavery.

    upload_2020-9-7_14-45-10.png

    The columns in detail:
    • Total (Overall happyness, could also be negativ)
    • Happyness by Crosses
    • Happyness by Liberty Bells
    • Happyness by Health
    • Happyness by Cultur
    • Happyness by Education
    • Happyness by Domestic Market
    • Happyness by Agreements
    • Unhappyness by Population
    • Unhappyness by Salvery
    • Unhappyness by War
    • Unhappyness by (lacking) Defense
    • Unhappyness by Tax
     
    Derek Brown, Mr. ZorG, Hecur and 3 others like this.
  2. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    5,904
    Gender:
    Male
    Location:
    Stuttgart, Germany
    Nice. :)
    Thanks a lot for your efforts. :thumbsup:

    Are all changes done in Python of Domestic Advisor Screen only?
    (Or did you also need to modify DLL?)

    By the way:
    The Icon for "Domestic Market" is perfectly fine for me.
    The Icon you currently use for "Taxes" could be the "Gold Stack"-Icon. (Might be a little bit clearer.)
    For "Slavery" we could use the Icon you currently use for "War".
    For "War" we could use the "Blades" or "Guns" Icon. (Which might be clearer anyways.)

    Then we would have all Icons.
    It would be good enough for me. :dunno:

    Edit:
    If you want me to, I could then simply integrate it (into "Challenge"). :thumbsup:
    I see no reason why we should not.
     
    Last edited: Sep 7, 2020
  3. Raubwuerger

    Raubwuerger Chieftain

    Joined:
    Nov 24, 2014
    Messages:
    45
    Location:
    Bavaria
    It's all done in the CvDomesticAdvisor.py file.
    I will do the recommended icon changes until tomorrow ...
     
  4. Schmiddie

    Schmiddie Emperor

    Joined:
    Feb 27, 2012
    Messages:
    1,425
    Location:
    Germany
    Can we use the smilies we use for the city overview?
     
  5. Raubwuerger

    Raubwuerger Chieftain

    Joined:
    Nov 24, 2014
    Messages:
    45
    Location:
    Bavaria
    You mean the golden one?
    I think so. I've used the symbols/chars from debug mode.
     
    Schmiddie likes this.
  6. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    5,904
    Gender:
    Male
    Location:
    Stuttgart, Germany
    @Raubwuerger
    Just let me know when you are done. :thumbsup:
    I will then integrate it as promised into "Challenge".
     
  7. Raubwuerger

    Raubwuerger Chieftain

    Joined:
    Nov 24, 2014
    Messages:
    45
    Location:
    Bavaria
    I'm ready now. I changed some icons regarding to raystuttgart suggestions. And the Total-happiness is now colored ...

    upload_2020-9-10_18-40-33.png
     
  8. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    5,904
    Gender:
    Male
    Location:
    Stuttgart, Germany
    @Raubwuerger
    Your Screen is now integrated into "Challenge". :thumbsup:
     
  9. Schmiddie

    Schmiddie Emperor

    Joined:
    Feb 27, 2012
    Messages:
    1,425
    Location:
    Germany
    Have the smilies been changed?
     
  10. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    5,904
    Gender:
    Male
    Location:
    Stuttgart, Germany
    No, it is still the "Yellow Smiley".
    It is ok for me, but I also like the "Golden Smiley".
     
  11. Schmiddie

    Schmiddie Emperor

    Joined:
    Feb 27, 2012
    Messages:
    1,425
    Location:
    Germany
    Ok, but it is not ok for me :lol:
     
  12. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    5,904
    Gender:
    Male
    Location:
    Stuttgart, Germany
    @Raubwuerger
    Would you mind to change the "Yellow Smiley" to the "Golden Smiley" (Icon of Yield Happiness) ?
    If you are not sure how to access the "Yield Happiness Icon" you can simply look how it is done in CityScreen.
     
  13. Raubwuerger

    Raubwuerger Chieftain

    Joined:
    Nov 24, 2014
    Messages:
    45
    Location:
    Bavaria
    This way ?
    upload_2020-9-12_11-13-50.png
     
    Schmiddie likes this.
  14. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    5,904
    Gender:
    Male
    Location:
    Stuttgart, Germany
    It is perfectly fine for me. :thumbsup:

    The Icon for "Unhappiness from Slavery" is now a bit confusing but let us not overexagerate with this. :)
    (I do not know a better Icon for "Unhappiness from Slavery" anyways.)

    Simply attach the file again in the internal team chat and I will commit it. :thumbsup:
     
  15. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    5,904
    Gender:
    Male
    Location:
    Stuttgart, Germany
    @Raubwuerger

    Please send me the updated version soon. :thumbsup:
    Then I can still merge it into "Challenge".

    I asked @Nightinggale to officially publish "Challenge" as Release 2.8.1 soon.
    Once that has happened I am fully retired again and will not take care of things like this anymore.

    By the way, I also asked @Nightinggale and @devolution to talk to you about joining the team and giving you GIT Repository access.
    Personally I feel you have done a good job with your contributions and are skilled and reliable.
    (But this decision needs to be made by the remaining team members.)
     
    Last edited: Sep 13, 2020
  16. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    5,904
    Gender:
    Male
    Location:
    Stuttgart, Germany
    @Raubwuerger
    Thanks for the Update. :thumbsup:
    (It is commited to "Challenge".)

    @Schmiddie
    The Icons are now corrected. :)
     
  17. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    5,904
    Gender:
    Male
    Location:
    Stuttgart, Germany
    @Raubwuerger

    At the first page of the Domestic Advisor Overview I also added a "Health" Column, right next to your "Happiness" Column.
    (When looking at the page I had realized that "Health" was missing there as well.)

    Spoiler :




    My change is commited to "Challenge" as well.
     

    Attached Files:

    Last edited: Sep 13, 2020
  18. Raubwuerger

    Raubwuerger Chieftain

    Joined:
    Nov 24, 2014
    Messages:
    45
    Location:
    Bavaria
    Ahh, Ok. Thanks ...
     
  19. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    5,904
    Gender:
    Male
    Location:
    Stuttgart, Germany
    Nothing to thank for. :)

    It was my sloppiness that I had not already done it, when I had introduced "Health" originally years ago.
    And I should also have done it for "Happiness" concept but did not think about it. (At least for the "Overview".)

    So basically it was just cleaning up my own liabilities.
    And you had already done most of the work - since I could reuse parts of your code (for the "Overview") it only took me 5min.

    So it is me that has to thank you. :thumbsup:
     
    Last edited: Sep 13, 2020

Share This Page