Results 1 to 4 of 4

Thread: Please Help me!on the political party!!

  1. #1

    Icon5 Please Help me!on the political party!!

    Click image for larger version. 

Name:	20190220181639_1.jpg 
Views:	7 
Size:	305.1 KB 
ID:	357401

    ProloGUE
    Only Mod for “jianjia Chinese Patch” !


    Please help me, thank you!!


    ESF and PFM have been downloaded
    Click image for larger version. 

Name:	20190221102521_1.jpg 
Views:	5 
Size:	87.9 KB 
ID:	357400

    Modify the
    faction characteristics to green or “Like barbarian”、“Like the Greeks”、“Agronomist”、

    Please tell me how to operate, thank you!

  2. #2

    Default Re: Please Help me!on the political party!!

    Grand Campaign

  3. #3

    Default Re: Please Help me!on the political party!!

    Sorry, I got it wrong. It’s the Grand Campaign. Not a prologue, can someone help?

  4. #4
    Jake Armitage's Avatar Artifex
    Patrician

    Join Date
    Apr 2011
    Location
    apartment 6
    Posts
    4,694

    Default Re: Please Help me!on the political party!!

    You'll find those values inside:
    data_Rome2 > lua_scripts > politics_trait_defs.lua

    here an example
    notes in red

    Spoiler Alert, click show to read: 
    --#####################################################
    --polit_trait_likes_greeks
    --#####################################################
    polit_trait_likes_greeks = {
    antitraits = { "polit_trait_hates_greeks", "polit_trait_xenophobe", "polit_trait_xenophile" },
    cap = 10, it's the maximum value you can have for this trait

    is_applicable = function(faction)
    if faction:model():campaign_name("main_3c") or faction:model():campaign_name("main_greek") or faction:model():campaign_name("main_invasion") then
    return false
    end


    return true
    end,


    evaluate = function(faction, party_id)
    local culture_id = "rom_Hellenistic"
    local loyalty_per_faction = 2 value for every faction satisfying trait's prerequisites


    return loyalty_per_faction * POLIT.treaty_details_get_factions_count(faction:treaty_details(), culture_id)
    end,
    },

    Change the values as you wish.
    You can check DeI's submod (PIGS) here, i've changed a lot of things regarding this script.
    http://www.twcenter.net/forums/showt...-upd-feb-09-19
    PIGS is not compatible outside DeI.
    Don't use the politics_trait_defs.lua you'll find into PIGS outside PIGS, it will crash the game, do a new pack with your custom changes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •