Page 3 of 5 FirstFirst 12345 LastLast
Results 41 to 60 of 84

Thread: Script for selecting the heir - (Update 24.07.2015)

  1. #41

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    Hello Vit2013. I've never played in that mod. I guess yes, if there is no other "heir script" or "traits" that can alter it.

  2. #42

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    tried this for sship. doesnt work.

  3. #43

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    Because the SSHIP it will surely have incorporated the "Next Heir Ancillary". But, if it has not appear you the selecting menu of heir, is that you have entered it wrong in the mod.

  4. #44

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    Hello!

    Maybe I get help from here, but exactly how to install this mod? I get CTD once I launch early era campaign.

  5. #45

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    Hello. The period has nothing to do. If you receive a CTD and you are sure that the cause is this submod, check well if you have placed the code correctly in the "export_descr_character_traits.txt" file.

  6. #46

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    Ok im having a little problem with the script I follow every single thing. Everything work fine until the 'Select the next heir' panel open it open but it dont give me the option to accept or refuse to choose one here is a screenshot :
    http://zupimages.net/viewer.php?id=18/36/003t.jpg
    What do I need to do to fix this issues ?

  7. #47

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    Quote Originally Posted by Jessy2299 View Post
    Ok im having a little problem with the script I follow every single thing. Everything work fine until the 'Select the next heir' panel open it open but it dont give me the option to accept or refuse to choose one here is a screenshot :
    http://zupimages.net/viewer.php?id=18/36/003t.jpg
    What do I need to do to fix this issues ?
    Hello. The problem comes from the "descr_event_images.txt" file. Are you using the Kingdoms version of the M2TW (1.4, 1.5 or 1.52)? Do you have the game on DVD or on Steam?

  8. #48
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,120
    Blog Entries
    35

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    He is on steam, I directed him back here.

    Two possibilities:

    1. He forgot to add the 'true' setting in the historic_events line:
    Code:
    historic_event select_candidate true
    2. The folder he is modding in does not contain the DLC (kingdoms) version of the descr_events_images file


    @Miguel
    You may have to mention that the DLC (kingdoms) version of the descr_events_images file needs to be present in the data folder of the mod, maybe provide the code section for comparison.
    Code:
    historic_event
        icon    historic
        importance high
        heading_items    3
        footer_items    1
        format
        {
            string    center verdana black
            image    center
            spacer    8
            multistring    left verdana_sml khaki left
            condition
            {
                true
                {
                    group center 8
                    {
                        accept    right
                        decline   left
                    }
                }
                false
                {
                    group center 8
                    {
                        spacer 1    ; dummy item to fix event message formatting wrt header and footer items
                    }
                }
            }
        }
    @Jessy
    If you are modding the default campaign then make your life easy by installing my Bare Geomod set up and copy your script into that. The set up contains all files necessary to run the default campaign with all the DLC features like this yes\no event and boiling oil at the gates.
    Last edited by Gigantus; September 07, 2018 at 10:19 PM.










  9. #49

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    Yes. But, if he have the game by Steam, it's the Kingdoms version, he don't have make any changes. I don't understand the problem exactly.

  10. #50
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,120
    Blog Entries
    35

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    The DLC may not be installed, in which case he will have only the default file. Even if he has the DLC installed it will only work in the campaign folders (americas etc) and he will still have to have the unpacked file in his mod's data folder, be it a separate mod folder or the default game.










  11. #51

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    I understand, if he bought it that way on Steam. For those of us who have bought it by DVD, if you enter the "Serial Number" in Steam and register the game (I speak only of the M2TW 1.0 DVD), Steam updates it for free until version 1.52, Kingdoms included.




    P.S: If the "accept / cancel" event doesn't work, it means that it doesn't have the Kingdoms version. And by much retouching I think it will not work. That's why I recommend this method if he have the original DVD of the M2TW game.
    Last edited by Miguel_80; September 07, 2018 at 11:36 PM.

  12. #52
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,120
    Blog Entries
    35

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    The only thing that you need is the kingdoms version of the descr_events_images file in your mod folder.

    Try adding your script to the campaign_script in the default folder - you will get the same result as Jessy, regardless whether you have Steam or disk, regardless whether you have the DLC or not.

    That's why adding that (kingdoms) file to any mod that uses the yes\no event is standard. Version history from my very first Bare Geomod (Med2 version) release:

    1.01
    - Added descr_event_images from kingdoms to enable the YES\NO event

    Note: it does not require the kingdoms executable
    Last edited by Gigantus; September 08, 2018 at 06:05 AM.










  13. #53

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    Good I manage to make it work it seem that I had overwrite the descr_event_image with an other one. Possibly when I have add file from the crusader campaign data file in the baregeomod one. I did that a while ago to add many unit from the crusader campaing to the main campaingn.

  14. #54

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    Ok. But, in the end, Does the script work for you? Or not?

  15. #55
    M.A.E's Avatar Miles
    Join Date
    Dec 2015
    Location
    By The Sea
    Posts
    343

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    Does anyone tried it on SS 6.4 ?? Does it conflict with the Faction Marriage Inheritance by you Miguel ?.
    I Came,I Saw I Partially Differentiate

  16. #56

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    Hello M.A.E. I don't know. If it have incorporated the heir method by ancillary, as in the Bellum Crucis or TATW etc, then it would cause conflict. If you want use my script, you must delete the "select heir" method through passing an ancillary.

  17. #57

    Default Re: Script for select the heir

    I apologize for the mundane question, but how do I install this, exactly?

    I can't just unzip all the script files into the game directory? I need to copy and paste the text inside those individual files into the places its says to "ADD_IN" ? And do I copy the things listed in the opening post? They look identical to the content in the zipped files.

    Thank you for all your hard work!

  18. #58
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,120
    Blog Entries
    35

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    Quote Originally Posted by instructions
    Add this in campaign_script.txt
    This file can be found here: data\world\maps\campaign\imperial_campaign (use the Bare Geomod installation as recommended below)


    Quote Originally Posted by instructions
    Add event descriptions in historic_events.txt and add description in export_vnvs.txt
    These files can be found here: data\text
    It would require unpacking the files and the game to be made reading unpacked files. It's easier to install my Bare Geomod basic mod set up and work in there.


    Quote Originally Posted by nstructions
    Add this trait and triggers in export_descr_character_traits.txt
    Same issue, use the Bare Geomod file, it's in the data folder










  19. #59

    Default Re: Script for select the heir

    I know it's been a while since a comment on this thread but can this be used on a game in progress? I was using the Ancillary heir mod but that isn't working and I don't want to redo my last 50 years or so. Would be great if this did work with existing games.

  20. #60
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,120
    Blog Entries
    35

    Default Re: Script for selecting the heir - (Update 24.07.2015)

    Nope, script changes are not save game compatible.










Page 3 of 5 FirstFirst 12345 LastLast

Tags for this Thread

Posting Permissions

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