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

My take on developing traits

Discussion in 'C2C mod mods' started by darkkhon, Jun 3, 2016.

  1. darkkhon

    darkkhon Chieftain

    Joined:
    Oct 2, 2010
    Messages:
    31
    Hello everybody,I'm darkkhon,long time lurker.I want to present to whoever is interested my take on the trait evolution.It's a first draft,so please take it with a grain of salt.

    It contains 3 tier evolution on both positive and negative traits.Not all of them are perfectly balanced but I'm working on it.Civilopedia displays them in order one tier level after the other-despite displaying them as having the same name(I hope to fix this soon).
    Any feedback is appreciated-especially when it comes to what the AI chooses.I plan to make updates once a week depending on feedback and my own play through.

    Here is the file.You probably already know where to put it :)

    PS. In order to fully benefit from this mod mod you should use the game option start without positive traits.In some cases there is a large discrepancy between starting traits of a leader and its flavors-the leader chooses its traits based on its flavors.


    V 1.3

    https://www.dropbox.com/s/qxrlj2uo663p8w4/Assets.rar?dl=0

    List of changes

    Spoiler :


    V 1.3

    Now present as a proper game option.

    Expansive,protective,humanitarian-flavor tweaks


    V 1.2

    Some traits are now mutually exclusive:

    -scientific with spiritual and fanatical
    -environmentalist with industrious
    -aggressive with protective
    -organized,excessive,cruel and barbaric with philosophical and creative


    Some traits now have a shorter research time for certain specific technologies.


    Philosophical-free artist with era advance on tier 2
    Deceiver-free spy with era advance on tier 2
    Spiritual-new cities start with state religion on tier 3
    Nomad-second results from goody huts on tier 2,free great hunter with era advance on tier 3,and a few other small tweaks
    Financial-free merchant with era advance on tier 3
    Creative-free artist with era advance on tier 2,culture bonus increase
    Organized,seafaring-small tweaks
    Idealistic,philosophical-flavor tweaks
    Barbaric-fixed small error


    Fixed display issue with iBonusPopulationinNewCities and TechResearchModifiers tags.

    Note-free specialist with era advance grants a free settled specialist in ALL cities that exist on the moment of era
    advance

    V 1.1

    Added proper civilopedia display
    Added environmentalist trait-no leader has it,not yet

    Removed all anarchy modifiers and compensated accordingly where necessary
    Overall-in a few casess removed some of the less important buildings
    Small tweaks to excessive,protective,industrious

    Seafaring-added sea yields,experience for sea units,bonus to fishing boats
    Humanitarian-slight increased disease reduction,bonus to doctor specialist,free doctor with era advance on tier 2
    Expansive-cities start with 1 extra pop on tier 3
    Politician-bonus to great statesman,adds free specialists
    Scientific-increased upkeep,small increase to science,increased war weariness
    Creative-bonus to great people
    Financial-small pullution,disease and crime malus;commerce bonus on village line improvement
    Agricultural-added water pollution,bonus to farms
     
  2. majaczek

    majaczek Chieftain

    Joined:
    Feb 12, 2013
    Messages:
    282
    I already have worked on it here
     
  3. darkkhon

    darkkhon Chieftain

    Joined:
    Oct 2, 2010
    Messages:
    31
    I know.That is why I said that is my take on it.We seem to have somewhat different approaches.
     
  4. majaczek

    majaczek Chieftain

    Joined:
    Feb 12, 2013
    Messages:
    282
    we still have lstraits gameoption :)
    just we need to choose which of our options are basic and which is alternative :D
     
  5. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    24,741
    Gender:
    Male
    Location:
    Las Vegas
  6. JosEPh_II

    JosEPh_II TBS WarLord

    Joined:
    Jun 20, 2007
    Messages:
    14,963
    Gender:
    Male
    Location:
    Western IL. cornfields
    @darkkhon,
    Everyone is Welcome to make Modmods, Everyone. :)

    @Majaczek,
    You may have competing Modmods as Making Modmods over any part of the Mod is Open too everyone. ;) Competition may happen.

    JosEPh
     
  7. darkkhon

    darkkhon Chieftain

    Joined:
    Oct 2, 2010
    Messages:
    31
    Do you really think it would help that much?Isn't easier to just download the file and see it properly in pedia?
     
  8. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    24,741
    Gender:
    Male
    Location:
    Las Vegas
    As a modder, for me the answer is no. Could mess with my file set leading to accidents that erode the integrity of the SVN.

    That and I find it beneficial to read a good spreadsheet. Allows for better analysis.
     
  9. majaczek

    majaczek Chieftain

    Joined:
    Feb 12, 2013
    Messages:
    282
    darkkhon, I use online xml to json converter, then online json to csv converter (csv is "comma separated value" spreadsheet). Then eventually You can save result as xlsx :).
     
  10. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    24,741
    Gender:
    Male
    Location:
    Las Vegas
    It's still very difficult to read and absorb that way. Sure it gets the data onto a spreadsheet but that's about all it does.

    You've seen the ones I've done right?
     
  11. majaczek

    majaczek Chieftain

    Joined:
    Feb 12, 2013
    Messages:
    282
    Yeah, they are much more tidy.
    But it seems my Imagination has a problem to do it your way.
    I thought we have a deal - I had just a few minutes to convert and you have a spreadsheet.
    But I see advertising that way may be wrong, so I'm sorry a bit.
     
  12. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    24,741
    Gender:
    Male
    Location:
    Las Vegas
    I am trying to work through it but I don't have a lot of time to. If I did, I'd do my own set.
     
  13. Dancing Hoskuld

    Dancing Hoskuld Chieftain

    Joined:
    Jul 5, 2004
    Messages:
    22,872
    Gender:
    Male
    Location:
    Canberra, Australia
    Btw Koskling provided a utility to extract selected bits from an XML file into a csv file see here
     
  14. darkkhon

    darkkhon Chieftain

    Joined:
    Oct 2, 2010
    Messages:
    31
    Updated first post with a csv version.
     
  15. majaczek

    majaczek Chieftain

    Joined:
    Feb 12, 2013
    Messages:
    282
    Thanks Dancing Hoskuld, but the tool need template, and I can't seem to find one for Traits.
    Could You supply one? or I just need to search it? I didn't think that it's same as schema :p
     
  16. Koshling

    Koshling Vorlon

    Joined:
    Apr 11, 2011
    Messages:
    9,254
    Responding to PM here, since having it on this thread seems better than just a PM reply. For reference the PM'd questions was:
    I'm afraid I cannot really remember how that parser was supposed to operate (too long ago), but more importantly writing a template for a particular entity category (traits in this case) is something that requires an understanding of the trait XML format, which I am not particularly familiar with.
    I still have the source code for the parser if that would be useful for anyone, so I could easily provide it via GIT or something if that would be any use...
     
  17. Dancing Hoskuld

    Dancing Hoskuld Chieftain

    Joined:
    Jul 5, 2004
    Messages:
    22,872
    Gender:
    Male
    Location:
    Canberra, Australia
    The template is how you define what you want out of the process. There should be an example in that link somewhere. I lost all mine when I lost my main hard drive and backup hard drive in the same month.
     
  18. darkkhon

    darkkhon Chieftain

    Joined:
    Oct 2, 2010
    Messages:
    31
    Update to V 1.1

    Also I would like some help with these 2 tags DisallowedTraitTypes and bBansNonStateReligions.

    I tried to apply them,but I must be doing something wrong.If someone could provide working examples I would appreciated.
     
  19. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    24,741
    Gender:
    Male
    Location:
    Las Vegas
    I will have to try to remember to look into those tags this weekend for you. Are you clear on how to use the schema to define how you're supposed to setup the syntax for tags? Also, we're not above having some bugs in some traits tags here. Many tags are not yet tested.
     
  20. darkkhon

    darkkhon Chieftain

    Joined:
    Oct 2, 2010
    Messages:
    31
    I'm just starting to familiarize myself with the schema file and it might take a while to understand it more fully-both tags are present in the schema file.I'm probably missing something or just doing it wrong.Any help is appreciated.The first tag is the most important one,the second one has a very specific use and it can wait.
     

Share This Page