Results 1 to 8 of 8

Thread: Internal renaming of factions..

  1. #1
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Internal renaming of factions..

    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...
    Not used mods before? Looking for something small and fun?!
    Download the:

  2. #2

    Default Re: Internal renaming of factions..

    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...

  3. #3
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Internal renaming of factions..

    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.

  4. #4
    Member Member Stuie's Avatar
    Join Date
    Aug 2001
    Location
    Upper Gwynedd, PA
    Posts
    406

    Default Re: Internal renaming of factions..

    Quote Originally Posted by alpaca
    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...

  5. #5
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Internal renaming of factions..

    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.
    Last edited by alpaca; 04-24-2006 at 16:55.

  6. #6
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Internal renaming of factions..

    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.
    Not used mods before? Looking for something small and fun?!
    Download the:

  7. #7
    Member Member aleajactaest's Avatar
    Join Date
    Sep 2005
    Location
    France
    Posts
    10

    Default Re : Re: Internal renaming of factions..

    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.

  8. #8
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Internal renaming of factions..

    Thank you
    Not used mods before? Looking for something small and fun?!
    Download the:

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO