Results 1 to 14 of 14

Thread: Help about modding programation MTW-VI

Hybrid View

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

    Default Re: Help about modding programation MTW-VI

    Once question more, how custom portrait in Famous King, in that line say -1 for random and i put 23 from folder (portraits/catholic/kings/king23.tga) for one special, but not change nothing, what am I doing wrong?

  2. #2
    Second-hand chariot salesman Senior Member macsen rufus's Avatar
    Join Date
    Dec 2004
    Location
    Ratae Corieltauvorum
    Posts
    2,481

    Default Re: Help about modding programation MTW-VI

    Hi Sultan

    OK, first off:

    SetStartLeader:: FN_BYZANTINE 4 8 1 4 7 2 3 11 2 1
    If you look at the [ERA]_HEROES.TXT file you'll see the Byz have ten royal names listed. This bit in the startpos file means your starting king will be King (Name 0) IV.

    Any subsequent kings will have had as many predecessors as are listed here, so when you get your first King with the next name (name 1), he will be King (name 1) IX. This need not be your NEXT king though. MTW normally names the first-born prince the same as the starting king, so you are more likely to see King (name 0) V. But should you carelessly lose your first two sons in battle, you are very likely to have the third son take the throne and he would be King (name 2) II. If you were even more careless it might be son four, in which case he would be King (name 3) V.

    And to part two:

    Once question more, how custom portrait in Famous King, in that line say -1 for random and i put 23 from folder (portraits/catholic/kings/king23.tga) for one special, but not change nothing, what am I doing wrong?
    The simple answer is that you are doing exactly the same thing wrong that I did, until I worked it out

    The more useful answer is that you must check a few things - first look at the startpos file and see if your faction has a 'portraits override' set - it may be set to 'MUSLIM' or 'VIKING' or something totally different in a mod. Then once you have checked that, you know which portraits folder to use.

    But the MOST IMPORTANT thing to remember is that FAMOUS KINGS and HEROES do NOT use the 'Kings' and 'Generals' sub-folders as you would expect, but the MISC subfolder. To get your famous king portrait, copy your King23.tga into the MISC sub-folder, the RENAME it to the next FREE filename (so if you have 3 TGAs make it MISC04.TGA). Then you call that from from your HEROES.TXT -- remembering that the MTW engine starts lists at 0 and not 1 - hence to call MISC04.TGA as your portrait, you must enter number 3 as the portrait entry for your king.

    Hope this helps you (and anyone else looking for the answer, of course!)

    (EDIT to add: to double check this, take a look at the hero entry for Joan of Arc, and find where her portrait comes from. The reason the MISC folder is used is to stop random generals having the same portraits as your unique heroes)
    Last edited by macsen rufus; 08-06-2016 at 23:34.
    ANCIENT: TW

    A mod for Medieval:TW (with VI)

    Discussion forum thread

    Download A Game of Thrones Mod v1.4

    Member thankful for this post:



  3. #3

    Default Re: Help about modding programation MTW-VI

    I putted:

    //========================================

    PortraitsOverride:: FN_12 "muslim" *In LATE.TXT

    //========================================

    and put my image:
    campmap/portraits/muslim/misc/misc02.tga

    and finally in Famous King:
    6, 2, 4, 3, 3, 4, 1, fearsome2

    and next game dont load and dont open, i had to use Task Manager for close the app. What is wrong?
    Last edited by Sultan_Suleyman; 08-07-2016 at 06:18.

  4. #4
    Second-hand chariot salesman Senior Member macsen rufus's Avatar
    Join Date
    Dec 2004
    Location
    Ratae Corieltauvorum
    Posts
    2,481

    Default Re: Help about modding programation MTW-VI

    Hi Sultan,



    There's some differences between the mediaeval era and Viking era startpos files, and the way factions are labelled. In the med eras, they are named, in the Viking era they are numbered. I always use the 'Viking' system, because it's so much easier to work with FN_01, etc and ID_LANREG_01, etc, than try to remember what all the names are changed to in the mod

    I'm not sure if the 'portrait override' works in mediaeval eras, so there are TWO things to try:

    First change FN_12 to FN_TURKISH - the reference to FN_12 in the LATE.txt will almost certainly kill the game

    If that doesn't solve the problem, just delete that whole line, as the Turks will default to the Muslim folders anyway

    EDIT TO ADD: Deleting the whole line is the way to go - it is unneeded.

    One other thing: it looks like you've altered the famous king entry for the first in the list - this would be the king who starts in EARLY. In late, the startpos gives:

    SetStartLeader:: FN_TURKISH 2 8 1 4 0 3 0 3 2 1
    So it would be famous king 2 (ie 3rd in the list) that needs to be changed:

    FAMOUS_KINGS:: FN_TURKISH 7
    //name no. c d p a portrait vnv
    6, 1, 2, 5, 4, 3, -1, educated1
    7, 1, 2, 5, 4, 3, -1, educated1
    0, 1, 3, 5, 4, 3, 1, fearsome1
    2, 1, 3, 5, 4, 3, -1, lawman1
    4, 1, 3, 5, 4, 3, -1, lawman1
    2, 2, 3, 5, 4, 3, -1, attacker2
    4, 2, 3, 5, 4, 3, -1, fearsome2
    because that is the entry that points to Osman (name 0) the First, who starts in Late.


    And, once again, Sultan, your question has pointed me to another mistake I'd been making myself, so thanks for the question
    Last edited by macsen rufus; 08-07-2016 at 12:15.
    ANCIENT: TW

    A mod for Medieval:TW (with VI)

    Discussion forum thread

    Download A Game of Thrones Mod v1.4

    Member thankful for this post:



  5. #5
    Member Member dimitrios the samian's Avatar
    Join Date
    Feb 2004
    Location
    Hellas Down Under
    Posts
    615

    Default Re: Help about modding programation MTW-VI

    Macsen ... your dropping more nuggets mate
    Sultan , your a lucky man .
    Edit your post to read , Potraits & Naming Kings & Generals .

    Member thankful for this post:



  6. #6
    Second-hand chariot salesman Senior Member macsen rufus's Avatar
    Join Date
    Dec 2004
    Location
    Ratae Corieltauvorum
    Posts
    2,481

    Default Re: Help about modding programation MTW-VI

    I tested it to prove to myself I was right:

    Click image for larger version. 

Name:	Osman-of-Arc.jpg 
Views:	263 
Size:	69.3 KB 
ID:	18776

    For some reason it doesn't alter the pic on the faction select menu, but it works in-game, anyway.
    ANCIENT: TW

    A mod for Medieval:TW (with VI)

    Discussion forum thread

    Download A Game of Thrones Mod v1.4

    Member thankful for this post:



  7. #7

    Default Re: Help about modding programation MTW-VI

    YOU ARE A GENIUS BRO!!! Many thanks, it work!!! dont appear in menu select but appear in campaign!! im so happy, many thanks and long live

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO