Results 1 to 4 of 4

Thread: modding problems - early russia mod

  1. #1
    Junior Patron Member dessa14's Avatar
    Join Date
    Sep 2003
    Location
    SUNCOAST QLD AUS
    Posts
    1,767

    Default

    umm my mod works but the names are screwed i was deleating novgorod from the game and now the names for the starting kings are like king II and the top ones are king roman numeral
    help please
    thanks dessa
    {LORE}
    "It is not the well-being of individuals that makes cities great, but the well-being of the community"- Niccolò Machiavelli.

  2. #2
    Member Member Bevan of Hertfordshire's Avatar
    Join Date
    Jul 2003
    Location
    A cold Drafty Castle in my Fief
    Posts
    151

    Default

    I had the very same problem, hang in there and i'll remember how i fixed it.
    And so Lord Woodhouse, barged into the Kings bedchambers with waders and a fishing pole (possibly drunk) and said; My Liege, the Rivers are so high that you need waders to stay above them My ancestor to his Highness Edward IV

  3. #3
    warning- plot loss in progress Senior Member barocca's Avatar
    Join Date
    Dec 2000
    Location
    (*disclaimer* - reality may or may not exist, in some societies reality is a crime, punishable by life)
    Posts
    5,341

    CA

    This is a reply from ECS about troubles i was having deciphering king names in campmap/names/heroes.txt
    and assigning a starting king in startpos/campaign.txt

    Hope this helps

    Quote Originally Posted by [b
    Quote[/b] ]eat cold steel
    Programmer
    CA
    Posted: Oct. 01 2003,06:43
    --------------------
    Just to make sure everything is clear. I'll use an example in the game, for the early English campaign.

    In the hero file:
    FAMOUS_KINGS:: FN_ENGLISH 12
    //name no. c d p a portrait vnv
    4, 2, 3, 7, 3, 4, -1, tyrant2
    0, 1, 2, 4, 4, 7, -1, lawman1
    7, 1, 3, 4, 3, 4, -1, vaccilator1
    0, 2, 3, 6, 4, 6, -1, anger1
    2, 1, 5, 6, 5, 2, -1, mightywarrior3
    3, 1, 2, 5, 2, 2, -1, secret_tyrant3
    0, 3, 2, 4, 4, 3, -1, charity1
    1, 1, 2, 3, 3, 4, -1, lawman1
    1, 2, 1, 2, 3, 3, -1, secret_lust1
    1, 3, 3, 4, 3, 3, -1, mightywarrior1
    0, 4, 3, 5, 3, 5, -1, secret_tyrant3
    0, 5, 5, 4, 4, 5, -1, fearsome3

    Here there are 12 famous kings, your starting king must be included here for all cases. They are ordered, start counting from 0.

    In the startpos file:
    SetStartLeader:: FN_ENGLISH 0 7 0 2 0 0 2 1 2
    The starting king for the English is famous king 0 (first number after FN_FACTION). Corresponding to this entry:
    4, 2, 3, 7, 3, 4, -1, tyrant2

    Looking back at hero file and names.txt, this king has the name 4, and is the second king with that name. Counting from 0 in the forenames list gives you William II. Now in order to set up the data for randomly generated kings, we need to tell the game how many kings of each name there has been. Back to the startpos file:
    SetStartLeader:: FN_ENGLISH 0 7 0 2 0 0 2 1 2
    We want to game to read next 7 numbers only, so we don't need to include any trailing zeros. We ended up with this:
    "Henry" 0
    "Edward" 2
    "Richard" 0
    "John" 0
    "William" 2
    "Alfred" 1
    "Edmund" 2
    "Stephen" 0
    "Edward" 0

    This tells the computer what to do for the next generated king. What this do is when a prince John becomes king, he will be King John I, and when the next prince William becomes king, he will be King William III.

    SET_FORENAMES:: FN_ENGLISH 1 8
    This states that the English have list 1 (we start counting from 1 here as explained in the readme as list 0 is internal) and the first 8 names are royal. Note that there are some repeats in the name list so if you are unlucky you may end up with 2 King Henry I if one of your general Henry ended becoming king in a civil war, but that's unlikely to happen.

    So, in barocca case, if I have read your problem correctly, you have 9 famous kings, with king 0 being:
    //name no. c d p a portrait vnv
    1, 2, 3, 2, 2, 3, -1, pride

    You want Mori II as your starting king, name 1 - counting from 0, second name in fore name list. In you forename list you should have:
    "name1"
    "mori"
    "name3"....

    In startpos you have this to select the first famous king as your starting king:
    SetStartLeader:: FN_13 0.....

    To tell the game you have already used up Mori I and Mori II you want:
    "name1" X
    "mori" 2
    "name3" Y...

    This sorresponds to something like
    SetStartLeader:: FN_13 0 3 X 2 Y

    Sorry to keep going on about counting from zero as it is not consistent, sometimes it starts at 1 as is the case for the ordering of the forename list, sometimes 0.


    The winds that blows -
    ask them, which leaf on the tree
    will be next to go.

  4. #4
    The Lordz Modding Collective Senior Member Lord Of Storms's Avatar
    Join Date
    Jan 2003
    Location
    Paisley,Florida
    Posts
    2,302

    Default

    I have had a similar problem and it usually means you made an error in Heroes text file or one of the Loc files, if you backed up before your changes you should be ok...LOS
    Taking life one day at a time!

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