Results 1 to 2 of 2

Thread: More experiemce for garnisoned generals

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default More experiemce for garnisoned generals

    I tried to edit experience_triggers table in order to increase experience amount for garnisoned lords.
    I've changed parameter General garnisoned from 100 exp points to 300 exp points, but in game Lords get 100 exp points like in vanilla.
    Have anybody any ideas how to make it work?

  2. #2
    valky's Avatar Ducenarius
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    967

    Default Re: More experiemce for garnisoned generals

    The exp_thingie.lua (or whatever it was called) file still takes precedence over any existing table, similar to the anc/trait trigger - which can both be set either in the *lua and table.

    Hopefully I remember to check later on, cause am not at my PC; so I can answer you properly. [in case you still need help]

    edit: script\export_experience__core.lua is what yer looking for.

    --[[ Trigger_General_Is_Garrisoned ]]--

    function Trigger_General_Is_Garrisoned_impl (context)
    return context:character():has_garrison_residence()
    end

    events.CharacterTurnStart[#events.CharacterTurnStart+1] =
    function (context)
    if Trigger_General_Is_Garrisoned_impl(context) then
    effect.add_agent_experience("Trigger_General_Is_Garrisoned", 100,0, context)
    return true
    end
    return false
    end
    Last edited by valky; June 15, 2016 at 05:58 PM.
    I'm Commander Shepard and this is my favourite store on the Citadel!
    I'm Garrus Vakarian and this is now my favourite spot on the Citadel!

    Better ingame Encyclopedia for Shogun 2 (reworked) - RotS - FotS (new map) + web-based version

Posting Permissions

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