Swedish town names

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
glottis
Engineer
Engineer
Posts: 5
Joined: 17 Mar 2004 13:49

Swedish town names

Post by glottis »

I happened to look at the code and thought I would do something with it. I made a small patch to allow Swedish town names to be generated in the game. The patch adds a new string "STR_6000_SWEDISH". This might not be the best name, but you can change it to what you like. Otherwise it follows the code for the other types of town names.

Patch is against svn revision 88.
Attachments
swedish_towns.diff.gz
Patch for adding swedish town names to the game.
(1.11 KiB) Downloaded 288 times
glottis
Engineer
Engineer
Posts: 5
Joined: 17 Mar 2004 13:49

Re: Swedish town names

Post by glottis »

Since no one seems interested in this patch, I made a second version, with
even more possible names. :)

PS. Should I send the patch to some better place, or is this a good place
to send it to?
Attachments
swedish_towns_v2.diff.gz
The second version of the swedish town name patch.
(1.43 KiB) Downloaded 308 times
User avatar
Arathorn
Tycoon
Tycoon
Posts: 6937
Joined: 30 Nov 2002 17:10

Post by Arathorn »

This is a good place. I'm not playing OTTD though.
User avatar
ludde
OpenTTD Developer
OpenTTD Developer
Posts: 35
Joined: 07 Mar 2004 09:28

Re: Swedish town names

Post by ludde »

glottis wrote:Since no one seems interested in this patch, I made a second version, with
even more possible names. :)

PS. Should I send the patch to some better place, or is this a good place
to send it to?
You should post it to the sourceforge feature tracker next time you want to add new features. Now I got your patch so you don't have to do that this time.
glottis
Engineer
Engineer
Posts: 5
Joined: 17 Mar 2004 13:49

Re: Swedish town names

Post by glottis »

ludde wrote:You should post it to the sourceforge feature tracker next time you want to add new features. Now I got your patch so you don't have to do that this time.
Thanks, now I know how to do it.
User avatar
ThorRune
Tycoon
Tycoon
Posts: 5762
Joined: 09 Oct 2003 14:00
Location: Nordland, Norway
Contact:

Post by ThorRune »

How did you make that?

I want to make norwegian town names.
Alcohol is not the answer, it just makes you forget the question.
glottis
Engineer
Engineer
Posts: 5
Joined: 17 Mar 2004 13:49

Post by glottis »

Look in namegen.c and mimic the other town name generations.
Wuntvor
Engineer
Engineer
Posts: 9
Joined: 19 Mar 2004 18:22

Post by Wuntvor »

Hey, those names are pretty cool.. :) They certainly sound a lot more random than, for example, the german names. I guess I'll play with Swedish names from now on.
User avatar
fanioz
Transport Coordinator
Transport Coordinator
Posts: 320
Joined: 19 Dec 2008 05:03
Location: Indonesia
Contact:

Re: Swedish town names

Post by fanioz »

Wow..these what I was looking for. I would like use this as starting point to add Indonesian town names.
Great! :bow:
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13235
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Re: Swedish town names

Post by Hyronymus »

fanioz wrote:Wow..these what I was looking for. I would like use this as starting point to add Indonesian town names.
Great! :bow:
Indeed, great to see you dig up a topic that's been closed for 4 years. On what page did you find it, surely not the first one.

In short: don't dig up topics that are old.
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: Ahrefs [Bot] and 3 guests