Cities: Skylines

Cities: Skylines

34 arvostelua
CSL Custom Names [1.0.0]
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Mod
Tunnisteet: 1.7.1-f1-compatible
Tiedostokoko
Julkaistu
Päivitetty
10.752 KB
29.5.2017 klo 3.45
29.5.2017 klo 4.56
2 muutosilmoitusta ( näytä )

Tilaa ladataksesi
CSL Custom Names [1.0.0]

Kuvaus
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 kommenttia
Lisa-chan 13.8.2021 klo 17.00 
Which folders should I put names in?
ASOM30 28.7.2021 klo 15.14 
Does this when add a District take away existing name?
projectamberly 8.10.2018 klo 11.49 
Instead of a random first name and last name, It has random first name OR last name. Why is this?
EdenStarGazer 6.6.2018 klo 0.46 
A nice plugin type mod for those mods that provide locale specific names, or to add your own.
projectamberly 24.2.2018 klo 18.47 
Nevermind.
projectamberly 24.2.2018 klo 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.1.2018 klo 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.12.2017 klo 10.34 
@fcol,
I happened to notice a different custom names mod, called "Custom Namelists" (here -- https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1231957400 ), which does allow for "blacklists" to suppress default names or patterns.
Ilion 28.12.2017 klo 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.12.2017 klo 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.