Page 1 of 9

Custom Bridgeheads

Posted: 12 Aug 2005 20:54
by peter1138
Something else I knocked up today...

Image

Image

Posted: 12 Aug 2005 20:56
by StavrosG
yay! that was near the top in my wish list for ages! :D

Posted: 12 Aug 2005 22:29
by Arsenal
Beautiful, just beautiful!

Must be close for beta testing, perhaps? :roll:

Posted: 12 Aug 2005 22:44
by peter1138
There is a patch! This is two patches combined.

http://fuzzle.org/ottd/custombridgeheads2.diff

I've just fixed a little bug in it, but there may be more :S
Oh, and this patch is just for rail/monorail/maglev. For road bridges, wait a little while :)

Posted: 12 Aug 2005 22:57
by Dextro
YOU RULE PETER!!!!! :bow:

This will make my junctions a LOT smaller :D

Posted: 13 Aug 2005 00:10
by Arsenal
Graphical glitch:

Posted: 13 Aug 2005 08:47
by peter1138

Posted: 13 Aug 2005 09:15
by Aegir
Wooteh.

Nice Peter, nice. You seem to be making a habit of slowly whittling down my list of reasons to play TTDP instead of OTTD...

Posted: 13 Aug 2005 09:33
by jacke
Great work! :D

Posted: 13 Aug 2005 10:22
by peter1138
This version fixes a bug in the pbs code that caused an assertion failure. Oops.

http://fuzzle.org/ottd/custombridgeheads4.diff

Posted: 13 Aug 2005 18:48
by peter1138
In case you didn't like those, here is another update:

http://fuzzle.org/ottd/custombridgeheads6.diff

This version supports custom bridge heads for road as as well as rail.

Note, if you've saved a game with with an older patch version, you'll need to fiddle with the bits on your custom bridge heads as they've been moved around to simplify the code.

Posted: 13 Aug 2005 20:45
by peter1138
I know, bad form 'n all... Slight bug fix, the last version didn't take account of vehicle position properly...

http://fuzzle.org/ottd/custombridgeheads7.diff

Posted: 13 Aug 2005 23:17
by mkxx
peter1138: Very good patch! If you didn't done it - add this patch intosourceforge patches. This looks very good and I hope it WILL be included in the trunk ottd code :) This should not be forgotten.

Posted: 14 Aug 2005 19:46
by Nappe1
peter1138 wrote: This version supports custom bridge heads for road as as well as rail.
This plus LucasSpiller's one way roads and VOILÀ, we have full capability making realistic highways! :shock:


This is just awesome!

Can't wait to get both these to included in nightlies. :)

Posted: 14 Aug 2005 21:32
by Korenn
Nappe1 wrote:
peter1138 wrote: This version supports custom bridge heads for road as as well as rail.
This plus LucasSpiller's one way roads and VOILÀ, we have full capability making realistic highways! :shock:


This is just awesome!

Can't wait to get both these to included in nightlies. :)
realistic highways with 90 degree corners, that is :D

Posted: 14 Aug 2005 22:34
by Nappe1
Korenn wrote:
Nappe1 wrote:
peter1138 wrote: This version supports custom bridge heads for road as as well as rail.
This plus LucasSpiller's one way roads and VOILÀ, we have full capability making realistic highways! :shock:


This is just awesome!

Can't wait to get both these to included in nightlies. :)
realistic highways with 90 degree corners, that is :D
you don't have 90 degree corners in your highways? :shock:




j/k :lol:
good point, but I do know the restrictions right now why we don't have smoother curves. :) but these patches definetely will help with designing better road networks. (I already have few savegames to test them out. ;) )

Posted: 15 Aug 2005 06:25
by peter1138
Yet another version!

http://fuzzle.org/ottd/custombridgeheads9.diff

This version fixes this bug:

Image

Also, it changes its bits around again, but there is good reason for it, involving signals... you want signals right?

Posted: 15 Aug 2005 07:13
by toholio
peter1138 wrote: you want signals right?
Oh, let me think for a minute.... YES!!!

:wink:

Posted: 15 Aug 2005 09:53
by peter1138
More work... Now it supports ground type on road bridges, so the bridgeheads don't look out of place in towns :D Rail fences next...

Image

Posted: 15 Aug 2005 09:56
by lucaspiller
And one way road signs. :P