High sea level - tunnel under sea patch
Moderator: OpenTTD Developers
- belugas
- OpenTTD Developer
- Posts: 1507
- Joined: 05 Apr 2005 01:48
- Location: Deep down the deepest blue
- Contact:
Re: High sea level - tunnel under sea patch
Indeed.
First, let's get this long awaited release out of the way, then, let the fun begin!
First, let's get this long awaited release out of the way, then, let the fun begin!
If you are not ready to work a bit for your ideas, it means they don't count much for you.
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
Re: High sea level - tunnel under sea patch
I am having fun all the time...
(Playing OTTD that is - other activities don't fall into scope of this message)
(Playing OTTD that is - other activities don't fall into scope of this message)
Re: High sea level - tunnel under sea patch
Ofcourse a stupid question, but I can't figure out how to install these Patches... If anyone could tell me I would apriciate it.

Re: High sea level - tunnel under sea patch
http://wiki.openttd.org/index.php/FAQ_d ... ource_codeTGVfan wrote:Ofcourse a stupid question, but I can't figure out how to install these Patches... If anyone could tell me I would apriciate it.
Greets
Ammler
Town Names:


Still work in progress: OpenGFX or/and OpenSFX - Please help!
Re: High sea level - tunnel under sea patch
That link doesn't seem to mention Build OTTD. I found that the easiest way to apply a patch.ammler wrote:http://wiki.openttd.org/index.php/FAQ_d ... ource_codeTGVfan wrote:Ofcourse a stupid question, but I can't figure out how to install these Patches... If anyone could tell me I would apriciate it.
Greets
Ammler
-
- Transport Coordinator
- Posts: 340
- Joined: 06 Feb 2006 23:58
Re: High sea level - tunnel under sea patch
I just added the link to BuildOTTD for convenience.
- stunt_monkey
- Engineer
- Posts: 48
- Joined: 15 Feb 2008 09:16
- Location: Hoppers Crossing, Australia
- Contact:
Re: High sea level - tunnel under sea patch
This is brilliant i was writing something similar but i could not get it to work with trains and boats could not cross were the tunnel would be
LOL 9/10
LOL 9/10
Ive Been Playing Computer Games Since 1992, And I Love It
Re: High sea level - tunnel under sea patch
Guy's.
I am sorry but something is wrong on my PC. I canæt get this patch to install.
Is it possible that somone of you take a clean install of OpenTDX, patch it and post it here?
Please!!1
I am sorry but something is wrong on my PC. I canæt get this patch to install.
Is it possible that somone of you take a clean install of OpenTDX, patch it and post it here?
Please!!1

Re: High sea level - tunnel under sea patch
This patch is outdated, to use it, get the source of the revision that matches the latest patch, then compile it.
-
- Transport Coordinator
- Posts: 333
- Joined: 25 Aug 2005 09:44
- Location: Eindhoven, Netherlands
Re: High sea level - tunnel under sea patch
Since the patch was impossible to apply after 6000 code changes, among which some part of this very patch (river support) and a major rewrite of the flooding code, I'm re-creating this patch from scratch, with a little help from the original as a guideline, of course.
First Post has v0.1 of the new 'deepwater2009' patch. It raises the sea level to 1 'tileheight' for 64x64 maps only, no setting yet. The flooding should be good now, even for halftile tiles I hope. But dock, buoy, oilrig, depot support isn't there yet, they probably look bad still. And, existing 64x64 maps _will_ flood, leading to illegal situations here and there because it doesn't properly destroy now-illegal docks & the likes.
Please stay tuned, and bug reports for this version are more than welcome!
First Post has v0.1 of the new 'deepwater2009' patch. It raises the sea level to 1 'tileheight' for 64x64 maps only, no setting yet. The flooding should be good now, even for halftile tiles I hope. But dock, buoy, oilrig, depot support isn't there yet, they probably look bad still. And, existing 64x64 maps _will_ flood, leading to illegal situations here and there because it doesn't properly destroy now-illegal docks & the likes.
Please stay tuned, and bug reports for this version are more than welcome!
Re: High sea level - tunnel under sea patch
I have a question regarding the flooding, and water.
How have you handled the corners - eg tiles where only one point of the tile is raised? To my knowledge, there is no water graphic for those tiles. Do they still show up as normal land?
How have you handled the corners - eg tiles where only one point of the tile is raised? To my knowledge, there is no water graphic for those tiles. Do they still show up as normal land?
-
- Transport Coordinator
- Posts: 333
- Joined: 25 Aug 2005 09:44
- Location: Eindhoven, Netherlands
Re: High sea level - tunnel under sea patch
Yes there is, how is this any different than the 'current' situation? The only 'corner case'Gremnon wrote:I have a question regarding the flooding, and water.
How have you handled the corners - eg tiles where only one point of the tile is raised? To my knowledge, there is no water graphic for those tiles. Do they still show up as normal land?

Re: High sea level - tunnel under sea patch
Well, I assumed since unpatched trunk doesn't allow any water on those corner tiles, and I couldn't find any graphics for them, it was either changed to make it possible or left as is.
Maybe I just looked in the wrong place, or I should go try out this patch myself... it's one I've been watching for some time now.
Maybe I just looked in the wrong place, or I should go try out this patch myself... it's one I've been watching for some time now.
-
- Transport Coordinator
- Posts: 333
- Joined: 25 Aug 2005 09:44
- Location: Eindhoven, Netherlands
Re: High sea level - tunnel under sea patch
Maybe post a picture indicating what corner you mean... I think we misunderstand each other.Gremnon wrote:Well, I assumed since unpatched trunk doesn't allow any water on those corner tiles, and I couldn't find any graphics for them, it was either changed to make it possible or left as is.
Re: High sea level - tunnel under sea patch
Maybe not the best example image, but...
Those kinds of tiles. The ones where only one of the four points is at a different height to the other three.
Does that help explain at all?
Those kinds of tiles. The ones where only one of the four points is at a different height to the other three.
Does that help explain at all?
-
- Transport Coordinator
- Posts: 333
- Joined: 25 Aug 2005 09:44
- Location: Eindhoven, Netherlands
Re: High sea level - tunnel under sea patch
Not really. This is what happens in trunk when the water comes: note that the 'lower' level is level 0, sea level here.Gremnon wrote:Does that help explain at all?
In my patch, this can be a higher level, still the same as sea level though. So what's exactly not allowed?
You aren't talking about RIVERS on those tiles, right?
Re: High sea level - tunnel under sea patch
Ah, I think I must be, I assumed that with the water level raised by one, any land on level 0 would flood too, including ones of that shape.
-
- Transport Coordinator
- Posts: 333
- Joined: 25 Aug 2005 09:44
- Location: Eindhoven, Netherlands
Re: High sea level - tunnel under sea patch
It will. It will be totally underwater. Read this thread from the start: you should think of water as '1 pixel higher' than the land, that's why it floods so aggressively.Gremnon wrote:Ah, I think I must be, I assumed that with the water level raised by one, any land on level 0 would flood too, including ones of that shape.
Re: High sea level - tunnel under sea patch
This patch also seems like a patch by hackalittlebit.
-
- Transport Coordinator
- Posts: 333
- Joined: 25 Aug 2005 09:44
- Location: Eindhoven, Netherlands
Re: High sea level - tunnel under sea patch
Thanks for the URL! :S But if you refer to his chunnel patch, this is completely unlike it. It's a totally different (less hacky IMO) approach to allow a similar thing, yes. Although this has more potential, this allows for scenarios that have both patches of water that CANNOT be tunnelled under, and patches of water that CAN be tunneled under, for example.petert wrote:This patch also seems like a patch by hackalittlebit.
Who is online
Users browsing this forum: No registered users and 16 guests