Results 1 to 6 of 6

Thread: Modifying Legendary Lords unlock conditions ?

Hybrid View

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

    Icon5 Modifying Legendary Lords unlock conditions ?

    All in the title, i wanted to know if its possible to modify the unlock conditions for LL in the Grand Campaign (EX: awakening 2 tribes for Sigvald instead of 4),
    and if so, where can it be done ?
    Thank you for your answers.

  2. #2
    Litharion's Avatar Artifex
    Join Date
    Sep 2013
    Location
    Germany
    Posts
    2,622

    Default Re: Modifying Legendary Lords unlock conditions ?

    Quote Originally Posted by Wyw View Post
    All in the title, i wanted to know if its possible to modify the unlock conditions for LL in the Grand Campaign (EX: awakening 2 tribes for Sigvald instead of 4),
    and if so, where can it be done ?
    Thank you for your answers.
    script -> wh_legendary_lords.lua

    note the tooltip text will still say 4 you can update the text file as well.

    Code:
       
     -- Prince Sigvald the Magnificent    
    ll_unlock:new(
            "wh_main_chs_chaos",
            "2140783662",
            "names_name_2147345922",
            "FactionLiberated",
            function(context)
                if context:liberating_character():faction():name() == "wh_main_chs_chaos" then
                    local tribe_count = cm:get_saved_value("ll_chaos_sigvald_tribe_count");
                    if tribe_count == nil then tribe_count = 0 end;
                    
                    tribe_count = tribe_count + 1;
                    
                    cm:set_saved_value("ll_chaos_sigvald_tribe_count", tribe_count);
                    
                    return tribe_count > 3; -- change to > 1  
                end;
            end
        ),

  3. #3

    Default Re: Modifying Legendary Lords unlock conditions ?

    Thank You very much !!

  4. #4
    Laetus
    Join Date
    Jun 2016
    Location
    Sweden
    Posts
    8

    Default Re: Modifying Legendary Lords unlock conditions ?

    And where is the textfile? What is its name?

  5. #5
    Laetus
    Join Date
    Jun 2016
    Location
    Sweden
    Posts
    8

    Default Re: Modifying Legendary Lords unlock conditions ?

    I found it for all those who are interested in this: campaign_localised_strings__core.loc, its located in the local_en.pack file.

  6. #6

    Default Re: Modifying Legendary Lords unlock conditions ?

    Thank you! Have been looking for that for quite some time.

Posting Permissions

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