Tracks & Trains

P1SIM is a commercial game under development featuring traffic, logistics, city building and more.
User avatar
smallfly
Chairman
Chairman
Posts: 862
Joined: 19 Oct 2009 13:29
Location: Germany

Tracks & Trains

Post by smallfly » 16 May 2012 20:45

I would like to use this thread to discuss all railroad related topics. How to build up rail networks, how to do the signaling, set up timetables, pathfinding, shunting and so on.

At the moment there are following track modules available (also see following post showing the available switches). Do you miss any?

//edit: note to myself: add tunnels and bridges
tileset_trackcurves_v2_preview.png
tileset_trackcurves_v2_preview.png (45.19 KiB) Viewed 10721 times
Attachments
tileset_trackcurves_v2.png
(469.7 KiB) Downloaded 3 times
Last edited by smallfly on 16 May 2012 20:47, edited 1 time in total.
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!

User avatar
smallfly
Chairman
Chairman
Posts: 862
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Tracks & Trains

Post by smallfly » 16 May 2012 20:47

tileset_trackswitches_v2_preview.png
tileset_trackswitches_v2_preview.png (55.18 KiB) Viewed 10719 times
Attachments
tileset_trackswitches_v2.png
(682.61 KiB) Downloaded 3 times
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!

LocoMH
Chairman
Chairman
Posts: 845
Joined: 26 Nov 2005 16:21
Location: Dresden (formerly Ruhr Area)
Contact:

Re: Tracks & Trains

Post by LocoMH » 16 May 2012 21:01

I know you're actually thinking about that, but...larger radii. 10 tiles for tracks at least, as a maximum. And will it be possible, to have curves starting with the largest radius going down to a smaller radius?

User avatar
Hazzard
Engineer
Engineer
Posts: 49
Joined: 14 Apr 2012 13:24

Re: Tracks & Trains

Post by Hazzard » 16 May 2012 22:49

Is there going to be diagonal track? Looks good so far

User avatar
smallfly
Chairman
Chairman
Posts: 862
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Tracks & Trains

Post by smallfly » 17 May 2012 00:55

LocoMH wrote:I know you're actually thinking about that, but...larger radii. 10 tiles for tracks at least, as a maximum. And will it be possible, to have curves starting with the largest radius going down to a smaller radius?
Larger radii will be added later. But if I add 10 tiles radii I have to add 8 and 9 tile radii as well, since the user would expect to easily add more lanes to the curve, which only works if every possible radius is available (up to a certain minimum and maximum range).
Hazzard wrote:Is there going to be diagonal track?
At the moment I don't plan to implement diagonal tracks. At first I just didn't like the diagonal look. But now I just don't find a way to create the modules. I will try to find a solution but I think there is none (solution = one or multiple diagonal track modules must fit between 45 degrees curves of any radius).
diagonal2.png
diagonal2.png (60.3 KiB) Viewed 10696 times
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!

User avatar
Zephyris
Tycoon
Tycoon
Posts: 2826
Joined: 16 May 2007 16:59

Re: Tracks & Trains

Post by Zephyris » 17 May 2012 08:33

I have done some thinking about diagonal track sections for freerct; the corner from orthogonal to diagonal can't be a simple arc of a circle if it is going to line up with the grid lines. I did some calculations on this at some point, and I was planning to dig them up, would you be interested in them?

User avatar
smallfly
Chairman
Chairman
Posts: 862
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Tracks & Trains

Post by smallfly » 17 May 2012 09:38

Zephyris wrote:the corner from orthogonal to diagonal can't be a simple arc of a circle if it is going to line up with the grid lines.
which makes the game loosing its (planned) intuitive handling. intuitive would be to have half of a normal curve (=45 degrees curve), adding some diagonal elements and putting the other half of the curve to the end. i think that is not possible.

if i would do some "calculation" i would surely find a way to implement diagonal tracks but the 45 degree curves wouldnt fit to 90 degree curves then :(
Zephyris wrote: I did some calculations on this at some point, and I was planning to dig them up, would you be interested in them?
yeah, of course. im always interested in further thoughts on this topic.
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!

User avatar
Zephyris
Tycoon
Tycoon
Posts: 2826
Joined: 16 May 2007 16:59

Re: Tracks & Trains

Post by Zephyris » 17 May 2012 10:35

smallfly wrote:
Zephyris wrote: I did some calculations on this at some point, and I was planning to dig them up, would you be interested in them?
yeah, of course. im always interested in further thoughts on this topic.
Cool, I will have a look for it when I am back from work.

It may be worth looking at the corner handling in RCT/Locomotion; the method of nesting corners of different radii is quite elegant. There is a radius 1 90 degree corner, radius 2 90 degree corner, radius 3 90 degree corner, then a radius [almost] 4 45 degree corner (and two of these make a radius 4 90 degree corner). To make a radius 5 corner you can use two radius [almost] 4 45 degree corners and one diagonal track piece. To make a radius 6 corner you can use two radius [almost] 4 45 degree corners and two diagonal track piece. etc.

User avatar
smallfly
Chairman
Chairman
Posts: 862
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Tracks & Trains

Post by smallfly » 17 May 2012 11:08

Zephyris wrote:It may be worth looking at the corner handling in RCT/Locomotion; the method of nesting corners of different radii is quite elegant.
I installed locomotion to test it. I think it looks quite ugly since the gaps between the tracks are different.
comparison_locomotion_preview.png
comparison_locomotion_preview.png (64.01 KiB) Viewed 10658 times
Attachments
comparison_locomotion.png
(86.02 KiB) Downloaded 3 times
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!

User avatar
Zephyris
Tycoon
Tycoon
Posts: 2826
Joined: 16 May 2007 16:59

Re: Tracks & Trains

Post by Zephyris » 17 May 2012 11:32

Ugly but flexible... It is your call of course though!

User avatar
smallfly
Chairman
Chairman
Posts: 862
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Tracks & Trains

Post by smallfly » 17 May 2012 11:34

Zephyris wrote:Ugly but flexible... It is your call of course though!
I will try to find a more beautiful way to solve it (if there is one...)
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!

User avatar
robo
Route Supervisor
Route Supervisor
Posts: 394
Joined: 14 Jan 2007 12:14

Re: Tracks & Trains

Post by robo » 29 May 2012 08:59

There are probably ways to solve it for topdown, but not for isometric view. Locomotion curvs and diagonal tracks were satiesfying for me,(it's even possible to build diagonal stations), but it could be better. Take a look at the demo wwww.trainplayer.com. I did a quick search on the web and found this: http://theory.stanford.edu/~amitp/game- ... roads.html
Maybe useful, although there are no vehicles on the roads.

User avatar
smallfly
Chairman
Chairman
Posts: 862
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Tracks & Trains

Post by smallfly » 02 Jun 2012 12:59

robo wrote:There are probably ways to solve it for topdown, but not for isometric view. Locomotion curvs and diagonal tracks were satiesfying for me,(it's even possible to build diagonal stations), but it could be better. Take a look at the demo wwww.trainplayer.com. I did a quick search on the web and found this: http://theory.stanford.edu/~amitp/game- ... roads.html
Maybe useful, although there are no vehicles on the roads.
As soon as the top-down version of P1SIM is finished I will start developing the isometric version and want to take over as much features as possible. Thus I will only implement stuff that also works after switching to iso view.
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!

User avatar
robo
Route Supervisor
Route Supervisor
Posts: 394
Joined: 14 Jan 2007 12:14

Re: Tracks & Trains

Post by robo » 23 Jul 2012 09:43

I have no idea how difficult this would be, but what about using a different, simcity-like perspective instead of the dimetric projection, because it looks better for diagonal tracks?
Attachments
simcity social.jpg
simcity social.jpg (182.02 KiB) Viewed 9905 times

User avatar
smallfly
Chairman
Chairman
Posts: 862
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Tracks & Trains

Post by smallfly » 23 Jul 2012 09:46

robo wrote:I have no idea how difficult this would be, but what about using a different, simcity-like perspective instead of the dimetric projection, because it looks better for diagonal tracks?
your picture only shows streets and tracks parallel to the grid. can you please post a picture that shows 45 degree tracks/roads?
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!

User avatar
robo
Route Supervisor
Route Supervisor
Posts: 394
Joined: 14 Jan 2007 12:14

Re: Tracks & Trains

Post by robo » 23 Jul 2012 11:30

It's a browsergame (simcity social). As you can imagine browsercode isn't really efficient and the game is more about creative citybuilding than traffic. The perspective is the same as for simcity4.
http://community.simtropolis.com/topic/ ... railroads/

ClaudeS
Engineer
Engineer
Posts: 9
Joined: 30 Oct 2009 22:46

Re: Tracks & Trains

Post by ClaudeS » 04 Oct 2012 01:35

Will have third rail and catenary electrified tracks? How will it be? Different paths? Paths with compatibility among themselves? Will have graphics for represent the electrification or by your "clean visual" philosophy you don't want to put it into the game?

User avatar
smallfly
Chairman
Chairman
Posts: 862
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Tracks & Trains

Post by smallfly » 07 Oct 2012 11:44

ClaudeS wrote:Will have third rail and catenary electrified tracks? How will it be? Different paths? Paths with compatibility among themselves? Will have graphics for represent the electrification or by your "clean visual" philosophy you don't want to put it into the game?
There will probably be three track types. As you already mentioned: Third rail, catenary, and standard rail. The track gauge will be the same. Thus diesel rail vehicles can use all three types.

For the (non final) look of catenary tracks see here.
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!

Nerok
Engineer
Engineer
Posts: 4
Joined: 22 Aug 2009 06:43

Re: Tracks & Trains

Post by Nerok » 14 Oct 2012 18:49

Have you thought about the possibility of laying multiple tracks at once? Double or maybe triple tracks? I know it sound kinda lazy with multiple tracks at once, but I have often had people building track right where I wanted them because of single track laying.

User avatar
smallfly
Chairman
Chairman
Posts: 862
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Tracks & Trains

Post by smallfly » 14 Oct 2012 20:42

Nerok wrote:Have you thought about the possibility of laying multiple tracks at once? Double or maybe triple tracks? I know it sound kinda lazy with multiple tracks at once, but I have often had people building track right where I wanted them because of single track laying.
there will be plenty of comfort building options like that. so the answer is yes.
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!

Post Reply

Return to “P1SIM”

Who is online

Users browsing this forum: No registered users and 1 guest