Cities: Skylines
Оценок: 34
CSL Custom Names [1.0.0]
   
Наградить
В избранное
В избранном
Удалить
Mod
Метки: 1.7.1-f1-compatible
Размер файла
Добавлен
Изменён
10.752 KB
29 мая. 2017 г. в 3:45
29 мая. 2017 г. в 4:56
Обновлений: 2 (просмотреть)

Подпишитесь, чтобы загрузить
CSL Custom Names [1.0.0]

Описание
Load names into Locale

With this mod you can add more default road, citizen, district, building and city names and more.

Names are added when game starts. Locale file still untouched.

This mod should not break your saves.

Put names in:
(Cities_Skylines)\CustomNames.xml
(anymod)\CSLCustomNames\CustomNames.xml

Scheme:
<?xml version="1.0" encoding="utf-8" ?> <Names> <(identifier) key="key"> <msg>message</msg> </(identifier)> </Names>
There may be no key for some identifiers.
Try to avoid special characters. Replace '<', '>', '&' with "&lt", "&gt", "&amp".
Game uses string.Format, so don't use '{' and '}', it's for parameters.

Example:

<?xml version="1.0" encoding="utf-8" ?> <Names> <NAME_MALE_FIRST> <msg>Keanu</msg> </NAME_MALE_FIRST> <NAME_MALE_LAST> <msg>{0} Reeves</msg> </NAME_MALE_LAST> </Names>

To see possible identifiers get Localization Tool and export po from locale file.
#. "OFFICE_NAME[Level2]:3" msgid "Fine Financial Services"
OFFICE_NAME is identifier;
Level2 is key;
Fine Financial Services is message

3 is index. If only record with 0 index exist in locale file for some identifier game may be not getting random message for it. Check decompiled dlls to be sure.

Example pack for test. Subscribe it and try to create roads.

Please leave feedback.
Комментариев: 26
Lisa-chan 13 авг. 2021 г. в 17:00 
Which folders should I put names in?
ASOM30 28 июл. 2021 г. в 15:14 
Does this when add a District take away existing name?
projectamberly 8 окт. 2018 г. в 11:49 
Instead of a random first name and last name, It has random first name OR last name. Why is this?
EdenStarGazer 6 июн. 2018 г. в 0:46 
A nice plugin type mod for those mods that provide locale specific names, or to add your own.
projectamberly 24 фев. 2018 г. в 18:47 
Nevermind.
projectamberly 24 фев. 2018 г. в 11:57 
I don't have the locale. I subscribed to the mod, but it doesnt include the localeI have the example pack and it won't work.
peyckey 14 янв. 2018 г. в 13:22 
So I might just be being stupid here but I get to the CSLNamesMod.dll file and can get no further, any advice on how to actually get to the .xml file and open it?
Ilion 29 дек. 2017 г. в 10:34 
@fcol,
I happened to notice a different custom names mod, called "Custom Namelists" (here -- https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1231957400 ), which does allow for "blacklists" to suppress default names or patterns.
Ilion 28 дек. 2017 г. в 22:47 
@fcol,
I don't think that can be done (myself, I like to get rid of "Street" as a default Avenue pattern). In a post on May 30, TGC (the author) said, " i don't implement deleting vanilla strings yet, may be later."

You could try adding duplicate copies of the patterns you want. That won't eliminate "Xyz Street", but it ought to make is less common.
fcol 28 дек. 2017 г. в 20:22 
@Ilion As I see you replying to some comments, I'd like to ask something. How do I get rid of the default road type names as "street" or "Avenue" after using this mod? I was able to make it add the ones I chose, but I can still see "street" on some roads. Tks.