PDA

View Full Version : How do I label my (own) faction?



-Isapostolos-
08-03-2003, 15:12
So I finally managed to make my own faction. There are only two problems though. My faction ,which a named the Cumans, is there on the map can build troops, but when I hold my mouse over them it says that this faction doesn't have label (with a name on it).So the name I use in the startpos files is only of technical use.

So since the cuman label doesn't exist yet, I can't give the cumans new units with gnome editor or wathever...

A smaller problem I have is this. My king Lazlo doesn't have a proper numeral behind him like III or IV but he is called 'King Lazlo Numeral&^%&*^'. Who do I change this?

One last thing. I can't select my faction in the start menu even though I declared them major...

Thanks for the helpin advance

Lord Of Storms
08-03-2003, 16:11
Quote[/b] (Isopostolos @ Aug. 03 2003,09:12)]So I finally managed to make my own faction. There are only two problems though. My faction ,which a named the Cumans, is there on the map can build troops, but when I hold my mouse over them it says that this faction doesn't have label (with a name on it).So the name I use in the startpos files is only of technical use.

So since the cuman label doesn't exist yet, I can't give the cumans new units with gnome editor or wathever...

A smaller problem I have is this. My king Lazlo doesn't have a proper numeral behind him like III or IV but he is called 'King Lazlo Numeral&^%&*^'. Who do I change this?

One last thing. I can't select my faction in the start menu even though I declared them major...

Thanks for the helpin advance
Sounds like you have a few problems here, What version of MTW are you working in? and what exactly did you change, when declaring a new faction you would have to use the FN_Free or FN_09-20( for Viking era) Labels for examples. the name you assign to these labels is what gets translated to the game, and you assign these names for Factions, Provinces, leaders Names etc in the Loc/Eng/ Names files
@{The Free01}={The Cumans}the free 01 being the label
to use the Cumans as the name to be translated, the game will not recognize a new label of your own making you must use the free labels and put your info in the brackets for it to be translated correctly. Your Kings name is an example of an incorrect translation error the proper info is not in all the correct places so it reads like you see it, incorrectly, what info did you change?
And as far as not being able to select your faction on the start menu I think it has to do with you have not enterd all the correct info to get your faction started, I suggest you read the info in the Dungeon on adding new faction and do searches for other relevant info

-Isapostolos-
08-03-2003, 16:37
Quote[/b] (Lord Of Storms @ Aug. 03 2003,10:11)][quote=Isopostolos,Aug. 03 2003,09:12]Alright, simple guide to adding a new faction:
Make a copy of viking.txt in your campmap\startpos directory
Open up the copy with a text editor
Lets go through the file from top to bottom.
Change cn_title to some thing different like new faction mod so you can tell which is your mod
Declare your new faction with DeclareFaction:: FN_new
Activate your faction with SetActiveFaction:: FN_new FT_MAJOR
Set your culture with SetCulture:: FN_new CATHOLIC_CULTURE
Give yourself some shield by SetShieldImage:: FN_new Welsh_lge Welsh_sml Welsh Welsh Welsh
Give yourself an island with SetRegionOwner:: ID_LANDREG_44 FN_new
Now you need a king SetStartLeader:: FN_new 0 0
and PlaceLeader:: ID_LANDREG_44 FN_new

That should be all you have to do to get a new faction to play with.
Other things you'll have to do to get it to be more playable.
SetTreasury:: FN_new to give yourself more starting cash
Change you starting religion to something else, it defaults to catholic
Give the AI a script to control the faction with SetBehaviour
Change the colour with SetFactionCol
Give an office or two with AddOffice
Give some heir with AddHeir:: FN_new m/f age

More advance stuff to make it look good
Change the prod file to give your new faction some troops and building
Change the translation files to get rid of all the no translation Mostly in faction_specific and changes
SetFactionMusic:: FN_new X - X can be 0 - 5, see playlist
GGConquestReward:: FN_new 1.0 plus changing regowner_table to list some homeland for GA goals
Make some heroes and kings with a copy of the hero files, and SetNameData::
Then you can update SetStartLeader with extra stuff.
These steps I followed...
I did change the names in Loc/Eng/Names. Maybe It's because I used Hungarian name sfor my kings while I use mongol ones for the generals....

KukriKhan
08-03-2003, 16:48
By the way, Isopostolos you can now post in your own right in the Dungeon. You might get even more help there (Tho' I totally appreciate Lord of Storms' most excellent assistance here with modding questions) http://www.totalwar.org/forum/non-cgi/emoticons/biggrin.gif

Lord Of Storms
08-03-2003, 17:25
Quote[/b] ]These steps I followed...
I did change the names in Loc/Eng/Names. Maybe It's because I used Hungarian name sfor my kings while I use mongol ones for the generals....

No that should not be a problem you can use any combination of names as long as they are names that are declared in the Names file , are you using the Default Heores file to set up your names?, it gives some good info on how to in the files heading, you choose your Forename/Surname lists you can even create your own.

-Isapostolos-
08-03-2003, 18:13
Thanks KukriKhan, i finally can harrass teh dungeonists http://www.totalwar.org/forum/non-cgi/emoticons/joker.gif
Can you do me one favor though by placing this thread in the dungeon?

@{The Free01}={The Cumans}[B]

Where can I find this label? I can't seem to find it in any of the files.

I have another prob, I used defaultshield for the Cumans but now they have Almohad flags. I removed the Almohad flag from the shield description but it still showed...

I do use default_heroes file. Maybe the problem is that I use the same name list as the hungarians so there would be 2 laszlo's... Maybe thats why one is called numeral... http://www.totalwar.org/forum/non-cgi/emoticons/rolleyes.gif

Lord Of Storms
08-03-2003, 23:58
Iso, The labels for {The Free01} etc are found in Loc/Eng/Names I gave {The Cumans} as an example of what to change The Free01 to, so it would reflect your name change, I apologize if I got you mixed up. http://www.totalwar.org/forum/non-cgi/emoticons/pat.gif

-Isapostolos-
08-04-2003, 10:38
Thanks LoS,

I finally managed to label my Faction, with the default faction file (I previously used early_faction file)

However I still can't select the Cumans in the start menu...