Results 1 to 11 of 11

Thread: Starting faction's name and flag

  1. #1
    kelvintyk's Avatar Primicerius
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    3,140

    Default Starting faction's name and flag

    Say I intend to play as Prussia. However, I want my prussian's starting flag (the one with the black phoenix) changed to the prussian republic one, how do I go about it? Also, is it possible to rename my faction? So to say I might want to rename Prussia to something like kelvin or something. How do I go about achieving both modifications I mentioned? Thanks for any help.
    Baird: "Hey! Stop shooting it, you're pissing it off!"

    Cole: "You're telling me what not to shoot in here? Look at this ****!"
    _____________
    Carmine: "Landown? I heard there's a ****load of grubs down there..."

    Marcus: "More like 10 ****loads"
    _____________
    Dom: "Marcus, ya ever seen them feed on imulsion?"

    Marcus: "Hmph, they can eat **** and die for all I care..."

  2. #2

    Default Re: Starting faction's name and flag

    To change the name would be very complicated - but the flag could be another one. In the startpos.esf at 0x855F1 is the path to the flags ("data/ui/flags/prussia"). When you change it to data/ui/flags/britain for example, it will have the british flag. But the problem is - you will the prussia_republic flag, which path is longer than 6 characters. And if you try to add the "_republic" to the hex, the game won't show anything. So if anyone know, how to edit this correctly .. :-)

  3. #3
    kelvintyk's Avatar Primicerius
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    3,140

    Default Re: Starting faction's name and flag

    Well I'm using the pack manager. But when I change the prussian flag to the republic one, the change doesn't occur in-game. Any ideas?
    Baird: "Hey! Stop shooting it, you're pissing it off!"

    Cole: "You're telling me what not to shoot in here? Look at this ****!"
    _____________
    Carmine: "Landown? I heard there's a ****load of grubs down there..."

    Marcus: "More like 10 ****loads"
    _____________
    Dom: "Marcus, ya ever seen them feed on imulsion?"

    Marcus: "Hmph, they can eat **** and die for all I care..."

  4. #4

    Default Re: Starting faction's name and flag

    Changing the name shouldn't be that complicated, there shouldn't be too many copies of the name in the localisation file, the pack manager contains a loc editor.

  5. #5
    kelvintyk's Avatar Primicerius
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    3,140

    Default Re: Starting faction's name and flag

    But changing the UI flags as stated above by Xash doesn't change the flags in-game.
    Baird: "Hey! Stop shooting it, you're pissing it off!"

    Cole: "You're telling me what not to shoot in here? Look at this ****!"
    _____________
    Carmine: "Landown? I heard there's a ****load of grubs down there..."

    Marcus: "More like 10 ****loads"
    _____________
    Dom: "Marcus, ya ever seen them feed on imulsion?"

    Marcus: "Hmph, they can eat **** and die for all I care..."

  6. #6

    Default Re: Starting faction's name and flag

    The name should just be a case of changing the factions_screen_name in the localisation.loc file.

    edit: Actually I'm lying the faction name comes up in quite a few other instances in just the .loc file (1160 for prussia).
    Last edited by Jams79; March 21, 2009 at 08:42 PM.

  7. #7
    kelvintyk's Avatar Primicerius
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    3,140

    Default Re: Starting faction's name and flag

    Quote Originally Posted by Jams79 View Post
    The name should just be a case of changing the factions_screen_name in the localisation.loc file.

    edit: Actually I'm lying the faction name comes up in quite a few other instances in just the .loc file (1160 for prussia).
    So names are impossible to change? What about flags? The changes I made to the factions file doesn't seem to make the in-game flag change.
    Baird: "Hey! Stop shooting it, you're pissing it off!"

    Cole: "You're telling me what not to shoot in here? Look at this ****!"
    _____________
    Carmine: "Landown? I heard there's a ****load of grubs down there..."

    Marcus: "More like 10 ****loads"
    _____________
    Dom: "Marcus, ya ever seen them feed on imulsion?"

    Marcus: "Hmph, they can eat **** and die for all I care..."

  8. #8

    Default Re: Starting faction's name and flag

    Quote Originally Posted by Xash View Post
    To change the name would be very complicated - but the flag could be another one. In the startpos.esf at 0x855F1 is the path to the flags ("data/ui/flags/prussia"). When you change it to data/ui/flags/britain for example, it will have the british flag. But the problem is - you will the prussia_republic flag, which path is longer than 6 characters. And if you try to add the "_republic" to the hex, the game won't show anything. So if anyone know, how to edit this correctly .. :-)
    When you change the size of a string you have to also change its hex representing its size. All strings in esf are 0E XX [STRING DATA] the XX is the size in hex.

  9. #9
    kelvintyk's Avatar Primicerius
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    3,140

    Default Re: Starting faction's name and flag

    But what if I'm using the pack manager and not a hex editor.
    Baird: "Hey! Stop shooting it, you're pissing it off!"

    Cole: "You're telling me what not to shoot in here? Look at this ****!"
    _____________
    Carmine: "Landown? I heard there's a ****load of grubs down there..."

    Marcus: "More like 10 ****loads"
    _____________
    Dom: "Marcus, ya ever seen them feed on imulsion?"

    Marcus: "Hmph, they can eat **** and die for all I care..."

  10. #10

    Default Re: Starting faction's name and flag

    You cannot edit startpos.esf with the package manager.

  11. #11

    Default Re: Starting faction's name and flag

    If you want to change the flag you have to download the latest esf editor (1.4.5). Once you have it, open startpos.esf with the editor, and go to CAMPAIGN_STARTPOS\CAMPAIGN_ENV\CAMPAIGN_MODEL\WORLD\FACTION_ARRAY\FACTION_ARRAY(find Prussia)\FACTION\FACTION_FLAG_AND_COLOURS(the first one)\ click on it, and in the first line change the "data\ui\flags\prussia" to "data\ui\flags\prussia_republic"

    I'm still trying to change the name of the faction. Anyways, with this ESF editor you can do much more things with a pack manager. For more check the tutorial about the ESF Editor by husserlTW: http://www.twcenter.net/forums/showt...D-startpos-esf

    Hope this helps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •