Results 1 to 6 of 6

Thread: Renaming Cities. Help Needed!!

  1. #1
    Marcus Arbaces Alexandros Member Arbaces's Avatar
    Join Date
    Sep 2005
    Location
    Călăraşi, România.
    Posts
    122

    Lightbulb Renaming Cities. Help Needed!!

    Hello. Isn't a around here a generous scripter who could help me create a script which is to change the name of a settlement whenever the player clicks on the "?" icon from it's construction window.

    Perhaps not in a name given by player but in a random name from 4 given names or perhaps in a new name depending on the faction which the player who wants to change the name belongs to (if the "New Settlement" has been conquered by romans he can gain a name such as "Colonia Nova", if he is conquered by a germanic faction it could be given the name "Novburg" () ) .

    I would be really grateful to a good script who could help me do something about it. This would be useful for my Mod in which I want to give the player the ability to make colonies.

    Farewell,
    Arbaces.

  2. #2
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: Renaming Cities. Help Needed!!

    Do you think it is possible?

    If so, I would like also to implement such option, but I don't remember any available command to make something like this.

    Any idea to begin working?

  3. #3
    Marcus Arbaces Alexandros Member Arbaces's Avatar
    Join Date
    Sep 2005
    Location
    Călăraşi, România.
    Posts
    122

    Default Re: Renaming Cities. Help Needed!!

    I solved the problem myself and here is a small tutorial how to do it (if you can call it a "tutorial" since I never made this things before).

    Well... it might be a revolution for some people, it was for me too when I first found out a week ago, but only now I tested it and it works great!! I will, though, pop-up an advisor when a new colonization place is conquered to let people know how to rename their settlements.

    First of all you should go to preferences.txt and enable the last option:
    EDIT_SETTLEMENT_NAMES:TRUE

    And now... some screenies and hints how to do it.

    1. Decide on what settlement to change name, you can also see in the second plan a settlement already renamed, perhaps the first settlement ever renamed in RTW in-game (who knows?).


    2. Open the settlement scroll. Double click on the settlement name and... what?? It seems that you are able to edit it, now that you have "EDIT_SETTLEMENT_NAMES:TRUE" on preferences.txt.


    3. And below is the result.


    As I said, the player might not know, and if you wanna make villages "colonization places" such as I do in my mod with Iceland, Siberia, Scandinavia, I reccomend an advisor to let the player know how to rename the settlement, only for new colonies.

    Moderators, if you think this is a good tutorial you can move this message there too.

    Farewell,
    Arbaces

  4. #4
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: Renaming Cities. Help Needed!!

    That's great.

    Now the "problem" is: how to make this with the factions controlled by the IA?
    In fact, probably it would be only necessary for romans, as we know the settlements that were renamed after conquest (or sometimes settlements built over the ruins of the conquered one).

    I don't know if it would be possible to do it through simulate_click commands.

    (Perhaps some expert scripter...

  5. #5
    Marcus Arbaces Alexandros Member Arbaces's Avatar
    Join Date
    Sep 2005
    Location
    Călăraşi, România.
    Posts
    122

    Default Re: Renaming Cities. Help Needed!!

    Hmm...What? You mean to make the AI give names to the conquered settlements? It's impossible for the AI to use scripts , not to talk of renaming from a list of settlements. But it's a good feature for a human player... it needs a small work on the advisor to let people know of the new "feature" which is not so new since already existed in RTW 1.5/1.6 but it was disabled. Don't know if you were talking about this, but I'm finished with what I wanted.

    Farewell,
    Arbaces

  6. #6

    Default Re: Renaming Cities. Help Needed!!

    Yeah, this is a neat little feature that hasn't got much press. I heard about it a while ago - I've never needed to edit anything to do it though. There's no way to script it though and automatically change settlement names when a faction takes it.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

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