New Rail Types

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

maquinista
Tycoon
Tycoon
Posts: 1829
Joined: 10 Jul 2006 00:43
Location: Spain

Re: New Rail Types

Post by maquinista »

But... can I add only the overhead wires?
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2897
Joined: 16 May 2007 16:59

Re: New Rail Types

Post by Zephyris »

maquinista wrote:Maybe, I could try to create a vacuum tube maglev, replacing only the catenary graphics, without drawing ground sprites.
It is not the easiest thing to do (especially junctions) but I have made and coded almost all the sprites for this (all sprites except slopes and tunnel entrances), help yourself: http://www.tt-forums.net/viewtopic.php? ... 67#p613767
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: New Rail Types

Post by FooBar »

I think you can modify MONO for it to have overhead wires, but you cannot copy MONO to MON2 and then only change MON2. I believe.
vanOekelen
Engineer
Engineer
Posts: 28
Joined: 18 Jun 2007 19:06

Re: New Rail Types

Post by vanOekelen »

Is a rail type which supports normal, monorail and maglev trains possible?
That would be ideal as temporary rails for a full rail conversion between different rail types.
maquinista
Tycoon
Tycoon
Posts: 1829
Joined: 10 Jul 2006 00:43
Location: Spain

Re: New Rail Types

Post by maquinista »

I will try to make a covered version of the monorail, but It will replace the current monorail, :( because my idea was reuse the current sprites, adding only the tube sprites.
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2897
Joined: 16 May 2007 16:59

Re: New Rail Types

Post by Zephyris »

Use OpenGFX and GPL, then you can do whatever you want with the sprites...
User avatar
SwissFan91
Tycoon
Tycoon
Posts: 2400
Joined: 08 Feb 2009 18:36
Location: Alberta, Canada

Re: New Rail Types

Post by SwissFan91 »

What's the situation on Narrow Gauge with Catenary? Do new sprites need to be drawn, or?
Total Alpine Replacement Set: Industry, Town, Objects
maquinista
Tycoon
Tycoon
Posts: 1829
Joined: 10 Jul 2006 00:43
Location: Spain

Re: New Rail Types

Post by maquinista »

Zephyris wrote:Use OpenGFX and GPL, then you can do whatever you want with the sprites...
Yes, but I prefer a GRF very simple, with as few sprites as possible.
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
User avatar
DJ Nekkid
Tycoon
Tycoon
Posts: 2141
Joined: 30 Nov 2006 20:33

Re: New Rail Types

Post by DJ Nekkid »

jake.grimshaw wrote:What's the situation on Narrow Gauge with Catenary? Do new sprites need to be drawn, or?
The status that they are sitting nicely in my mailbox, but i've not done anything witht them yet :)
Member of the
ImageImage
User avatar
SwissFan91
Tycoon
Tycoon
Posts: 2400
Joined: 08 Feb 2009 18:36
Location: Alberta, Canada

Re: New Rail Types

Post by SwissFan91 »

Ah, ok :) Hopefully the release of my Swiss scenario may encourage you to act ? :P
Total Alpine Replacement Set: Industry, Town, Objects
User avatar
Leanden
Tycoon
Tycoon
Posts: 2613
Joined: 19 Mar 2009 19:25
Location: Kent

Re: New Rail Types

Post by Leanden »

Im very sketchy on the whole original graphics thing, could you not make the tracks using the original gfx, but then code it so it only works if you have the original files, otherwise use the OpenGFX?
Image
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2897
Joined: 16 May 2007 16:59

Re: New Rail Types

Post by Zephyris »

Leanden wrote:could you not make the tracks using the original gfx, but then code it so it only works if you have the original files, otherwise use the OpenGFX?
It is impossible for a grf to tell which set of base graphics a player is using. This is intentional; if a grf changed behaviour according to base graphics set it could cause desynchs in multiplayer.
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: New Rail Types

Post by FooBar »

vanOekelen wrote:Is a rail type which supports normal, monorail and maglev trains possible?
Yes.
User avatar
CommanderZ
Tycoon
Tycoon
Posts: 1872
Joined: 07 Apr 2008 18:29
Location: Czech Republic
Contact:

Re: New Rail Types

Post by CommanderZ »

FooBar wrote:
vanOekelen wrote:Is a rail type which supports normal, monorail and maglev trains possible?
Yes.
What about making a railtype, which supports all the trains, but has 0 speed? It could simplify upgrading rail -> maglev quite a lot.
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: New Rail Types

Post by Yexo »

CommanderZ wrote:
FooBar wrote:
vanOekelen wrote:Is a rail type which supports normal, monorail and maglev trains possible?
Yes.
What about making a railtype, which supports all the trains, but has 0 speed? It could simplify upgrading rail -> maglev quite a lot.
Minimun speed is 1, otherwise it's possible.
User avatar
Emperor Jake
Tycoon
Tycoon
Posts: 3440
Joined: 24 Apr 2007 09:37
Skype: Discord: Emperor Jake #4106
Location: Not Actually Japan
Contact:

Re: New Rail Types

Post by Emperor Jake »

Here's what I would do:
I would use the extra track types to represent digfferent voltages used in Europe, indicated by different-looking catenary. I would use the 3 main voltages used in Europe: 15 kV AC for Austria, Germany, Switzerland, Sweden and Norway; 25 kV AC for high-speed lines, North France, England, much of Eastern Europe; 3 kV DC for Italy, Poland, Spain and Russia. Some locomotives are multi-system and can travel on some or all voltages.

A question: How do you code new track types?
I would use Standard Gauge in 3 voltages, 1000 mm gauge for Swiss narrow gauge railways such as RhB, 750 mm for the Mariazeller Bahn and industrial railways, Russian gauge, Metro Track, Maglev for Transrapid, etc... The posibilities are endless :D

(edit) Another question: Is it possible to code one locomotive to work on either one track type or another, without crossing over?

Just my ideas
- Jake
User avatar
DJ Nekkid
Tycoon
Tycoon
Posts: 2141
Joined: 30 Nov 2006 20:33

Re: New Rail Types

Post by DJ Nekkid »

Emperor Jake wrote:The posibilities are endless
Im afraid not, as there are a max number of railtypes in a single game of 16 railtypes...
Member of the
ImageImage
User avatar
Emperor Jake
Tycoon
Tycoon
Posts: 3440
Joined: 24 Apr 2007 09:37
Skype: Discord: Emperor Jake #4106
Location: Not Actually Japan
Contact:

Re: New Rail Types

Post by Emperor Jake »

DJ Nekkid wrote:
Emperor Jake wrote:The posibilities are endless
Im afraid not, as there are a max number of railtypes in a single game of 16 railtypes...
16? That should be more than enough. :D

1. 1435 mm, unelectrified
2. 1435 mm, 15 kV AC
3. 1435 mm, 25 kV AC
4. 1435 mm, 3 kV DC
5. 1435 mm, 1.5 kV DC
6. 1520 mm, unelectrified
7. 1520 mm, 25 kV AC
8. 1520 mm, 3 kV DC
9. 1000 mm, unelectrified
10. 1000 mm, electrified
11. 750 mm, unelectrified
12. 750 mm, electrified
13. Metro (3rd rail)
14. Maglev (Transrapid)
15. A funicular or cable car maybe?

Another question: Any chance this will be implemented in road types as well?
How about:
Suspended Monorail
Tram
Dirt Road
Trolley Bus
Norrmal Road
High Speed Road
Other creative uses of road type have been suggested, eg invisible "subway"

- Jake
User avatar
Snail
Tycoon
Tycoon
Posts: 1287
Joined: 28 Apr 2003 18:52
Contact:

Re: New Rail Types

Post by Snail »

Emperor Jake wrote:
DJ Nekkid wrote:
Emperor Jake wrote:The posibilities are endless
Im afraid not, as there are a max number of railtypes in a single game of 16 railtypes...
16? That should be more than enough. :D

1. 1435 mm, unelectrified
2. 1435 mm, 15 kV AC
3. 1435 mm, 25 kV AC
4. 1435 mm, 3 kV DC
5. 1435 mm, 1.5 kV DC
6. 1520 mm, unelectrified
7. 1520 mm, 25 kV AC
8. 1520 mm, 3 kV DC
9. 1000 mm, unelectrified
10. 1000 mm, electrified
11. 750 mm, unelectrified
12. 750 mm, electrified
13. Metro (3rd rail)
14. Maglev (Transrapid)
15. A funicular or cable car maybe?
Sounds interesting... but this would include no differentiation among tracks of the same type based on speed/axle weight :roll:
The French Narrow Gauge Train Set is now released! Get it here
User avatar
DJ Nekkid
Tycoon
Tycoon
Posts: 2141
Joined: 30 Nov 2006 20:33

Re: New Rail Types

Post by DJ Nekkid »

Snail and jake:
As more or less explained in the NG pm there is a few things that isnt defines as is in the train action0
Axle load
kind.of-electrification
voltage-of-electrification
gauge

So, a trainset wont be compatible with a railset out of the box unless support is added specificaly. In time new and updated (version 2 or 3 or whatnot) sets. So, as saied in the PM. Axle load cant be calculated. The only thing that can is max speed and if the railtype give power or not to an engine.
Member of the
ImageImage
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 15 guests