Cities: Skylines

Cities: Skylines

34 hodnocení
CSL Custom Names [1.0.0]
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Velikost souboru
Přidáno
Aktualizováno
10.752 KB
29. kvě. 2017 v 3.45
29. kvě. 2017 v 4.56
Poznámky ke změnám (2) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
CSL Custom Names [1.0.0]

Popis
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.
Počet komentářů: 26
Lisa-chan 13. srp. 2021 v 17.00 
Which folders should I put names in?
ASOM30 28. čvc. 2021 v 15.14 
Does this when add a District take away existing name?
projectamberly 8. říj. 2018 v 11.49 
Instead of a random first name and last name, It has random first name OR last name. Why is this?
EdenStarGazer 6. čvn. 2018 v 0.46 
A nice plugin type mod for those mods that provide locale specific names, or to add your own.
projectamberly 24. úno. 2018 v 18.47 
Nevermind.
projectamberly 24. úno. 2018 v 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. led. 2018 v 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. pro. 2017 v 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. pro. 2017 v 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. pro. 2017 v 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.