View Full Version : Internal renaming of factions..
Makanyane
04-23-2006, 17:32
I know how to change 'internal faction names', I'm running a -mod:mod under bi.exe which now has a combination of RTW and BI factions e.g. {romans_senate} changed to {slavs}.
Would like to know (before I attempt changing 20 odd files) is it possible to change internal names to something that does not exist in either game?
I've currently got {armenia} = Lusitania etc. for some of the other amended factions, I thought initially that would be easier way of doing things but it gets really irritating when you go back to change other bits and have to remember why Armenia is the faction creator for Gades etc...
I don´t know whether or not the internal faction names are hardcoded, but in case they´re not sm_faction would be my best guess to start at. Otherwise, only changing the output names is the easiest way to do it. It shouldn´t be so difficult of writing the new faction names down on a sheet of paper...
Well I'm not sure what there is to it, but the base files would be descr_sm_factions.txt and descr_cultures.txt
But of course you have to change every text file that contains them. So I'd do a windows (content) search in the vanilla directory for each faction name to see where it is used.
Well I'm not sure what there is to it, but the base files would be descr_sm_factions.txt and descr_cultures.txt
But of course you have to change every text file that contains them. So I'd do a windows (content) search in the vanilla directory for each faction name to see where it is used.
In addition to updating every text file that refers to factions by name, you would need to update folders and any in-game graphics files that contain the faction name. In vanilla RTW, some of these folders/graphics are stored in pak files, and would thus require un-paking. Can't remember if BI uses paks or not...
BI doesn't. Only for animations and sounds I think ;)
Might use the RTW packs for some things though, so unpack them nonetheless if you want to change the BI factions.
Makanyane
04-24-2006, 17:33
Thanks chaps, but I know how to do it, found list of files on Dromikaites post a while back
(https://forums.totalwar.org/vb/showthread.php?t=59665)
and have already got a mix of RTW & BI faction names working under BI.
(BI hardcoding has all RTW functionality, so no suprise that, that works)
It is a long process to change internal name, as soon as you take a faction name out of sm_factions you'll get KTM or CTD until you remove all other references to it in the text files. Yes I have got RTW unpacked can't remember if it was necessary for this specifically.
It shouldn´t be so difficult of writing the new faction names down on a sheet of paper...
I know I can write cross-reference list or comment the files but thought it would be better in the long run to resolve this and files would be easier to understand in case mod ever does get posted (need a flying pig smilie here).
Question was only whether anyone had changed an internal faction name to one that didn't exist in either game. i.e. are the possible names hardcoded, being lazy thought I'd ask before I tried it.
aleajactaest
04-24-2006, 20:42
Yes, it is possible to give a totally new name for 'internal name' of onre faction. I made the Senate a playable roman faction and I renamed the Senate 'rome' without problem.
Makanyane
04-24-2006, 20:45
Thank you:2thumbsup:
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.