Underground/Metro

1 bericht • Pagina 1 van 1

Underground/Metro

BerichtDoor RobertStandley » 11 Jul 2018, 15:30

Hi,

I have figured out a way to simulate metro/underground trains without having to rewrite the whole game, but of course it's not very simple at all (or someone else would have done it by now). Ok, so metro systems. The problem that we have is as follows; we cannot have a new Z-level on which to lay track and such. There is however an unused Z-level; the sky.After playing a game where I used helicopters to supplement buses in the inner city, I realised that with some creative coding it should be possible to create a system where when a train enters a 'Metro tunnel' it gets 'deleted', and simultaneously we procedurally generate a 'helicopter' procedurally which contains all of the information of the 'deleted' train at the metro tunnel ( a quick hack of a train depot and a heliport should provide this) which can the fly 'underground' (animate the sprite several pixels below its real location) to a metro station (modified heliport) or out of a 'Metro tunnel' where we delete the 'helicopter' and re-generate the train from earlier. I'm not sure if things such as points or signals could be simulated 'underground' easily (perhaps each metro tunnel stores an array of what there is in that particular tunnel) but I think this might be a good starting point for approaching metro systems. I have experience coding, but I have never done anything with openttd, so I have no idea where to start such a project.
RobertStandley
 
Berichten: 1
Geregistreerd: 11 Jul 2018, 10:18

1 bericht • Pagina 1 van 1

Terugkeren naar Tram en Metro

Lid worden

lidwordenvanbttb-met-tek

Inschrijven nieuwsbrief


Komende Activiteiten

EHBO-OV

helpDe trein, tram of bus nemen is niet altijd makkelijk! Waar vind je de dienstregelingen? Hoeveel kost een ticket? Hoe weet je dat je op de juiste trein, tram of bus zit? ... Surf naar www.ehbo-ov.be voor een duidelijk antwoord!

Laatste reacties

Met de steun van


thumb_logo_nl_groen

  ndm-lid-van

© TreinTramBus 2018 | Kortrijksesteenweg 304, 9000 Gent | T +32 (0)9 223 86 12