Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
With the way this mod works, it would probably need some help in determining what buildings with static names to rename, then have separate lists for each of those categories.
I don't see myself doing this work anytime soon, but the code is publicly available for anyone that wants to give it a try.
I mean the default name of buildings. Often just modded buildings have names like "2x4 Parking Lot". I would like the 2x4 to be gone.
In the game I always have to rename the parking lots.
Is it not possible to rename this in a code, so that the building names sound normal again?
If you mean a way to rename the buildings, I think you can do that in game already by clicking on the name!
For example, the name for the prison or the names modded buildings.
https://pastebin.com/DmiR5QJQ
Also screenshots are a good idea...
My wish is that the names could be prefixed by the district the house is in. Could you help me with that?
Not sure if you already knew this but I wanted to share this with everyone.
So... It turns out that wasn't too bad :D
Try out the update and let me know if I've broken everything!
I'm primarily a mac developer, so if I try it, I'll find out pretty quick :D
No promises that I'll get around to it, but I'm nearly intrigued enough to look into this more closely
As for allowing it to stay out of each other way.
The detour will replace the start of the method to do a jump to the other method to replace it. This allow other mods which change other methods that won't affect your changes. Replacing the class replaces the original class, which also includes the detoured methods.
Sure, other mods that changes the same method will conflict, but there's fewer conflicts than replacing the whole class.
I haven't really been actively developing this for quite a while, and the source is available below, if anyone wants to update this mod.
Based on the detour method example (seen here https://github.com/sschoener/cities-skylines-detour ) this may also not work on Linux and Mac, which would be a deal-breaker for me, but if I get a chance to look at it, I'll give it a shot!
I've only glanced at the way detour methods are supposed to work, but can you clarify how they would allow mods to stay out of each others ways? It's clearly better than overriding the entire class as I'm doing here, but if another mod needs the same method, I believe there will still be a conflict.
https://github.com/wufire/CitiesSkylinesBuildingNameGenerator
I tried looking into citizen names a while back. It seems like they are handled by a CitizenManager of some sort, and I wasn't able to find a good way to inject external names. Hopefully, you find more than I did :D
Let me know if you figure it out! I'd love to see that mod, too