Question about Action-0 Prop-15 for Stations (Can train enter tile)
Moderator: Graphics Moderators
Question about Action-0 Prop-15 for Stations (Can train enter tile)
Hi all!
I have a question regarding a station I want to develop.
I am planning on making it 3 tracks wide, 4 platforms long. However, I would like that only the first track is passable by trains, so something like this: Can this be done with Prop-15? So only making some tiles passable? I only have experience with the whole station either being passable or not, so some help if my question is possible is very welcome!
I have a question regarding a station I want to develop.
I am planning on making it 3 tracks wide, 4 platforms long. However, I would like that only the first track is passable by trains, so something like this: Can this be done with Prop-15? So only making some tiles passable? I only have experience with the whole station either being passable or not, so some help if my question is possible is very welcome!
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Re: Question about Action-0 Prop-15 for Stations (Can train enter tile)
Yes, kind of.
Essentially every station type you add can assign a "tile type" to each tile.
You can use up to 4 different tile types per station type. (The spec usually is talking about 8 tile types, but since they are fixed to specific station orientations, essentially you have 4 per orientation.)
For each of these 4 tile types you can define, whether they
Then you use property 0E or callback 24 to define which tile has which type.
The specs talks here about things like "plain platform", "platform with building"... just ignore that. This information is completely pointless for a station with custom graphics, and only confuses.
In your example you could for example define
If you only want to offer a single (or very few) station length/size options, you can also use property 0E instead of callback 24.
Essentially every station type you add can assign a "tile type" to each tile.
You can use up to 4 different tile types per station type. (The spec usually is talking about 8 tile types, but since they are fixed to specific station orientations, essentially you have 4 per orientation.)
For each of these 4 tile types you can define, whether they
- can be entered by a train
- should draw catenary wires when electrified
- should draw catenary pylons when electrified
Then you use property 0E or callback 24 to define which tile has which type.
The specs talks here about things like "plain platform", "platform with building"... just ignore that. This information is completely pointless for a station with custom graphics, and only confuses.
In your example you could for example define
- Tile types 0 and 1: Train can enter, draw pylons, draw wires.
- Tile types 2 and 3: Train cannot enter, do not draw pylons, do not draw wires.
- Tile types 4 and 5: unused
- Tile types 6 and 7: unused
If you only want to offer a single (or very few) station length/size options, you can also use property 0E instead of callback 24.
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
Re: Question about Action-0 Prop-15 for Stations (Can train enter tile)
Thnx for your reply Frosch!
I have experimented a bit (with only adding prop-0E) and this Action-0
gives this result (dont mind the graphics):
Note that prop-15 is set to 03, when set to 02, only the one on the right has a non-passable tile.
Does this look ok to you? And if so, what is the added value of using callback 24?
I have experimented a bit (with only adding prop-0E) and this Action-0
Code: Select all
3286 * 201 00 04 09 01 AB 08 "DSA3" 0B 02 0C FD 0D FE 0E 01 02 02 00 00 00 11 FF 14 00 15 03 09 06
F4 03 00 00 00 00 00 10 05 20 2D 04 00 00 00 0B 00 10 05 20 2E 04 00 00 00 00 80 00 00 00 2F 44 22 03 80
F3 03 00 00 00 00 00 05 10 20 30 04 00 00 0B 00 00 05 10 20 31 04 00 00 00 00 80 00 00 00 32 44 22 03 80
02 00 00 00 00 00 00 10 10 10 39 04 00 00 80
02 00 00 00 00 00 00 10 10 10 3A 04 00 00 80
F4 03 00 00 00 00 00 10 05 20 33 04 00 00 00 0B 00 10 05 20 34 04 00 00 00 00 80 00 00 00 35 44 22 03 80
F3 03 00 00 00 00 00 05 10 20 36 04 00 00 0B 00 00 05 10 20 37 04 00 00 00 00 80 00 00 00 38 44 22 03 80
Does this look ok to you? And if so, what is the added value of using callback 24?
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Re: Question about Action-0 Prop-15 for Stations (Can train enter tile)
Looks okay to me. And yes, usually you will set the same values for both orientations in properties 11, 14 and 15.
You need callback 24 when you want to support multiple station sizes instead of just a few fixed ones.
In your example you only allow 1x2. With callback 24 you could support station sizes ?x2 with any station length. For example to make one platform blocked on the full length, and placing multiple building or walkways there. Or you could allow sizes ?x? with a building on platform 1, and then regular tracks on the other platforms.
This is mostly about making building stations more convenient for the player.
You need callback 24 when you want to support multiple station sizes instead of just a few fixed ones.
In your example you only allow 1x2. With callback 24 you could support station sizes ?x2 with any station length. For example to make one platform blocked on the full length, and placing multiple building or walkways there. Or you could allow sizes ?x? with a building on platform 1, and then regular tracks on the other platforms.
This is mostly about making building stations more convenient for the player.
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
Re: Question about Action-0 Prop-15 for Stations (Can train enter tile)
Ahhh, I see.
In this case I wont be needing callback 24 then, the station is going to be a fixed size.
I will experiment with the size/setup I am planning to make and post a result here.
Thanks again!
In this case I wont be needing callback 24 then, the station is going to be a fixed size.
I will experiment with the size/setup I am planning to make and post a result here.
Thanks again!
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Re: Question about Action-0 Prop-15 for Stations (Can train enter tile)
It looks like I got a result:
However, I am not sure if I have coded it correctly or that I am just lucky with how it turned out
This is my Action-0:
With this as the things that gave the result:
*prop-0E:
04 = length of platforms
03 = number of platforms
02 02 02 02 = defining the type of the first row of platforms as "platforms with buildings"
00 00 00 00 = defining the type of the other two rows as plain platforms
00 00 = end of prop-0E
*prop-14:
03 = stating that platformtype "platforms with buildings" should have wires, all others dont get wires. its 03, rather than 02, because then this will also apply for the other direction.
*prop-15:
03 = stating that platformtype "platforms with buildings" is passable by trains, all others are not passable. its 03, rather than 02, because then this will also apply for the other direction.
This is how I understand it is working right now, but this is not how it is written in the WIKI:
So, am I doing something wrong, or is the wiki not correct (and I am seriously doubting myself, I have more faith in the wiki )??
This is the entire piece of code and graphics if you want to try this out (you do need to change the real sprites definitions in the code offcourse):
The row with tiles numbered 3,6,9,12 is passable and shows powerlines, the other tiles are non-passable and dont have powerlines (Also I didnt want pylons on all tiles, but that is easy to do, the focus here is now on some tiles having certain properties and others not).However, I am not sure if I have coded it correctly or that I am just lucky with how it turned out
This is my Action-0:
Code: Select all
3612 * 881 00 04 09 01 B8 08 "DSAE" 0B 02 0C FB 0D F7 0E 04 03 02 02 02 02 00 00 00 00 00 00 00 00 00 00 11 00 14 03 15 03 09 1A
8D 0F 00 00 00 00 00 10 05 20 2D 04 00 00 00 0B 00 10 05 20 2E 04 00 00 00 00 80 00 00 00 2F 44 22 03 80
8D 0F 00 00 00 00 00 05 10 20 30 04 00 00 0B 00 00 05 10 20 31 04 00 00 00 00 80 00 00 00 32 44 22 03 80
75 04 00 80 80
76 04 00 80 80
8D 0F 00 00 00 00 00 10 05 20 33 04 00 00 00 0B 00 10 05 20 34 04 00 00 00 00 80 00 00 00 35 44 22 03 80
8D 0F 00 00 00 00 00 05 10 20 36 04 00 00 0B 00 00 05 10 20 37 04 00 00 00 00 80 00 00 00 38 44 22 03 80
F4 03 00 00 00 00 00 10 05 20 39 04 00 00 00 0B 00 10 05 20 3A 04 00 00 00 00 80 00 00 00 3B 44 22 03 80
F3 03 00 00 00 00 00 05 10 20 3C 04 00 00 0B 00 00 05 10 20 3D 04 00 00 00 00 80 00 00 00 3E 44 22 03 80
8D 0F 00 00 00 00 00 10 05 20 3F 04 00 00 00 0B 00 10 05 20 40 04 00 00 00 00 80 00 00 00 41 44 22 03 80
8D 0F 00 00 00 00 00 05 10 20 42 04 00 00 0B 00 00 05 10 20 43 04 00 00 00 00 80 00 00 00 44 44 22 03 80
8D 0F 00 00 00 00 00 10 05 20 45 04 00 00 00 0B 00 10 05 20 46 04 00 00 00 00 80 00 00 00 47 44 22 03 80
8D 0F 00 00 00 00 00 05 10 20 48 04 00 00 0B 00 00 05 10 20 49 04 00 00 00 00 80 00 00 00 4A 44 22 03 80
F4 03 00 00 00 00 00 10 05 20 4B 04 00 00 00 0B 00 10 05 20 4C 04 00 00 00 00 80 00 00 00 4D 44 22 03 80
F3 03 00 00 00 00 00 05 10 20 4E 04 00 00 0B 00 00 05 10 20 4F 04 00 00 00 00 80 00 00 00 50 44 22 03 80
8D 0F 00 00 00 00 00 10 05 20 51 04 00 00 00 0B 00 10 05 20 52 04 00 00 00 00 80 00 00 00 53 44 22 03 80
8D 0F 00 00 00 00 00 05 10 20 54 04 00 00 0B 00 00 05 10 20 55 04 00 00 00 00 80 00 00 00 56 44 22 03 80
8D 0F 00 00 00 00 00 10 05 20 57 04 00 00 00 0B 00 10 05 20 58 04 00 00 00 00 80 00 00 00 59 44 22 03 80
8D 0F 00 00 00 00 00 05 10 20 5A 04 00 00 0B 00 00 05 10 20 5B 04 00 00 00 00 80 00 00 00 5C 44 22 03 80
F4 03 00 00 00 00 00 10 05 20 5D 04 00 00 00 0B 00 10 05 20 5E 04 00 00 00 00 80 00 00 00 5F 44 22 03 80
F3 03 00 00 00 00 00 05 10 20 60 04 00 00 0B 00 00 05 10 20 61 04 00 00 00 00 80 00 00 00 62 44 22 03 80
8D 0F 00 00 00 00 00 10 05 20 63 04 00 00 00 0B 00 10 05 20 64 04 00 00 00 00 80 00 00 00 65 44 22 03 80
8D 0F 00 00 00 00 00 05 10 20 66 04 00 00 0B 00 00 05 10 20 67 04 00 00 00 00 80 00 00 00 68 44 22 03 80
8D 0F 00 00 00 00 00 10 05 20 69 04 00 00 00 0B 00 10 05 20 6A 04 00 00 00 00 80 00 00 00 6B 44 22 03 80
8D 0F 00 00 00 00 00 05 10 20 6C 04 00 00 0B 00 00 05 10 20 6D 04 00 00 00 00 80 00 00 00 6E 44 22 03 80
F4 03 00 00 00 00 00 10 05 20 6F 04 00 00 00 0B 00 10 05 20 70 04 00 00 00 00 80 00 00 00 71 44 22 03 80
F3 03 00 00 00 00 00 05 10 20 72 04 00 00 0B 00 00 05 10 20 73 04 00 00 00 00 80 00 00 00 74 44 22 03 80
*prop-0E:
Code: Select all
0E
04 03
02 02 02 02
00 00 00 00
00 00 00 00
00 00
03 = number of platforms
02 02 02 02 = defining the type of the first row of platforms as "platforms with buildings"
00 00 00 00 = defining the type of the other two rows as plain platforms
00 00 = end of prop-0E
*prop-14:
Code: Select all
14
03
*prop-15:
Code: Select all
14
03
This is how I understand it is working right now, but this is not how it is written in the WIKI:
So, as I understand it from the wiki, it should be the other way around...Can train enter tile (15)
Like props. 11 and 14, this value contains eight bits relating to the eight possible tile types. If a bit is set, trains are prevented from routing through or entering any tile of this type.
So, am I doing something wrong, or is the wiki not correct (and I am seriously doubting myself, I have more faith in the wiki )??
This is the entire piece of code and graphics if you want to try this out (you do need to change the real sprites definitions in the code offcourse):
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Who is online
Users browsing this forum: No registered users and 19 guests