Cities: Skylines

Cities: Skylines

34 vurderinger
CSL Custom Names [1.0.0]
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Filstørrelse:
Offentliggjort:
Opdateret:
10.752 KB
29. maj 2017 kl. 3:45
29. maj 2017 kl. 4:56
2 ændringsbemærkninger ( vis )

Abonner for at downloade
CSL Custom Names [1.0.0]

Beskrivelse
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 kommentarer
Lisa-chan 13. aug. 2021 kl. 17:00 
Which folders should I put names in?
ASOM30 28. juli 2021 kl. 15:14 
Does this when add a District take away existing name?
projectamberly 8. okt. 2018 kl. 11:49 
Instead of a random first name and last name, It has random first name OR last name. Why is this?
EdenStarGazer 6. juni 2018 kl. 0:46 
A nice plugin type mod for those mods that provide locale specific names, or to add your own.
projectamberly 24. feb. 2018 kl. 18:47 
Nevermind.
projectamberly 24. feb. 2018 kl. 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. jan. 2018 kl. 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. dec. 2017 kl. 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. dec. 2017 kl. 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. dec. 2017 kl. 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.