View Full Version : Looking for help ... the hero files
komninos
08-12-2003, 07:47
Hi all,
Working with the Startpos files I found out that you can't change the kings attributes unless you change the hero files (the startpos file will not load).
So has anyone got the knowledge on the hero fires and what is the meaning of each attribute? who to give virtues and vices? which code is for each of them?
the Black Prince
08-12-2003, 13:20
firstly, are you sure?
the info on kings in the startpos file is only relating to what number of kings that name has already had ie the first number indicates whether the king is married or not, at beginning, 2nd number is the name of the king from the names list where 0 is the first name etc, the following numbers are in order, the number of kings each name already has, ie
0 2 551
would indicate married, 3rd name, 1st name king VI 2nd name king VI 3rd king (starting monarch) Name II
with med 1.0 and 1.1 each faction except french will have 10 numbers, the french only 7, becuase they only have 5 kings names
with VI those values for 0 (i.e King Name I/no previous king with that name) are not shown, which makes it confusing
in the heroes file, the kings display attributes of famous kings, for realism. for some reason, the first king in that list will be your starting king, and the name and number MUST corespond with that of the startpos file, or when you load the game you get unknown king names or King James (unknown roman numerals??????) etc
so the first name in the list of hero kings for your faction must have the same name as the 2nd number in the startpos file. this is the number relating to the names list in the heroes file. the roman numerals must also match the number too. then you can set the atrributes asyou please, though i found it best not to mess with your starting king... but you can change the command valour dread rating for all the others, and even add in more famous kings.
examples:
FAMOUS_KINGS:: FN_ENGLISH 12
//name no.c d p a portrait vnv
4, 2, 3, 7,3,4, -1, tyrant2
ok, i had to line it all up to fit in the post but:
the 4 is the 5th name in the list for England, ,the 2 is the numerals, then command, dread, piety, and acumen. -1 for portrait means selct random portrait. it seems that youcanalso only add 1 vnv.
if you add additional heros/kings, make sure you change the number next to FN_ENGLISH it currently says 12 coz there are only 12 fanmous kings for england, if you add another, change it to 13
komninos
08-13-2003, 18:46
Thanks ... but still mixed up how these
SetStartLeader:: FN_01 0 8 1 4 0 2 0 0 0 0
SetStartLeader:: FN_02 0 1 1
relate to these
FAMOUS_KINGS:: FN_01 8
//The Irish
//name no. c d p a portrait vnv
0, 1, 2, 3, 3, 2, -1, attacker1
1, 5, 3, 2, 3, 3, -1, charismatic2 //"the Dignified"
3, 3, 1, 3, 3, 3, -1, bad_attacker2 //"Caille" = "the loser?"
1, 6, 4, 3, 3, 2, -1, mightywarrior1 //"the grey-white" (hair colour)
2, 1, 4, 3, 2, 3, -1, attacker1 //"Sionna" = "the fox"
3, 4, 3, 2, 4, 2, -1, pious2 //"black-knee" - from praying?
6, 1, 6, 4, 2, 3, -1, mightywarrior3 //great warrior king
4, 1, 4, 3, 2, 2, -1, courageous3 //"the Impetuous"
FAMOUS_KINGS:: FN_02 4 // Mercians
//name no. c d p a portrait vnv
0, 1, 4, 4, 2, 4, -1, attacker1 // byname "the Mighty"
9, 1, 4, 4, 3, 3, -1, mightywarrior1
11, 1, 3, 2, 3, 4, -1, tyrant1
8, 3, 3, 3, 2, 4, -1, defender1 // byname "the Great." Husband of Lady Godiva
And what each one of the numbers mean??????
Lord Of Storms
08-13-2003, 18:57
Quote[/b] ]//name no. c d p a portrait vnv
0, 1, 4, 4, 2, 4, -1, attacker1 // byname "the Mighty" The first # is the name number 0 being the first number on that factions names list usually the first 5 or 8 names are designated as king names so the 0 would be the first name on the list. The c,d,p,a, are the Command,Dread,Piety and Accumen stats. The-1 designates a random portrait, followed by the V&V vice and virtue.
komninos
08-14-2003, 07:39
Thanks LoS,
I have changed these valus. Though the Acument was set as placed the command was 0 not 4 that I used????
Also were do you set the infuence? I did my test with FN_02.
Since you use just the hero file ... what are the values of the startpos for?
Lord Of Storms
08-14-2003, 15:37
The values in SetStartLeader in the startpos are explained
in this post I copied from Ithaskar Fearindel and represent a good explanation of the values.LOS
the numbers after it represent how many Kings of a name have been previously. The number ties into the King names. Usually there are 8 Kings so you would get 8 numbers, except that 0's are left blank.
The third number gives the Roman numeral for the starting King because all factions use their first King name as their starting King.
*edit* Will add example to explain better.
Papal States(Early) have
FN_PAPIST 0 8 2 1 8 20 2 1 2 7
2nd number represents the number of names that the Papists use for Popes. This is also in the default_heroes.txt
3rd-10th numbers represent each of these 8 names by showing how many Popes of this name have ruled previously. So the next Pope Gregory (last Pope name) is assigned Roman Numeral 8 IIX.
When a faction just has 0 0 the factions is said to have had no previous Kings - the 0's for each name are left out.
Edited by Ithaskar Fëarindel on May 19 2003,15:59
I hope that helps Komninos. LOS P.S. INfluence is not a moddable value.
the Black Prince
08-17-2003, 12:09
sorry komninos, maybe i didn't explain that to well
Ithaskar Fëarindel
08-19-2003, 01:53
Hmm I didn't know the wedding value. http://www.totalwar.org/forum/non-cgi/emoticons/wink.gif
And that isn't all right, I've discovered some more things:
So I'll go over again...
First though, Komninos...
The Famous_Kings and the SetStartLeader are not related ... they both just use the same names data from the heroes.txt
In fact Famous_Kings is only related to the forenames list.
Similar with the Famous_Heroes list, except this isn't related to anything else at all, since the names are defined here too.
LOS explained the Famous_Kings line and what it means though, so no need to do that again. http://www.totalwar.org/forum/non-cgi/emoticons/wink.gif
For SetStartLeader values... Papist was a bad example, I'll explain why below...
Spanish, Early
FN_SPANISH 0 4 0 6 2 1
Now I know first value, 0 means married at start, 1 means un-married (thanks Black Prince:))
This may sound a little complicated at first, until you get your head around it http://www.totalwar.org/forum/non-cgi/emoticons/smile.gif
In heroes.txt you will see Spanish use their first 8 forenames as Kings...
SET_FORENAMES:: FN_SPANISH 7 8
the Black Prince
08-19-2003, 22:04
did i get that wrong? i meant 1 is unmarried, 0 is married coz all the kings are married coz you have heirs and princesses except for the burgundians of course
Ithaskar Fëarindel
08-20-2003, 22:57
No - it's just me getting it wrong again http://www.totalwar.org/forum/non-cgi/emoticons/wink.gif
I've edited my post though in case peeps copy it later.
komninos
08-21-2003, 16:02
Thanks guys,
I am trying to build my one new for my mod at the moment. Any way is there a way to insert "Faction similarity" ... what I mean is ... something like the Byzantines, they always get high ranking generals. What I would like to do is give similar characteristics to the commanders of each faction. ie the Spartans are good generals, with a bit of dread but lousy in acumen. Lydians are excellent in acumen but mediocre generals.
Thanks
Ithaskar Fëarindel
08-21-2003, 22:43
I don't think there is a way to do that as a general trend for a factions generals. You could do it by creating lots of famous heroes for the faction though.... if you're game is going to be a long game though, you'd be needing a lot of heroes (hundreds.)
Frederick Barbarossa
12-14-2003, 22:38
Quote[/b] (komninos @ Aug. 12 2003,01:47)]Hi all,
Working with the Startpos files I found out that you can't change the kings attributes unless you change the hero files (the startpos file will not load).
So has anyone got the knowledge on the hero fires and what is the meaning of each attribute? who to give virtues and vices? which code is for each of them?
You can edit all stats, names, starting locations, & portraits for both Kings & Heroes. Stats for Heroes are the same as stats for Famous Kings (except that you can also edit Loyalty for Heroes):
http://www.totalwar.org/cgi-bin....tleader (http://www.totalwar.org/cgi-bin/forum/ikonboard.cgi?act=ST;f=15;t=13506;hl=setstartleader)
Virtue & Vice codes are in the "Events.txt" file in Loc\English folder. Just copy & paste.
Lord Of Storms
12-15-2003, 00:35
Quote[/b] (Frederick Barbarossa @ Dec. 14 2003,15:38)]
Quote[/b] (komninos @ Aug. 12 2003,01:47)]Hi all,
Working with the Startpos files I found out that you can't change the kings attributes unless you change the hero files (the startpos file will not load).
So has anyone got the knowledge on the hero fires and what is the meaning of each attribute? who to give virtues and vices? which code is for each of them?
You can edit all stats, names, starting locations, & portraits for both Kings & Heroes. Stats for Heroes are the same as stats for Famous Kings (except that you can also edit Loyalty for Heroes):
http://www.totalwar.org/cgi-bin....tleader (http://www.totalwar.org/cgi-bin/forum/ikonboard.cgi?act=ST;f=15;t=13506;hl=setstartleader)
Virtue & Vice codes are in the "Events.txt" file in Loc\English folder. Just copy & paste.
Dungeons FAQ, add Heroes Formations Trade Goods to VI (http://www.totalwar.org/cgi-bin/forum/ikonboard.cgi?act=ST;f=26;t=10127;st=50)
This stuff has been around since I first posted in August, and has been tucked away in the Repositroy Dungeon's FAQ, I saw the many posts dregded up dealing with the adding heroes and stats http://www.totalwar.org/forum/non-cgi/emoticons/eek.gif and was a bit surprised, but a thourough search before posting would help in a situaton like this..LOS
Frederick Barbarossa
12-15-2003, 01:24
Quote[/b] (Lord Of Storms @ Dec. 14 2003,17:35)]
Quote[/b] (Frederick Barbarossa @ Dec. 14 2003,15:38)]
Quote[/b] (komninos @ Aug. 12 2003,01:47)]Hi all,
Working with the Startpos files I found out that you can't change the kings attributes unless you change the hero files (the startpos file will not load).
So has anyone got the knowledge on the hero fires and what is the meaning of each attribute? who to give virtues and vices? which code is for each of them?
You can edit all stats, names, starting locations, & portraits for both Kings & Heroes. Stats for Heroes are the same as stats for Famous Kings (except that you can also edit Loyalty for Heroes):
http://www.totalwar.org/cgi-bin....tleader (http://www.totalwar.org/cgi-bin/forum/ikonboard.cgi?act=ST;f=15;t=13506;hl=setstartleader)
Virtue & Vice codes are in the "Events.txt" file in Loc\English folder. Just copy & paste.
Dungeons FAQ, add Heroes Formations Trade Goods to VI (http://www.totalwar.org/cgi-bin/forum/ikonboard.cgi?act=ST;f=26;t=10127;st=50)
This stuff has been around since I first posted in August, and has been tucked away in the Repositroy Dungeon's FAQ, I saw the many posts dregded up dealing with the adding heroes and stats http://www.totalwar.org/forum/non-cgi/emoticons/eek.gif and was a bit surprised, but a thourough search before posting would help in a situaton like this..LOS
Sorry. I searched for "Famous Kings", "SetStartLeader", "Heroes", etc., and read every post that returned. All those that pertained to the subject either: left many questions unanswered; contained inaccurate info; or claimed certain things were "hard-coded" when they really aren't.
I could find no thread that had all the answers or had them all correct...but the repository you mentioned did not come back in the search, so I must have missed it altogether.
So I stuck a link to my thread in every thread Id found that had any of the errors above, so anyone that wanted to could get the answers...and I did that only because my thread had to go in the Entrance Hall since Im new. Sorry, but Ive tried all the suggestions and most didnt work, so once I found the answers I wanted to spare others the trial-and-error mess.
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.