Patch: Diagonal level crossings

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

gigajum
Route Supervisor
Route Supervisor
Posts: 511
Joined: 08 Mar 2006 08:33
Location: Germany

Post by gigajum »

Will the patch support such crossings, too?
Attachments
crossing.png
crossing.png (1.41 KiB) Viewed 6580 times
User avatar
Maedhros
OpenTTD Developer
OpenTTD Developer
Posts: 603
Joined: 30 Mar 2006 18:24
Location: Durham, UK

Post by Maedhros »

gigajum wrote:Will the patch support such crossings, too?
No. Apart from the fact that I wouldn't want it to - level crossings and points don't seem to be a good match - I don't think there's enough room in the current map array for it. :wink:
gigajum
Route Supervisor
Route Supervisor
Posts: 511
Joined: 08 Mar 2006 08:33
Location: Germany

Post by gigajum »

Maedhros wrote:I don't think there's enough room in the current map array for it. :wink:
Yeah, that's why i asked :)
User avatar
Brianetta
Tycoon
Tycoon
Posts: 2567
Joined: 15 Oct 2003 22:00
Location: Jarrow, UK
Contact:

Post by Brianetta »

How about running the track down the road? (-:
PGP fingerprint: E66A 9D58 AA10 E967 41A6 474E E41D 10AE 082C F3ED
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7597
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

Lets leave it at diagonal level crossings for now. :P
Image
User avatar
Brianetta
Tycoon
Tycoon
Posts: 2567
Joined: 15 Oct 2003 22:00
Location: Jarrow, UK
Contact:

Post by Brianetta »

Boo. I want to race a steam locomotive against a fully loaded bus.
PGP fingerprint: E66A 9D58 AA10 E967 41A6 474E E41D 10AE 082C F3ED
User avatar
Villem
Tycoon
Tycoon
Posts: 3310
Joined: 28 Aug 2003 09:38

Post by Villem »

Brianetta wrote:How about running the track down the road? (-:
Should only be for company owned roads, imagine the mayhem one player could create for 1 road vehicle company by just running a train down the road..
User avatar
m3henry
Tycoon
Tycoon
Posts: 1985
Joined: 15 Feb 2006 12:00
Location: Hampshire

Post by m3henry »

...booooooooooooom :roll: trains will bulldose everything in its path and having lights at the end of every road+track block will mean very little or no rv passing :(
The occasional look back at your past can teach you a great many things...
richk67
Tycoon
Tycoon
Posts: 2363
Joined: 05 Jun 2003 16:21
Location: Up North
Contact:

Post by richk67 »

Akalamanaia wrote:
Brianetta wrote:How about running the track down the road? (-:
Should only be for company owned roads, imagine the mayhem one player could create for 1 road vehicle company by just running a train down the road..
LOL - it wouldnt half give incentive to improve road technology to be quicker though :)
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
User avatar
Maedhros
OpenTTD Developer
OpenTTD Developer
Posts: 603
Joined: 30 Mar 2006 18:24
Location: Durham, UK

Post by Maedhros »

I'm getting there. :D

This should now work with any road-set (as long as the width isn't drastically different), on snow, and with paved roads. It even works in toyland (shudder :P ). The graphics could probably do with a bit of a cleanup, but I think I'm going to go blind if I stare at them any more, so I'll upload them here and attempt to palm it off on someone else, while I attempt to get the alarm lights working. :mrgreen:

I'll update the patch in the original post, and attach the grf there, which will be required with this patch. Here's a screenshot too - pretty pictures are always good :D :
Attachments
ncrossingsw.zip
The pcx and nfo files for the ncrossingsw.grf
(5.84 KiB) Downloaded 340 times
Railways, yay!
Railways, yay!
Chedborough Bay Transport, 26th Jul 2040.png (39.26 KiB) Viewed 7334 times
User avatar
Maedhros
OpenTTD Developer
OpenTTD Developer
Posts: 603
Joined: 30 Mar 2006 18:24
Location: Durham, UK

Post by Maedhros »

It's done, warning lights and everything. That's the first third of the mantra, anyway ("Make it work, make it good, then make it fast"). :)

As well as making the light work, I've got both halves of a crossing deactivating at the same time as well as activating, and the check is now more robust, so it won't activate part of a seperate crossing anymore.
Attachments
Lights, camera, action!
Lights, camera, action!
Greabourne Transport, 27th Jun 1984.png (75.64 KiB) Viewed 7190 times
richk67
Tycoon
Tycoon
Posts: 2363
Joined: 05 Jun 2003 16:21
Location: Up North
Contact:

Post by richk67 »

Let me know when you feel you have a release ready, and I will add this to the MiniIN. Looks great!
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Nappe1
Traffic Manager
Traffic Manager
Posts: 175
Joined: 19 Jan 2004 17:25
Location: kotka or Savitaipale, Finland
Contact:

Post by Nappe1 »

This is Great patch with a big "G" :)
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7597
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

Any chance of a .diff soon? :wink:
Image
User avatar
Maedhros
OpenTTD Developer
OpenTTD Developer
Posts: 603
Joined: 30 Mar 2006 18:24
Location: Durham, UK

Post by Maedhros »

richk67 wrote:Let me know when you feel you have a release ready, and I will add this to the MiniIN. Looks great!
Thanks. I think it's ready, but I'm just playing a game through now to make sure I haven't missed anything. :)
Born Acorn wrote:Any chance of a .diff soon? :wink:
It's all in the first post - I've been updating it as I go. In fact, I noticed a strange bug with catenary wiring and foundations, so I've just updated it again. :wink:
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7597
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

There it was too. It works fine, no bugs so far! The overlays means to works good with the roadset I have in development too!
Attachments
diagonalexmaple.png
diagonalexmaple.png (39.09 KiB) Viewed 6236 times
Image
Mateo
Engineer
Engineer
Posts: 11
Joined: 04 Aug 2006 23:21
Location: Espoo, Finland

Post by Mateo »

Brianetta wrote:Boo. I want to race a steam locomotive against a fully loaded bus.
Like in this picture: http://www.seisake.net/kuva.php?osasto= ... aide_2.jpg ? :lol:
maquinista
Tycoon
Tycoon
Posts: 1829
Joined: 10 Jul 2006 00:43
Location: Spain

Train VS car

Post by maquinista »

The captures looks very good!
Mateo wrote:
Brianetta wrote:Boo. I want to race a steam locomotive against a fully loaded bus.
Like in this picture: http://www.seisake.net/kuva.php?osasto= ... aide_2.jpg ? :lol:
Good picture :lol: :lol:

The train and the car are stoped. If they was moving, the picture will have lines in the ligths beacuse it's a photograph taken at night.
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
User avatar
Brianetta
Tycoon
Tycoon
Posts: 2567
Joined: 15 Oct 2003 22:00
Location: Jarrow, UK
Contact:

Post by Brianetta »

Mateo wrote:
Brianetta wrote:Boo. I want to race a steam locomotive against a fully loaded bus.
Like in this picture: http://www.seisake.net/kuva.php?osasto= ... aide_2.jpg ? :lol:
Yes! Oh yes!

That's exactly what I want to be able to do. Preferably over a bridge or through a tunnel. (:
PGP fingerprint: E66A 9D58 AA10 E967 41A6 474E E41D 10AE 082C F3ED
richk67
Tycoon
Tycoon
Posts: 2363
Joined: 05 Jun 2003 16:21
Location: Up North
Contact:

Post by richk67 »

Fantastic patch - here it is in the MiniIN.

Very slight graphics glitch. You cannot connect a road to the "free" side of a partial rail tile.

It doesnt look quite right, but that may be solved by putting some fencing along that side.
Attachments
Pile Transport, 27th Aug 2090.png
Pile Transport, 27th Aug 2090.png (63.97 KiB) Viewed 6118 times
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Bing [Bot] and 11 guests