Patch: Found a town
Moderator: OpenTTD Developers
Patch: Found a town
This patch allows you you to found a town.
This patch is now complete. If there are any issues, tell me. If you want features, ask
The fund a town option is available in the 'town directory' menu
The price is about $14.5 million dollars at the start of the game
Checked against nightly 10587.
This patch will bump your savegame. (v72)
Version History:
v13 - brought to r10587
v12 - brought to r10198
v11 - brought to 9961
v10 - brought to 9899
v9.1 - rooted from / not src/ (will now work in BuildOTTD)
v9 - brought to latest revision
v8 - Changed price, brought to latest revision
v7 - Updated to latest revision
v6 - Changed the way prices are handled
v5 - Code cleanup
v4 - Fixed inflation bug, added config option
v3 - Networking should work now. Changed menu option to be 'Found a town'
v2 - FundTown now has a price that inflates, etc.
v1 - Original
Known Issues:
None
This patch is now complete. If there are any issues, tell me. If you want features, ask
The fund a town option is available in the 'town directory' menu
The price is about $14.5 million dollars at the start of the game
Checked against nightly 10587.
This patch will bump your savegame. (v72)
Version History:
v13 - brought to r10587
v12 - brought to r10198
v11 - brought to 9961
v10 - brought to 9899
v9.1 - rooted from / not src/ (will now work in BuildOTTD)
v9 - brought to latest revision
v8 - Changed price, brought to latest revision
v7 - Updated to latest revision
v6 - Changed the way prices are handled
v5 - Code cleanup
v4 - Fixed inflation bug, added config option
v3 - Networking should work now. Changed menu option to be 'Found a town'
v2 - FundTown now has a price that inflates, etc.
v1 - Original
Known Issues:
None
- Attachments
-
- Screenshot of the patch in action
- Screenshot.png (191.89 KiB) Viewed 31152 times
-
- create_town.13.patch
- Version 13 of FoundTown (r10587)
- (12.02 KiB) Downloaded 2721 times
Last edited by TheJosh on 16 Jul 2007 12:31, edited 19 times in total.
- Digitalfox
- Chief Executive
- Posts: 710
- Joined: 28 Oct 2004 04:42
- Location: Catch the Fox if you can...
- Born Acorn
- Tycoon
- Posts: 7596
- Joined: 10 Dec 2002 20:36
- Skype: bornacorn
- Location: Wrexham, Wales
- Contact:
-
- Traffic Manager
- Posts: 191
- Joined: 24 Mar 2007 18:18
-
- Traffic Manager
- Posts: 191
- Joined: 24 Mar 2007 18:18
sorry i dont mean to be rude, but how do install that patch? i google searched, i searched in the openntd readme, i even looked in the forum, but i still dont get it.
this line:
what do i have to do with it?
this line:
Code: Select all
patch -p0 -i new_patch.diff
You type at a console (command prompt).
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Install Instructions:
Linux/Unix:
- Use SVN to get the latest source from svn://svn.openttd.com/trunk i think
- Go into the directory svn just created (cd trunk)
- I usually compile first to see its all alright (make)
- Look at the patch you are going to apply. If the first line contains src/ then your patch is src rooted. In that case, you need to be in the src directory (cd src)
- Apply the patch (patch -p0 -i <filename>)
- If it fails, use svn revert to clean up the mess and inform the developers
- if you are in the src directory, get out of it (cd ..)
- build again (make)
- test (bin/openttd)
- play for hours/days
Windows:
I do not use windows so I cant help much here, although you will need:
- a windows compiler (gcc? try this link http://sourceforge.net/projects/gcw/)
- windows make (Try this one http://www.steve.org.uk/Software/make/)
- windows svn (http://subversion.tigris.org/project_packages.html near the bottom)
- windows patch (http://gnuwin32.sourceforge.net/packages/patch.htm)
I dont know of the availability of these things, Sorry. The other alternative is to just install linux. You could put, say 10gig aside, buy another hard drive, or just go all out and wipe the whole thing. I recommend Ubuntu for beginners, I hear it is very easy to use.
Linux/Unix:
- Use SVN to get the latest source from svn://svn.openttd.com/trunk i think
- Go into the directory svn just created (cd trunk)
- I usually compile first to see its all alright (make)
- Look at the patch you are going to apply. If the first line contains src/ then your patch is src rooted. In that case, you need to be in the src directory (cd src)
- Apply the patch (patch -p0 -i <filename>)
- If it fails, use svn revert to clean up the mess and inform the developers
- if you are in the src directory, get out of it (cd ..)
- build again (make)
- test (bin/openttd)
- play for hours/days
Windows:
I do not use windows so I cant help much here, although you will need:
- a windows compiler (gcc? try this link http://sourceforge.net/projects/gcw/)
- windows make (Try this one http://www.steve.org.uk/Software/make/)
- windows svn (http://subversion.tigris.org/project_packages.html near the bottom)
- windows patch (http://gnuwin32.sourceforge.net/packages/patch.htm)
I dont know of the availability of these things, Sorry. The other alternative is to just install linux. You could put, say 10gig aside, buy another hard drive, or just go all out and wipe the whole thing. I recommend Ubuntu for beginners, I hear it is very easy to use.
- athanasios
- Tycoon
- Posts: 3138
- Joined: 23 Jun 2005 00:09
- Contact:
Cool patch, but a small objection: OTTD already creates so many towns, so why the need for funding more? OK. In such a setting it might be useless but when playing with non random scenarios with a few towns it will be great. Thanks man, I always needed that, hope it goes into the trunk.
Request: Since you are good on patching, could you create a patch for adding companies in scenario editor when creating a new scenario, a capability that is missing in OTTD but existed somehow in TTD?
Request: Since you are good on patching, could you create a patch for adding companies in scenario editor when creating a new scenario, a capability that is missing in OTTD but existed somehow in TTD?
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
- RainierWatcher
- Traffic Manager
- Posts: 244
- Joined: 14 Jan 2007 15:10
- Location: West Norfolk, England
if you mean like the scotland 1956 and Megarail scenarios, then I think they were savegames modified to come up as scenarios. I'm not sure though.athanasios wrote:Request: Since you are good on patching, could you create a patch for adding companies in scenario editor when creating a new scenario, a capability that is missing in OTTD but existed somehow in TTD?
- athanasios
- Tycoon
- Posts: 3138
- Joined: 23 Jun 2005 00:09
- Contact:
Really? I tried a long time ago and I got the land without the companies.
Did you get into the trouble to read the following sentences of my post, or did you just started typing?peter1138 wrote:Well there's nothing forcing you to use it...athanasios wrote:Cool patch, but a small objection:
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
Can everyone please note that this patch is still in development.
And don't whatever you do use it it multiplayer. It kills your game (that will be fixed)
I would like to make a special binary, but I could only make a Linux one because I use Linux, not windows. (i might be able to cross-compile a windows one, so ill check it out)
I will probably release another version soon, once I work out how networking works, and cleanup my save game code.
God Bless,
Josh
And don't whatever you do use it it multiplayer. It kills your game (that will be fixed)
I would like to make a special binary, but I could only make a Linux one because I use Linux, not windows. (i might be able to cross-compile a windows one, so ill check it out)
I will probably release another version soon, once I work out how networking works, and cleanup my save game code.
God Bless,
Josh
Who is online
Users browsing this forum: Google [Bot] and 12 guests