Log in

View Full Version : Adding Princesses to the Viking Faction



Luthiena
12-01-2006, 19:05
Hello,

I was just wondering how you can add the princess unit to the faction of the Vikings.
I was poking through the folders in my Total War folder, and I noticed in the Viking names text document, there's a LOOONG list of Viking princesses... who don't appear in the game. So, I want to add the princesses to the Vikings.

Anyone know how to do this?

Thanks so much!

naut
12-02-2006, 07:59
I've been trying to implement this into my games. However, all I get are CTDs (crash to desktop).

Luthiena
12-02-2006, 15:15
Aw *snap* It's weird, though- why do they have a long list of Viking names for the princesses if they didn't even put them in? :inquisitive:

naut
12-05-2006, 07:49
Maybe some of the older Modders can be of assistance. Such as Ras, BKB, DukeJohn, VikingHorde, WesW etc.

Luthiena
12-06-2006, 03:09
Ah, okay... Sooo, should I just PM them? Sorry if I sound a bit thick, I'm a new girl here... :sweatdrop:

naut
12-06-2006, 03:47
Its okay, I've done it.

https://img447.imageshack.us/img447/192/00000002hn1.jpg

I'll just run you through it if you like.

Luthiena
12-06-2006, 22:52
That would be wonderful, thank you!

naut
12-06-2006, 22:57
Here is a step by step process:

Prerequisites:

Gnome Editor (http://www.3ddownloads.com/strategy-gaming/totalwar/Tools/Gnome_UnitBuildProj_Editorv2.0.zip) or Dragon Editor (http://www.dragonbone.neostrada.pl/mtw/dragonmtweditor.zip)

1. Open VIKING_UNIT_PROD.txt, which is found in the main Medieval directory, using either Gnome Editor or Dragon Editor, scroll down to the line starting with Princess. Scroll across until you find a list like this "FN_01,FN_02,FN_03,FN_04,FN_05,FN_06,FN_08". Simply add FN_07 inside the the quotations marks (Note: Each entry must be separated by a comma).

https://img418.imageshack.us/img418/8396/untitledzd0.jpg

2. Go to your Medieval directory, then to campmap\Portraits\Vikings\Catholic. There should be a directory called Princess, copy it.

3. Go to campmap\Portraits\Vikings\Vikings, paste the folder Princess in here.

And that's all there is to it.

Luthiena
12-06-2006, 23:41
Thanks sooo much! :beam: Now, if I wanted to add princesses to other princess-less factions, would I do the same thing?

naut
12-06-2006, 23:49
Which factions do you mean? The Muslim ones in the standard campaign?

Luthiena
12-07-2006, 00:36
Yes, Muslim. :sweatdrop: Sorry I didn't say that in my post. :oops:

naut
12-07-2006, 01:02
Its a little bit more complicated, but I'll post a walk through in a bit.

Luthiena
12-07-2006, 01:10
Thanks so much! You're very helpful. :bow:

naut
12-07-2006, 03:21
Basically similar to the Viking addition of princesses.

1. First open CRUSADERS_UNIT_PROD11 using Gnome Editor or Dragon Editor, croll down to the line starting with Princess. There should be a list saying the following as you scroll across.

"FN_ARAGONESE, FN_BURGUNDIAN, FN_DANISH, FN_ENGLISH, FN_FRENCH, FN_GERMAN_HRE, FN_HUNGARIAN, FN_ITALIAN, FN_PAPIST, FN_POLISH, FN_RUSSIAN, FN_SICILIAN, FN_SPANISH"
Add FN_ALMOHAD, FN_EGYPTIAN, FN_TURKISH to the end of the list, inside the quotation marks.

2. Scroll further across and there should be the following:

"CATHOLIC, ORTHODOX"
Add MUSLIM to it, inside the quotation marks.

Like this:
https://img96.imageshack.us/img96/7998/untitledhl8.jpg

3. Go to your Medieval directory, then to campmap\pieces\agents. Look for all the files with the Princess in their names, copy these to the campmap\pieces\agents\Muslim folder. Or alternatively you could use these ones (http://www.box.net/public/pm3lbl38lp) made by Patrick, and place them in the campmap\pieces\agents\Muslim folder to give Muslim princesses a different look.

4. In regard to Muslim Portraits, you will unfortunately have to place Christian pictures there (unless you make new ones). Essentially the same as before. Open campmap\Portraits\Catholic, and copy the folder Princess. Bring it over to campmap\Portraits\Muslim, paste it here (if it warns you of overwriting don't worry, as the one in here has 5 pictures from the Catholic folder in it anyway).

:balloon3: Done.

Luthiena
12-07-2006, 22:09
Thanks so much! I used the link you posted for the alternate-looking ones. I'm adding my own portraits, too. Can't wait to load up the game and test this. :devilish:

naut
12-07-2006, 22:50
Just a heads up, portraits must be saved as TGAs.

Luthiena
12-08-2006, 00:17
Yup, done that already. :2thumbsup:

Luthiena
12-08-2006, 01:06
Okay, I think I did everything right, but I'm having some problems...

I'll get a message that says that my ruler's wife has given birth to a daughter, and she will age in fifteen years. So, fifteen years comes around, and I look on the royal family list, and it says, "Princess 15". Then, when I click on the name to find where she is, the circle thingy appears around empty air. I try right clicking on that, and it opens up the window for the province. I've added names and portraits, and installed the piece-things, sooo.... not sure what's going on. :sweatdrop:

naut
12-08-2006, 03:08
Ahh, I forgot. Its an error to do with the Heros file. I assume this is for Muslim faction. Basically it is because the Muslim factions don't have their names declared for princesses.

R'as al Ghul
12-08-2006, 13:05
Maybe some of the older Modders can be of assistance. Such as Ras, BKB, DukeJohn, VikingHorde, WesW etc.


Ah, okay... Sooo, should I just PM them? Sorry if I sound a bit thick, I'm a new girl here... :sweatdrop:

Hello,

feel free to send me a PM next time. I always like to help.
I haven't checked this section for a few days/ weeks, so I completely missed this.
You still need to declare the names of the princesses as Rythmic said.
Iirc, it's in the heroes or names file. The easiest thing is to note down an actual existing name and do a text search for it in the txt. files. You should come up with 1 or 2 places where the name is defined.
This is an example from our Shogun mod as a starting point:

First you need to add the character in the heroes-file:

ADD_PRINCESS::
stw_Kazuko

Now you need to define the characters' name in the Names-file:

["stw_Kazuko"] {"Kazuko"}

R'as

naut
12-08-2006, 14:44
R'as al Ghul, :bow:

Beat me too it.

Luthiena
12-08-2006, 21:58
Thanks, R'as!

Quick question, though:

I noticed that, in the names text file, some names on the right are indented, while some are not; like this:

["Ade"] {"Ade"}
["Adela"] {"Adela"}
["Adelhaid"] {"Adelhaid"}
["Adelaide"] {"Adelaide"}
["Agata"] {"Agata"}
["Agnes"] {"Agnes"}
["Aigiarn"] {"Aigiarn"}
["Alice"] {"Alice"}
["Amata"] {"Agnese"}

Is the way they are placed important, or no?

Luthiena
12-08-2006, 22:04
Ack, that didn't work- it doesn't show the indentation... >.<

R'as al Ghul
12-08-2006, 23:51
You can place a tabstop instead of a space between them but I don' think it matters.

caravel
12-09-2006, 14:40
You could have put ALL_FACTIONS to achieve the same result for the princess, as the Vikings are the only faction that can't "train" them. I'm pretty sure I've seen an occasional Viking Princess in the VI campaign anyway. And when you try to load the portrait there's nothing there, and an error pops up. Weird bug?

:bow:

Biggus Diccus
12-09-2006, 23:08
How does one actually add new portraits to the game? I stumbled on this thread and remembered that I tried to add some evil looking portraits a few years ago, but they all turned kinda purple in-game so I just gave up on it back then. Is there some special palette to use for this purpose?

Edit: I tried the trick to add princesses to the Vikings and they still won't breed princesses, only sons. Adding a princess from the start via the starpos file works fine though.

naut
12-11-2006, 04:26
You could have put ALL_FACTIONS to achieve the same result for the princess, as the Vikings are the only faction that can't "train" them.
I tried that, but it kept crashing as it apparently gave the rebels princesses too.


I'm pretty sure I've seen an occasional Viking Princess in the VI campaign anyway. And when you try to load the portrait there's nothing there, and an error pops up. Weird bug?
This happens because there are no Portrait files for Viking Princesses, you have to copy the other nations ones and move them across to the Viking folder.


How does one actually add new portraits to the game? I stumbled on this thread and remembered that I tried to add some evil looking portraits a few years ago, but they all turned kinda purple in-game so I just gave up on it back then. Is there some special palette to use for this purpose?
Basically any standard image in the correct proportions will do, as long as it is saved as a .TGA. Once made the file has to be put in the campmap\Portraits\...\Princesses folder as PrincessN, (where N is any number).

Luthiena
12-12-2006, 00:36
Still having issues with the Muslim princess...

Screenshots of what's going on:

https://i111.photobucket.com/albums/n146/EldoraLuthiena/garwhathappenswhenrightclickonprinc.jpg

https://i111.photobucket.com/albums/n146/EldoraLuthiena/gar2.jpg

https://i111.photobucket.com/albums/n146/EldoraLuthiena/gar.jpg

naut
12-12-2006, 04:31
Looks like an error with the Princess map pieces.

EDIT: What's wrong with this one https://i111.photobucket.com/albums/n146/EldoraLuthiena/garwhathappenswhenrightclickonprinc.jpg ?

Luthiena
12-12-2006, 12:58
That's what I get when i try to right click on the princess. I downloaded the map pieces from the link- should I delete them from the folder, and try downloading them again? Or should I use the regular ones?

naut
12-12-2006, 13:40
I'm unsure of what's wrong, I do have an inkling. So I'll have a look through it and try to figure it out.

Luthiena
12-12-2006, 21:28
Thanks very much! I'll try to fiddle with it a bit, too.

caravel
12-12-2006, 22:21
You need to copy the princess_*.BIF/.Buf files from here:

\Total War\Medieval - Total War\campmap\pieces\Agents

To here:

C:\Total War\Medieval - Total War\campmap\pieces\Agents\Muslim

After that you need to add the portraits and then some names. They should work ok then.

Luthiena
12-13-2006, 00:22
I downloaded them from the link Rhythmic posted (don't worry, mate, not blamin' you! :laugh4: ) and they looked the same. So, I plunked them into the folder, but maybe I did it wrong. I'll try installing them again, and then if that still doesn't work, I'll try the regular princess ones.

Luthiena
12-13-2006, 01:17
Okay, just found something interesting: I downloaded the regular files into the campmap pieces Muslim folder, and the same thing was still going on with the Egyptians and the Almohads. BUT- it works for the Turks, the princesses are just nameless.

naut
12-13-2006, 06:05
Odd indeed.

If you declare the names of Princesses in the Heros file do they gain names, (or have you done that already).

Luthiena
12-13-2006, 12:57
I've done that already, but I can try doing it again. :inquisitive:

Luthiena
12-14-2006, 01:15
Okay, I fixed the invisible problem... I tried it with the regular game pieces, and that worked, so I'm guessing there was a glitch with the downloaded ones. I now have princesses for all three Muslim factions. :2thumbsup:

Still no idea about the names, though. I tried adding them to the Names list (I did it alphabetically, would that mess it up?) and then the Change list, and then both- but nothing worked. :wall:

naut
12-14-2006, 05:08
You have to add names to the NAME.txt file in the Loc folder.

Luthiena
12-14-2006, 21:23
Yeah, I did that- but alphabetically. Do I have to add something after the name so that it will translate?

naut
12-14-2006, 23:40
Like this:

["Example"] {"Example"}

Doing it alphabetically shouldn't effect whether it works or not.

Luthiena
12-15-2006, 03:03
It looks exactly like that... buggering thing... O.o

I'll keep fiddling with it and see what happens.

naut
12-15-2006, 03:57
where have you added it inside the file?

If it is after this:


SetShowTransOff //Do not translate.
//???? Remove when localized.
It wont work, it has to be before this text.

R'as al Ghul
12-15-2006, 13:03
Luthiena,

you need to introduce a new princess to the game by using ADD_PRINCESS in Heroes.txt.
It is important to insert the added princesses at the right place in the file. The Vikings are faction number 7. Look for the Scottish and put your princesses (the ADD_PRINCESS commands) between the Scottish and Welsh. The SET_PRINCESS command needs to read

SET_PRINCESS:: FN_07 7 // Vikings

later in the same file:

ADDPRINCESS:: "Whatever_name"

Example from STW mod Heroes.txt:

SET_PRINCESS:: FN_24 1 // Satake
ADD_PRINCESS::
"stw_Jito"

After that you need to declare the name of that new character in Names.txt.
Names.txt

["stw_Jito"] {"Jito"}

If you have that, then you need to tell the game that the faction can build/ have Princesses. You do that by editing the viking_unit_prod file. Column 50 (Faction Association label) needs to include the viking faction in the line for the Princess.

R'as

Luthiena
12-15-2006, 21:30
where have you added it inside the file?

If it is after this:


SetShowTransOff //Do not translate.
//???? Remove when localized.
It wont work, it has to be before this text.

I think that's it! I was adding the Turkish/Egyptian/Almohad names alphabetically into the list of names that was already there. I'll try that and see what happens.

naut
12-16-2006, 07:49
I think it's what R'as al Ghul specified, it sounds right.