I can not find answer on this question, so sorry if this is somewhere answered.
which file is used for changing settlements names by their owner?
I can not find answer on this question, so sorry if this is somewhere answered.
which file is used for changing settlements names by their owner?
sorry my english.
You mean automatically changing the name of Konstantinopolis to Istambul when it had been conquered by the Turks? This needs to be scripted.
Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
dHRR 0.8 beta released! get it here
New: Native America! A mini-mod for Kingdoms America
yes, yes this I mean. thanks for help, I found it - the word "scripted" helps me. campaign_script
sorry my english.
I have a problem with this. I´ve tried add more regions to 1143 mod. I also code settlements name change in campaign_script, but it not works. I can not find any error there. and what is important - when I play this mod everything works fine, but when I code my new regions to campaign_script also what before works (mod without my changes), now does not....
must I do something more?
sorry my english.
You tried to add more regions in descr_strat? No, to add more regions you need to add them to the map, provided this has not reach the limit of 199.
Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
dHRR 0.8 beta released! get it here
New: Native America! A mini-mod for Kingdoms America
yes. original mod has 46 regions. when I played this original version, the change of settlements after capturing with another culture works fine. I´ve add new regions (about 6) to all files which are necessary (map_regions, descr_strat, descr_mercenaries, descr_regions_and_settlements) and also coded their name change in campaign_script. everything works fine except name change.
sorry my english.
thanks gigantus. I forgot expanded.txt, so I add new names to it. but unfortunately it does still not works...
and I do not understand why also not work change of settlements which are original in mod and for them change did work before I add new regions...
the code:
Spoiler Alert, click show to read:
Last edited by Keyser Soze; November 12, 2009 at 01:03 PM.
sorry my english.
Best would be to have a look in the americas campaign if there is something else. Your original settlement is called ccc ?
Edit: it seems both names have to be in the expanded file, check this:
campaign_script americas
expanded - americas;;;;; Fort Caroline - Calusa
declare_counter Calusa_France
;;; France captures Calusa
monitor_conditions I_SettlementOwner Calusa = france
and I_CompareCounter Calusa_France = 0
set_counter Calusa_France 1
change_settlement_name Calusa Caroline
end_monitor
;;; Natives capture Calusa
monitor_conditions not I_SettlementOwner Calusa = spain
and not I_SettlementOwner Calusa = england
and not I_SettlementOwner Calusa = france
and I_CompareCounter Calusa_France = 1
set_counter Calusa_France 0
change_settlement_name Calusa Calusa
end_monitor
{Calusa}Calusa
{Caroline}Fort Caroline
I´ve look into americas campaign. yes in mod 1143 (here is link http://www.1143.site.vu/) is another codding for settlement name change, but it works fine too. only after I add new regions to mod it not works.
thanks for your help, I can not do more work for you, but if you will have a little time could you look at attached files? this is my changes. thanks.
regions from "aaa" are new.
sorry my english.
Looking at those files it is as I thought. This is the entry in your script:
BOTH labels (red and blue) have to be in expanded.txt but you have only the red one.change_settlement_name r Cadiz
My advice otherwise: don't use single letter references for anything - it can\will be confusing. And it makes error tracing a madness. I gave up after a couple of minutes to find settlement r in your descr_regions file. Use at least five letters, else a data search will be an exercise in futility.
I know that use single letter as name for regions is not best idea, but author of this mod did it.
and I must say the change of names works. so there is only problem after I add new regions to mod and change of names not works. this I do not understand, because I can not see any error in my codding of new regions, so why this not work?
thank you for you help.
sorry my english.
I understand you, but when you can see Boicote (author of mod 1143) did not code to expanded.txt "one letter" or "two letters" names and name change orks fine. only after I add new regions "three letters" ones settlement name change stoped work (also of old ones).
I am going to try to code also "a", "aa", "aaa" to expanded.txt...
sorry my english.
o.k. I had both names in expanded.txt, I deleted epanded.string.bin file but change did not works. hm, must look deeper maybe...
all at all thanks guys for your help.
sorry my english.