Cities: Skylines

Cities: Skylines

Customizable Building Name Generator
85 則留言
wufire  [作者] 2023 年 11 月 9 日 上午 12:49 
@Kincaid Oh, haha! I'm not sure about that then
Kincaid 2023 年 11 月 7 日 上午 7:26 
@wufire I know. I was just wondering if anyone already did that so I can save myself the work
wufire  [作者] 2023 年 11 月 6 日 下午 6:46 
@Kincaid, you should be able to put German names to your custom name lists. I haven't tested this though, but it should hold up
Kincaid 2023 年 11 月 4 日 下午 8:47 
Did someone already make a german version?
wufire  [作者] 2023 年 4 月 23 日 上午 4:02 
@Baronryder I'm not really familiar with how the modded buildings are named, sorry.

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.
wufire  [作者] 2023 年 4 月 23 日 上午 3:57 
@Lord Peter Thank you for commenting! Glad you're finding it useful
Lord Peter 2023 年 4 月 22 日 上午 10:13 
Brilliant little mod, adds a lot to the immersion! Thanks :D
Baronryder 2023 年 4 月 7 日 上午 8:18 
Of course, I already know the renaming in the game.
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?
wufire  [作者] 2023 年 4 月 6 日 下午 4:47 
@Baronryder hmm, do you mean randomized names for settable buildings? It's been a while since I've looked at the code, but I don't think the game has a built-in randomization on ploppable buildings the same way it does for growable ones, so a new system would have to be built to handle that (or else buildings would end up with random names which change inconsistently). In short, it'd be a lot of work.

If you mean a way to rename the buildings, I think you can do that in game already by clicking on the name!
Baronryder 2023 年 4 月 6 日 下午 12:11 
@wufire Is there any way to rename the settable buildings as well?
For example, the name for the prison or the names modded buildings.
Maelish 2022 年 3 月 2 日 下午 4:21 
Thanks for answering @wufire.
wufire  [作者] 2022 年 3 月 2 日 下午 12:08 
@Maelish I looked into that a long time ago, but I don't remember details anymore. Most likely the names are stored in a completely different place, so it was not a trivial addition
Maelish 2022 年 2 月 28 日 上午 7:59 
@wufire Would it be possible for you add cim names too?
hillfanthomlike10 2021 年 1 月 29 日 上午 9:46 
thank you
wufire  [作者] 2020 年 1 月 21 日 下午 9:17 
Awesome! Hope you enjoy it!
jeff 2020 年 1 月 21 日 下午 6:39 
Thanks - I ended up finding it in a hidden folder.
wufire  [作者] 2020 年 1 月 21 日 上午 1:32 
@jeff Hmm, I haven't changed anything on this mod in a very long time. What platform are you on?
jeff 2020 年 1 月 15 日 上午 8:29 
I cannot find the in which to enter the building names. It is not preset within the citiesskylines folders.
mpkio2 2018 年 6 月 21 日 上午 4:47 
@wufire Well, I am using alot of mods together so its possible that some other mod is conflicting with both this mod and District Limit. I'm also using Traffic Manager President Edition if thats relatable...?
wufire  [作者] 2018 年 6 月 19 日 下午 12:16 
@mpkio2 Hmm, So running just District Limit and this mod together, I don't see this error. Are you doing anything specific when that log occurs? Is there some setup to DL that I'm missing (I've never used it before this)? Perhaps it's another mod that is interfering? Admittedly, I'm doing some unfriendly things in code, which can make it difficult to work with other mods.
wufire  [作者] 2018 年 6 月 18 日 下午 11:09 
@mpkio2 Thanks. I'll take a look if I get a chance. I'm always surprised by these things since I haven't touched this mod in a very long time now
mpkio2 2018 年 6 月 18 日 上午 5:33 
@wufire. Sure. Can't paste the whole error here so I posted here on Pastebin....
https://pastebin.com/DmiR5QJQ
wufire  [作者] 2018 年 6 月 15 日 下午 5:15 
@mpkio Entirely possible. I'm unfamiliar with that mod. Can you share those logs?
mpkio2 2018 年 6 月 15 日 上午 3:41 
I think this mod isn't compatible with District Limit 3.0 mod. My output_log is pointing to this mod causing a conflict with it. :(
Legion, Duke of Rockford 2017 年 12 月 28 日 下午 3:01 
No.
Weaver 2017 年 7 月 4 日 上午 5:36 
Could you maybe add a report dump feature that quickly vomits each affectable building on the map's basic info so that we could check for anomalies in the buildings on a given map?
wufire  [作者] 2017 年 7 月 3 日 下午 11:20 
@Weaver, weird! I haven't changed anything in my mod for years. If I get a chance I'll check it out, but it's rare I get a moment to work on this. :steamsad:
Weaver 2017 年 7 月 2 日 下午 5:12 
Hey @wufire, for some reason despite working together for ages CSL Map Mod http://sp.zhabite.com/sharedfiles/filedetails/?id=845665815 is now throwing an error about your mod when I push its export button https://hastebin.com/utozuwekal.css ... it actually stups if i disable your mod. I'm really confused.
wufire  [作者] 2017 年 6 月 21 日 下午 10:11 
@Legion I played a couple weeks ago and I think it's still working! (But, let me know if it's not... :hardhat: )

Also screenshots are a good idea...
Legion, Duke of Rockford 2017 年 6 月 17 日 下午 5:18 
Is this still compatible? And, also, I would suggest some screenshots to illustrate the difference in naming as against vanilla but that is strictly optional. :-)
Type-Style 2016 年 7 月 10 日 上午 11:49 
@wufire, thanks for the infos. Sad to here that this not as easy as it may sound. Any Idea how to keep the names more organized?
wufire  [作者] 2016 年 7 月 9 日 下午 1:56 
Hi, @Type-Style ! Something like that might be possible, though tricky for a couple reasons. I don't remember what District info is exposed to an individual building, so that could be a major hurdle if the name is not available at that level. Another concern is that there is a character limit on the display names (32 characters, IIRC?). Anything beyond that character limit will not display, so if the district names are long and the building names are long, we would end up with a lot of cut off titles
Type-Style 2016 年 7 月 7 日 下午 1:21 
@wufire, I really like this mod, I would like to add one little feature to it.
My wish is that the names could be prefixed by the district the house is in. Could you help me with that?
wufire  [作者] 2016 年 4 月 3 日 下午 10:38 
Hey Spooky , Thanks for letting us know! I'm glad you found a method that lets you change the names
ውሻ 2016 年 4 月 3 日 下午 4:05 
Hey wufire, last year, I asked you about the possibility of you creating a name generator mod for citizens. Well, I figured out a way to change citizen names using the locale file. Long story short, I used the Cities Skylines Localization Tool to export the locale file to .po format, opened the .po file in Notepad, searched for "NAME_MALE_FIRST," edited the msgstr lines, exported the .po file back to locale file, and replaced the original locale file with the new file.

Not sure if you already knew this but I wanted to share this with everyone.
wufire  [作者] 2016 年 3 月 8 日 下午 8:26 
:D Glad to help!
Michiko 2016 年 3 月 8 日 上午 3:37 
Hooray!!! :D
Whitefang Greytail 2016 年 3 月 8 日 上午 3:32 
@wufire - Thank you for that. It works!
wufire  [作者] 2016 年 3 月 8 日 上午 1:48 
@Whitefang Greytail
So... It turns out that wasn't too bad :D

Try out the update and let me know if I've broken everything!
wufire  [作者] 2016 年 3 月 7 日 下午 6:31 
Thanks for the info!
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
Whitefang Greytail 2016 年 3 月 7 日 上午 1:36 
@wufire - I have not heard of any Linux or Mac users complaining that other mods does not work for them, so I believe that the caveat should be removed, even if that comment will keep propagating.

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.
wufire  [作者] 2016 年 3 月 6 日 下午 11:53 
Ooo, this is the first I've heard of them!
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.
Whitefang Greytail 2016 年 3 月 6 日 下午 11:01 
Just wondering if any plan is in place to change this mod to detour methods instead of using the AdjustBuildingAI method? This will allow multiple mod to detour functions without writing over each other.
wufire  [作者] 2015 年 11 月 2 日 下午 8:42 
Enjoy!

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
ውሻ 2015 年 11 月 2 日 下午 7:27 
Thanks wufire. I was hoping to create name generator mod for citizens and I was wondering how you did it for buildings.
wufire  [作者] 2015 年 11 月 2 日 下午 4:57 
@Spooky, Yeah, I think I can do that! I haven't had a chance to work on it much, so someone else can fork and improve :D I'll post my github link here when I've uploaded it
ውሻ 2015 年 11 月 1 日 上午 6:02 
Do you think you can also post source code for this mod?
wufire  [作者] 2015 年 10 月 11 日 下午 2:01 
Thanks @killingtime2 ! I hadn't, but I'll try to start looking into that
killingtime2 2015 年 10 月 11 日 上午 2:53 
Love the mod! Just wondering have you ever thought of doing one for the district names or city names?
wufire  [作者] 2015 年 9 月 30 日 下午 8:32 
Glad to hear it! Rare Toy Umbrellas for everyone!