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
Bevan of Hertfordshire
10-25-2003, 16:16
I had the very same problem, hang in there and i'll remember how i fixed it.
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[/b] ]eat cold steel http://www.totalwar.org/forum/non-cgi/Custom/Creative_Assembly.gif
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.
Lord Of Storms
10-25-2003, 18:47
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
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.