Cities: Skylines

Cities: Skylines

34 ratings
CSL Custom Names [1.0.0]
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
10.752 KB
May 29, 2017 @ 3:45am
May 29, 2017 @ 4:56am
2 Change Notes ( view )

Subscribe to download
CSL Custom Names [1.0.0]

Description
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 Comments
Lisa-chan Aug 13, 2021 @ 5:00pm 
Which folders should I put names in?
ASOM30 Jul 28, 2021 @ 3:14pm 
Does this when add a District take away existing name?
Project_Amberly Oct 8, 2018 @ 11:49am 
Instead of a random first name and last name, It has random first name OR last name. Why is this?
EdenStarGazer Jun 6, 2018 @ 12:46am 
A nice plugin type mod for those mods that provide locale specific names, or to add your own.
Project_Amberly Feb 24, 2018 @ 6:47pm 
Nevermind.
Project_Amberly Feb 24, 2018 @ 11:57am 
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 Jan 14, 2018 @ 1:22pm 
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 Dec 29, 2017 @ 10:34am 
@fcol,
I happened to notice a different custom names mod, called "Custom Namelists" (here -- https://steamcommunity.com/sharedfiles/filedetails/?id=1231957400 ), which does allow for "blacklists" to suppress default names or patterns.
Ilion Dec 28, 2017 @ 10:47pm 
@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 Dec 28, 2017 @ 8:22pm 
@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.