Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Fri Jan 19, 2018 7:58 am

All times are UTC




Post new topic  Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Mon May 01, 2017 3:14 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 09, 2011 1:51 pm
Posts: 1450
Location: The Netherlands
Hi all!

I'm trying to convert some of my stationtiles to be able to show (different amounts) of cargo.
I have got it working for a couple of my stationtiles, but I am not getting it to work properly with one of them, the what I call Standard OpenTTD type (e.g. platforms on both sides of a single track)

This is what happens:
Attachment:
Example250.png
Example250.png [ 95.93 KiB | Viewed 1377 times ]

When there is no cargo, the spritelayout is like I want it to be, in this case empty platforms at the outsides and different graphics (in this case the pink and blueish colored platforms) on the inside.
But when cargo is waiting, the layout gets "hussled" ;-) I would like it to keep the same layout as when there is no cargo offcourse ;-)
I think some of my action-2s are conflicting, this is the code I use:
Code:
  107 * 379    00 04 05 01 00 08 "QC01" 
                 11 FF
                 0B 0F
                 09 08
                 F4 03 00 00 00 00 00 10 05 03 31 84 00 00 00 00 80 00 00 00 39 44 22 03 00 0B 00 10 05 03 32 84 00 00 00 00 80 00 00 00 3A 44 22 03 80
                 F3 03 00 00 00 00 00 05 10 03 33 84 00 00 00 00 80 00 00 00 3B 44 22 03 0B 00 00 05 10 03 34 84 00 00 00 00 80 00 00 00 3C 44 22 03 80
                 F4 03 00 00 00 00 00 10 05 03 2D 84 00 00 00 00 80 00 00 00 35 44 22 03 00 0B 00 10 05 03 2E 84 00 00 00 00 80 00 00 00 36 44 22 03 80
                 F3 03 00 00 00 00 00 05 10 03 2F 84 00 00 00 00 80 00 00 00 37 44 22 03 0B 00 00 05 10 03 30 84 00 00 00 00 80 00 00 00 38 44 22 03 80
                 F4 03 00 00 00 00 00 10 05 03 2D 84 00 00 00 00 80 00 00 00 35 44 22 03 00 0B 00 10 05 03 32 84 00 00 00 00 80 00 00 00 3A 44 22 03 80
                 F3 03 00 00 00 00 00 05 10 03 2F 84 00 00 00 00 80 00 00 00 37 44 22 03 0B 00 00 05 10 03 34 84 00 00 00 00 80 00 00 00 3C 44 22 03 80
                 F4 03 00 00 00 00 00 10 05 03 31 84 00 00 00 00 80 00 00 00 39 44 22 03 00 0B 00 10 05 03 2E 84 00 00 00 00 80 00 00 00 36 44 22 03 80
                 F3 03 00 00 00 00 00 05 10 03 33 84 00 00 00 00 80 00 00 00 3B 44 22 03 0B 00 00 05 10 03 30 84 00 00 00 00 80 00 00 00 38 44 22 03 80
                 10 C8 00

  108 * 7    02 04 00 00 01 00 00

  109 * 14    02 04 01 81 41 14 0F 01 00 80 01 0F 02 80
  110 * 14    02 04 02 81 41 0C 0F 01 06 80 00 00 01 00
  111 * 14    02 04 03 81 41 08 0F 01 04 80 00 00 02 00
  112 * 14    02 04 04 81 41 14 0F 01 03 00 02 0F 02 80

  113 * 14    02 04 05 81 0C 00 FF 01 04 00 14 14 00 00

  114 * 17    02 04 06 05 01 00 00 01 00 02 00 03 00 04 00 05 00

  115 * 10    03 04 01 00 01 00 06 00 05 00

  116 * 42    04 48 FF 01 00 "ÅPassengers: Normal OpenTTD Platform" 00
  117 * 41    04 48 FF 01 00 "ÄDutStations: Cargo Aware Platforms" 00


In this case, line 114 is what I added to show cargo waiting. I believe it conflicts in some way with the code used for the spritelayout (my knowledge is limited about that :oops: , I believe the block from line 109 to 112 adresses that), but I am not sure how and why it conflicts.

Can anyone help? :?: :wink:



EDIT:
I think I am at least missing a codeline like this:
Code:
* 14    02 04 06 81 0C 00 FF 01 02 80 14 14 00 00

I believe that should be after codeline 113, where maybe these two bits in red (or at least one of them, probably the first one) need to get another number....
* 14 02 04 06 81 0C 00 FF 01 02 80 14 14 00 00
The bit in green may need to change (and thus also maybe the values in the action-3), depending on extra action-2s being added before this one.
Maybe because of placing codeline 114 somewhere else in the code, maybe it should replace codeline 108 or should be after it.... If it is after it then maybe another line of code is needed after that to combine those two codelines...

Am I thinking along the right track??? :?: :?: :?
Action-0 for stations I kind of understand, but Action-2's (and callbacks) for stations are really enigmatic to me :cry:
The station-Force is with me, but I am not a Jedi yet :twisted:

_________________
Projects: viewtopic.php?f=26&t=57266
Screenshots: viewtopic.php?f=47&t=56959

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.


Last edited by Quast65 on Mon Oct 09, 2017 9:11 pm, edited 1 time in total.

Top
   
PostPosted: Wed May 03, 2017 5:37 pm 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Wed Dec 20, 2006 1:31 pm
Posts: 975
Location: Aschaffenburg
Yes, you need to handle the callbacks for all cargo ids.
That usually means that you have to duplicate the callback va2 for each item in the action3.

_________________
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁


Top
   
PostPosted: Sat May 27, 2017 4:00 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 09, 2011 1:51 pm
Posts: 1450
Location: The Netherlands
frosch wrote:
Yes, you need to handle the callbacks for all cargo ids.
That usually means that you have to duplicate the callback va2 for each item in the action3.

My apologies for not replying earlier and thanking you for your response, been a bit busy ;-)

I am still struggeling with the above, but it may be wiser to start out with a simpler sort of platform-setup, maybe that way it will be a bit easier for me to understand ;-)

So, now I am making a platform that does not has the option to have separate graphics for the insides when built using drag&drop. So just a platform at either side of the track.
This is the code I am using right now (I omitted the graphicspaths to make that codeblock not too huge ;-) )
Code:
  155 * 87    00 04 04 01 01 08 "QC01" 11 FF 09 02 
                 F4 03 00 00 00 00 00 10 05 03 2D 84 00 00 00 0B 00 10 05 03 2E 84 00 00 00 00 80 00 00 00 2F 44 22 03 80
                 F3 03 00 00 00 00 00 05 10 03 30 84 00 00 0B 00 00 05 10 03 31 84 00 00 00 00 80 00 00 00 32 44 22 03 80
                 10 C8 00
  156 * 7    02 04 00 00 01 02 00
  157 * 17    02 04 01 05 01 00 00 01 00 02 00 03 00 04 00 05 00
  158 * 10    03 04 01 01 01 02 01 00 00 00
  159 * 41    04 48 FF 01 01 "ÅMail: Single Sided Platform, Front" 00
  160 * 43    04 48 FF 01 01 "ÄCargoStations: Cargo Aware Platforms" 00

The following is happening ingame:
- In the purchasemenu I see the platform in cargo-stage 02 (That I defined with codeline 156) (That is what I want)
- When there is no cargo waiting (or not the right cargo waiting) the default-sprite is also cargo-stage 02 (That I DONT want ;-) )
- When the right cargo is waiting the sprites go from stage 00 (empty platform) to stage 05 (Fully filled) (That I defined with codeline 157)
- In this case the cargo that triggers this is MAIL (as defined in codeline 158 with the Action-3)

So, basically everything is working fine except for when there is no (or not the right) cargo waiting....
How can this be solved?
Can it be done purely by code (and if so, how)?
Or do I need to provide a separate purchasemenu sprite? So that I can change cargo-stage 02 in line 156 back to cargo-stage 00. If that is the case, any tips on what code should be added?

Any help is greatly appreciated!! :bow:

_________________
Projects: viewtopic.php?f=26&t=57266
Screenshots: viewtopic.php?f=47&t=56959

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.


Top
   
PostPosted: Sun May 28, 2017 7:45 am 
Offline
Tycoon
Tycoon

Joined: Wed Apr 27, 2005 7:09 am
Posts: 5124
I can´t say much about your code since it seems to be incomplete. But it seems weird that there´s no CB14 and you´re using action4 with feature 48, since this isn´t (fully) supported by OTTD. Instead, station texts are using the C4xx and C5xx ranges.

In addition, you should always use a special building sprite, for different reasons.

regards
Michael

_________________
Image


Top
   
PostPosted: Sun May 28, 2017 12:30 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 09, 2011 1:51 pm
Posts: 1450
Location: The Netherlands
Hi Michael,
Thnx for your reply!
michael blunck wrote:
I can´t say much about your code since it seems to be incomplete.

The only thing missing from the codeblock in the above post is the Action-1, this is the entire codeblock:
Code:
  118 * 4    01 04 06 06
  119 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   10   170   64  122  -31  -91 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c0.png  32bpp  10   170   64  122  -31  -91 normal chunked
  120 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   90   170   64  122  -53  -102 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c0.png  32bpp   90   170   64  122  -53  -102 normal chunked
  121 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   170   170   64  122  -0  -0 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c0.png  32bpp   170   170   64  122  -0  -0 normal chunked
  122 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   250   170   64  122  -31  -91 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c0.png  32bpp   250   170   64  122  -31  -91 normal chunked
  123 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   330   170   64  122  -9   -102 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c0.png  32bpp   330   170   64  122  -9   -102 normal chunked
  124 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   410   170   64  122  -0  -0 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c0.png  32bpp   410   170   64  122  -0  -0 normal chunked

  125 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   10   170   64  122  -31  -91 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c1.png  32bpp  10   170   64  122  -31  -91 normal chunked
  126 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   90   170   64  122  -53  -102 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c1.png  32bpp   90   170   64  122  -53  -102 normal chunked
  127 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   170   170   64  122  -0  -0 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c1.png  32bpp   170   170   64  122  -0  -0 normal chunked
  128 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   250   170   64  122  -31  -91 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c1.png  32bpp   250   170   64  122  -31  -91 normal chunked
  129 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   330   170   64  122  -9   -102 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c1.png  32bpp   330   170   64  122  -9   -102 normal chunked
  130 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   410   170   64  122  -0  -0 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c1.png  32bpp   410   170   64  122  -0  -0 normal chunked

  131 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   10   170   64  122  -31  -91 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c2.png  32bpp  10   170   64  122  -31  -91 normal chunked
  132 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   90   170   64  122  -53  -102 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c2.png  32bpp   90   170   64  122  -53  -102 normal chunked
  133 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   170   170   64  122  -0  -0 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c2.png  32bpp   170   170   64  122  -0  -0 normal chunked
  134 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   250   170   64  122  -31  -91 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c2.png  32bpp   250   170   64  122  -31  -91 normal chunked
  135 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   330   170   64  122  -9   -102 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c2.png  32bpp   330   170   64  122  -9   -102 normal chunked
  136 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   410   170   64  122  -0  -0 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c2.png  32bpp   410   170   64  122  -0  -0 normal chunked

  137 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   10   170   64  122  -31  -91 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c3.png  32bpp  10   170   64  122  -31  -91 normal chunked
  138 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   90   170   64  122  -53  -102 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c3.png  32bpp   90   170   64  122  -53  -102 normal chunked
  139 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   170   170   64  122  -0  -0 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c3.png  32bpp   170   170   64  122  -0  -0 normal chunked
  140 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   250   170   64  122  -31  -91 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c3.png  32bpp   250   170   64  122  -31  -91 normal chunked
  141 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   330   170   64  122  -9   -102 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c3.png  32bpp   330   170   64  122  -9   -102 normal chunked
  142 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   410   170   64  122  -0  -0 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c3.png  32bpp   410   170   64  122  -0  -0 normal chunked

  143 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   10   170   64  122  -31  -91 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c4.png  32bpp  10   170   64  122  -31  -91 normal chunked
  144 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   90   170   64  122  -53  -102 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c4.png  32bpp   90   170   64  122  -53  -102 normal chunked
  145 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   170   170   64  122  -0  -0 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c4.png  32bpp   170   170   64  122  -0  -0 normal chunked
  146 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   250   170   64  122  -31  -91 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c4.png  32bpp   250   170   64  122  -31  -91 normal chunked
  147 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   330   170   64  122  -9   -102 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c4.png  32bpp   330   170   64  122  -9   -102 normal chunked
  148 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   410   170   64  122  -0  -0 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c4.png  32bpp   410   170   64  122  -0  -0 normal chunked

  149 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   10   170   64  122  -31  -91 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c5.png  32bpp  10   170   64  122  -31  -91 normal chunked
  150 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   90   170   64  122  -53  -102 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c5.png  32bpp   90   170   64  122  -53  -102 normal chunked
  151 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   170   170   64  122  -0  -0 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c5.png  32bpp   170   170   64  122  -0  -0 normal chunked
  152 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   250   170   64  122  -31  -91 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c5.png  32bpp   250   170   64  122  -31  -91 normal chunked
  153 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   330   170   64  122  -9   -102 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c5.png  32bpp   330   170   64  122  -9   -102 normal chunked
  154 c:/grfcodec603/cargostations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   410   170   64  122  -0  -0 normal chunked
    | c:/grfcodec603/cargostations/gfx/template_regularplatform_32bpp_c5.png  32bpp   410   170   64  122  -0  -0 normal chunked

  155 * 87    00 04 04 01 01 08 "QC01" 11 FF 09 02
                 F4 03 00 00 00 00 00 10 05 03 2D 84 00 00 00 0B 00 10 05 03 2E 84 00 00 00 00 80 00 00 00 2F 44 22 03 80
                 F3 03 00 00 00 00 00 05 10 03 30 84 00 00 0B 00 00 05 10 03 31 84 00 00 00 00 80 00 00 00 32 44 22 03 80
                 10 C8 00

  156 * 7    02 04 00 00 01 02 00
  157 * 17    02 04 01 05 01 00 00 01 00 02 00 03 00 04 00 05 00
  158 * 10    03 04 01 01 01 02 01 00 00 00
  159 * 41    04 48 FF 01 01 "ÅMail: Single Sided Platform, Front" 00
  160 * 43    04 48 FF 01 01 "ÄCargoStations: Cargo Aware Platforms" 00

To make it complete, the graphics:
Attachment:
GRAPHICS_Template_RegularPlatform.rar [101.25 KiB]
Downloaded 31 times

Quote:
But it seems weird that there´s no CB14 and you´re using action4 with feature 48, since this isn´t (fully) supported by OTTD. Instead, station texts are using the C4xx and C5xx ranges.

My stationcode is based on the code of the original Dutch Station Set:
Attachment:
dutchstatw.nfo [49.25 KiB]
Downloaded 28 times

As I started out with changing their regular OpenTTD graphics (i.e. a platform at either side of a track) to single sided platforms (by simply making one of the platforms transparent).
Also the way they coded had an advantage for me, as each seperate feature had its own complete codeblock (not many other stationsets had this clear, separate, complete codeblock-setup), providing me with many examples to help me understand what happened if you change/add certain properties in the Action-0, or wanted to have custom station-layouts.
I will admit (and have done this often before), that I may not exactly understand how and why everything works (and I try not to touch the parts I dont fully understand too much ;-) ), but I try to.
A lot of stuff I could figure out by myself, using the GRF-specs-Wiki and the codeblocks from the original Dutch Station Set, by experimenting with changing certain values or adding/combining certain features.

However, I am now in (for me) uncharted territory ;-) As this is more focussed on Action-2s and Callbacks (and how to combine those in the Action-3). And those are still very elusive to me ;-)
There arent many (for me clear and complete) code examples available, thats why I have opened up this thread. Not just to ask: Hey, code this for me! But also to try to make it clear to me how and why its coded that way, so I (and possibly also others) hopefully understand those features a bit better too. :oops:
Most of the times I can figure out what certain parts are and know that I have to put those in, but just not yet on how they exactly work and how they interact with other parts.
I know that a car needs an engine and gastank, but I dont know exactly yet how the engine works and how the gasoline is transferred to the engine to make that work.... And maybe I never will (or have to), but I would at least like to be able to screw those parts correctly into the car :mrgreen:

_________________
Projects: viewtopic.php?f=26&t=57266
Screenshots: viewtopic.php?f=47&t=56959

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.


Top
   
PostPosted: Tue May 30, 2017 8:30 am 
Offline
Tycoon
Tycoon

Joined: Wed Apr 27, 2005 7:09 am
Posts: 5124
Quast65 wrote:
However, I am now in (for me) uncharted territory As this is more focussed on Action-2s and Callbacks (and how to combine those in the Action-3). And those are still very elusive to me [...]


In fact, station coding is a bit more challenging than coding vehicles. This is mainly due to historic development, by the way stations had been implemented in original TTD and improved later by TTDPatch. E.g., in contrast to vehicles, station graphics not only consist of sprites, but also use 3D information, combined in a station "layout". In addition, stations still use "tile types", inherited from original TTD. This might all be a bit overwhelming for the novice user, or even for coders accustomed to vehicle coding, but it also offers great flexibility and much of its historic layering can be abstracted away by use of a higher language layer.

E.g., in m4nfo tile layout handling is strictly done by callback (cb14), the need to use TTD tile types is restricted to an absolute minimum, tile randomization in layouts is transparent to the user, the massive number of station variables is nicely encapsulated into structured function classes, OTTD´s advanced sprite layout feature is implemented in an understandable way, and there´s a powerful macro processor to implement even the most complex templating tasks.

The m4nfo user manual gives a much better explanation of station coding than the original TTDPatch specs, it might be helpful to read also for those preferring to code stations still in plain nfo. Have a look:

http://www.ttdpatch.de/grfspecs/m4nfoMa ... tions.html
http://www.ttdpatch.de/grfspecs/m4nfoMa ... rties.html
http://www.ttdpatch.de/grfspecs/m4nfoMa ... tions.html
http://www.ttdpatch.de/grfspecs/m4nfoMa ... backs.html
http://www.ttdpatch.de/grfspecs/m4nfoMa ... nsTut.html
http://www.ttdpatch.de/grfspecs/m4nfoMa ... l#example2

regards
Michael

_________________
Image


Top
   
PostPosted: Wed May 31, 2017 5:23 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 09, 2011 1:51 pm
Posts: 1450
Location: The Netherlands
michael blunck wrote:
In fact, station coding is a bit more challenging than coding vehicles. This is mainly due to historic development, by the way stations had been implemented in original TTD and improved later by TTDPatch. E.g., in contrast to vehicles, station graphics not only consist of sprites, but also use 3D information, combined in a station "layout". In addition, stations still use "tile types", inherited from original TTD. This might all be a bit overwhelming for the novice user, or even for coders accustomed to vehicle coding, but it also offers great flexibility and much of its historic layering can be abstracted away by use of a higher language layer.

That is certainly true!! And I must applaud that you managed to "translate" all this into m4nfo :bow: I can certainly imagine how difficult it also is for the developers of NML to impliment stations to that.

The links you posted are certainly handy, as they offer more info than currently available on the Wiki pages, thnx also for those!

I do however would like to stick to NFO for my stations, would you (or maybe someone else) be willing to help me out a bit to understanding Action-2s a bit better?
For example, by providing code-examples and talking me through why certain action-2s are needed, what they do and how they are finally combined?
Hopefully this all will also make that a bit clearer for others thinking about creating stations and may help them out on their way....

_________________
Projects: viewtopic.php?f=26&t=57266
Screenshots: viewtopic.php?f=47&t=56959

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.


Top
   
PostPosted: Thu Jun 01, 2017 10:35 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Sun Sep 09, 2007 5:03 am
Posts: 4535
Location: home
I think it's simply that no person with knowledge how to code stations has ever attempted to program it in NML. Python is at least as powerful as m4 (and a lot more expressive than plain text-replacements), so technical limitations don't really exist

_________________
Being a OpenTTD developer does not mean I know what I am doing.
Also, other OpenTTD developers may have different opinions.


Top
   
PostPosted: Thu Jun 01, 2017 1:51 pm 
Offline
Tycoon
Tycoon

Joined: Wed Apr 27, 2005 7:09 am
Posts: 5124
Quast65 wrote:
I do however would like to stick to NFO for my stations [..]

You can freely mix m4nfo and plain nfo, e.g. you could include existing nfo code in additional parts written in m4nfo w/o any problems.

And BTW, didn´t you post that Station graphics and coding tutorial for dummies? So where´s the problem? Or do I have a déja-vu? :cool:

regards
Michael

_________________
Image


Top
   
PostPosted: Thu Jun 01, 2017 2:56 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 09, 2011 1:51 pm
Posts: 1450
Location: The Netherlands
michael blunck wrote:
And BTW, didn´t you post that Station graphics and coding tutorial for dummies? So where´s the problem? Or do I have a déja-vu? :cool:

Yes, I did. However, take a look at what I wrote when I came to the action-2s ;-)
Quote:
I'm not exactly sure what this does ;-) My knowledge of the code is a bit limited. I only think that it has something to do with the way the graphics show up in the menu, just insert this line in your code and don't worry too much about it. You don't have to change anything here if you add another stationtile.

So, also at that time I didnt exactly know what they did ;-)

Quote:
You can freely mix m4nfo and plain nfo, e.g. you could include existing nfo code in additional parts written in m4nfo w/o any problems.

Ok, that is good to know!
I am willing to try to take a shot at that then, but it may be handy to start out with much simpeler examples than you have given in your tutorials (as those already have some more advanced features like snow-aware, in some cases reserved-track-aware, have animations, etc etc).
So, would you be up to making some more simpeler/basic examples, so starting out with just two platforms along a single track? And then expand from those (multi-tile stations (tracked, non-tracked, or mixed), climate/snow-awareness, cargo-awareness, etc etc), making it a bit more clearer what the various parts in the code do and how you can add extra features.

_________________
Projects: viewtopic.php?f=26&t=57266
Screenshots: viewtopic.php?f=47&t=56959

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.


Top
   
PostPosted: Thu Jun 01, 2017 3:35 pm 
Offline
Tycoon
Tycoon

Joined: Wed Apr 27, 2005 7:09 am
Posts: 5124
Quast65 wrote:
[...] it may be handy to start out with much simpeler examples than you have given in your tutorials [...] So, would you be up to making some more simpeler/basic examples, so starting out with just two platforms along a single track?

Please have a look here, that bmss.zip is a long abandoned variant of that "British Modular Stations Set (BMSS)" by James Vassie. IIRC, its only a number of simple platforms, so it could stand for a most "simple" example?

regards
Michael

_________________
Image


Top
   
PostPosted: Thu Oct 05, 2017 5:28 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 09, 2011 1:51 pm
Posts: 1450
Location: The Netherlands
Been a while, but I still have the same problem...

Almost everything is working fine:
- The waiting cargo "animation" is only triggered by (in this case) Mail (02 in the Action-3) and no other kind of cargo.
- Otherwise it just shows an empty platform.

The only problem is, that in the purchasemenu loadingstage-0 is shown, so an empty platform, the default so to say.
What I would like is that that shows a fuller loadingstage, (for example the fullest stage) via some sort of internal code-reference or a totally separate menu-graphic.

I have tried a lot of things, but no result... Either the purchasemenu graphic is ok, but then all kinds of cargo will trigger the "animation" rather than just Mail. Or by trying to add separate menu-graphics, the entire sprite-layout gets messed up... Or by changing the default in the first Action-2 line, the right sprite shows up in the menu, but that is then also the graphic you see when there is no cargo waiting...

Can somebody help? :|
I have the idea that I am close with this, but I may be totally wrong ;-)


Code:
 1711 * 4    01 04 06 04

 1712 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp   10  40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   10    40   64  122  -31  -91 normal chunked
 1713 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp   90  40   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   90    40   64  122  -53  -102 normal chunked
 1714 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp  170  40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   170   40   64  122  -31  -91 normal chunked
 1715 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp  250  40   64  122  -9  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   250   40   64  122  -9  -102 normal chunked



 1716 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp   10  172   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   10    172   64  122  -31  -91 normal chunked
 1717 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp   90  172   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   90    172   64  122  -53  -102 normal chunked
 1718 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp  170  172   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   170   172   64  122  -31  -91 normal chunked
 1719 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp  250  172   64  122  -9  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   250   172   64  122  -9  -102 normal chunked



 1720 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp   10  304   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   10    304   64  122  -31  -91 normal chunked
 1721 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp   90  304   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   90    304   64  122  -53  -102 normal chunked
 1722 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp  170  304   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   170   304   64  122  -31  -91 normal chunked
 1723 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp  250  304   64  122  -9  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   250   304   64  122  -9  -102 normal chunked



 1724 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp   10  436   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   10    436   64  122  -31  -91 normal chunked
 1725 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp   90  436   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   90    436   64  122  -53  -102 normal chunked
 1726 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp  170  436   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   170   436   64  122  -31  -91 normal chunked
 1727 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp  250  436   64  122  -9  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   250   436   64  122  -9  -102 normal chunked



 1728 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp   10  568   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   10    568   64  122  -31  -91 normal chunked
 1729 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp   90  568   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   90    568   64  122  -53  -102 normal chunked
 1730 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp  170  568   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   170   568   64  122  -31  -91 normal chunked
 1731 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp  250  568   64  122  -9  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   250   568   64  122  -9  -102 normal chunked



 1732 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp   10  700   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   10    700   64  122  -31  -91 normal chunked
 1733 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp   90  700   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   90    700   64  122  -53  -102 normal chunked
 1734 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp  170  700   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   170   700   64  122  -31  -91 normal chunked
 1735 c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_8bpp_EMPTY.png  8bpp  250  700   64  122  -9  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_nontrack_1x1_32bpp.png  32bpp   250   700   64  122  -9  -102 normal chunked


 1736 * 71    00 04 06 01 1E 08 "AS10" 11 00 14 FF 15 FF 09 02
                 8D 0F 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
                 8D 0F 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
                 10 E8 03



 1737 * 7    02 04 00 00 01 00 00
 1738 * 17    02 04 01 05 01 00 00 01 00 02 00 03 00 04 00 05 00
 1739 * 10    03 04 01 1E 01 02 01 00 00 00
 1740 * 28    04 48 FF 01 1E C5 "NON TRACK (Mail only)" 00
 1741 * 40    04 48 FF 01 1E C4 "AuzStations: Cargo Aware Stations" 00


Graphics:
Attachment:
Template_Cargo_NonTrack_1x1_8bpp_EMPTY.png [7.7 KiB]
Not downloaded yet

Attachment:
Template_Cargo_NonTrack_1x1_32bpp.png [18.33 KiB]
Not downloaded yet

_________________
Projects: viewtopic.php?f=26&t=57266
Screenshots: viewtopic.php?f=47&t=56959

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.


Top
   
PostPosted: Fri Oct 06, 2017 3:39 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 09, 2011 1:51 pm
Posts: 1450
Location: The Netherlands
Maybe it is better if I try to explain the tests I did to get a separate menu-graphic.
I'll do this by using a simple station code (just 2 platforms on either side of the track, no extra graphics for the "inbetween" platforms if you use drag&drop).
Code:
   10 * 4    01 04 01 04
   11 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   10   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp  10   40   64  122  -31  -91 normal chunked
   12 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   90   40   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   90   40   64  122  -53  -102 normal chunked
   13 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   490   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   490   40   64  122  -31  -91 normal chunked
   14 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   570   40   64  122  -9   -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   570   40   64  122  -9   -102 normal chunked
   15 * 62    00 04 02 01 00 08 "QC01" 09 02
                 F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
                 F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
   16 * 7    02 04 00 00 01 00 00
   17 * 7    02 04 01 00 01 00 00
   18 * 10    03 04 01 00 01 FE 01 00 00 00
   19 * 37    04 48 FF 01 00 C5 "PLATFORM, no extra menugraphic" 00
   20 * 26    04 48 FF 01 00 C4 "CargoStations: TEST" 00

If this eventually works, then I may be able to "translate" that into a cargo-aware station...

The various results look like this and after that I will show each code and differences I made for each test:
Attachment:
Example378.png
Example378.png [ 121.46 KiB | Viewed 430 times ]


The top one is the result when using the code without extra separate menugraphics.

*Test-1:
Code:
   21 * 4    01 04 01 04
   22 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   10   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp  10   40   64  122  -31  -91 normal chunked
   23 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   90   40   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   90   40   64  122  -53  -102 normal chunked
   24 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   490   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   490   40   64  122  -31  -91 normal chunked
   25 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   570   40   64  122  -9   -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   570   40   64  122  -9   -102 normal chunked

//!!Warning (97): Set 00 defined by the previous Action 1 (sprite 21) has not been used.
   26 * 4    01 04 01 02
   27 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2250 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2250 12 64 46 -31 -15 normal chunked
   28 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2330 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2330 12 64 46 -31 -15 normal chunked

   29 * 62    00 04 02 01 01 08 "QC01" 09 02
                 F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
                 F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
   30 * 7    02 04 00 00 01 00 00
   31 * 7    02 04 01 00 01 00 00
   32 * 10    03 04 01 01 01 FE 01 00 00 00
   33 * 36    04 48 FF 01 01 C5 "PLATFORM, menugraphic test 01" 00
   34 * 26    04 48 FF 01 01 C4 "CargoStations: TEST" 00

I added the menugraphics by adding an extra Action-1
As you can see, NFOrenum gives a warning and indeed the ingame graphics are completely wrong

*Test-2:
Code:
   35 * 4    01 04 01 04
   36 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   10   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp  10   40   64  122  -31  -91 normal chunked
   37 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   90   40   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   90   40   64  122  -53  -102 normal chunked
   38 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   490   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   490   40   64  122  -31  -91 normal chunked
   39 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   570   40   64  122  -9   -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   570   40   64  122  -9   -102 normal chunked
   40 * 7    02 04 00 00 01 00 00
   41 * 4    01 04 01 02
   42 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2250 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2250 12 64 46 -31 -15 normal chunked
   43 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2330 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2330 12 64 46 -31 -15 normal chunked
   44 * 7    02 04 01 00 01 00 00
   45 * 62    00 04 02 01 02 08 "QC01" 09 02
                 F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
                 F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
   46 * 10    03 04 01 02 01 FE 01 00 00 00
   47 * 36    04 48 FF 01 02 C5 "PLATFORM, menugraphic test 02" 00
   48 * 26    04 48 FF 01 02 C4 "CargoStations: TEST" 00

Placing the Action-2s after each Action-1 got rid of the NFOrenum warning.
Now the ingame graphics show up in the menu and the actual ingame graphics are a mess..

*Test-3:
Code:
   49 * 4    01 04 01 04
   50 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   10   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp  10   40   64  122  -31  -91 normal chunked
   51 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   90   40   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   90   40   64  122  -53  -102 normal chunked
   52 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   490   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   490   40   64  122  -31  -91 normal chunked
   53 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   570   40   64  122  -9   -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   570   40   64  122  -9   -102 normal chunked
   54 * 7    02 04 00 00 01 00 00
   55 * 4    01 04 01 02
   56 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2250 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2250 12 64 46 -31 -15 normal chunked
   57 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2330 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2330 12 64 46 -31 -15 normal chunked
   58 * 7    02 04 01 00 01 00 00
   59 * 62    00 04 02 01 03 08 "QC01" 09 02
                 F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
                 F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
   60 * 10    03 04 01 03 01 FE 00 00 01 00
   61 * 36    04 48 FF 01 03 C5 "PLATFORM, menugraphic test 03" 00
   62 * 26    04 48 FF 01 03 C4 "CargoStations: TEST" 00

I switched ID-01 and ID-00 in the Action-3.
Now the right graphics show up ingame, but the menugraphics are messed up..

*Test-4:
Code:
   63 * 4    01 04 01 04
   64 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   10   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp  10   40   64  122  -31  -91 normal chunked
   65 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   90   40   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   90   40   64  122  -53  -102 normal chunked
   66 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   490   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   490   40   64  122  -31  -91 normal chunked
   67 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   570   40   64  122  -9   -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   570   40   64  122  -9   -102 normal chunked
   68 * 7    02 04 00 00 01 00 00
   69 * 4    01 04 01 02
   70 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2250 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2250 12 64 46 -31 -15 normal chunked
   71 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2330 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2330 12 64 46 -31 -15 normal chunked
   72 * 7    02 04 01 00 01 00 00
   73 * 72    00 04 02 01 04 08 "QC01" 09 04
                 F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
                 F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
                 31 04 00 80 80
                 32 04 00 80 80
   74 * 10    03 04 01 04 01 FE 00 00 01 00
   75 * 36    04 48 FF 01 04 C5 "PLATFORM, menugraphic test 04" 00
   76 * 26    04 48 FF 01 04 C4 "CargoStations: TEST" 00

I added what I believe is the right code for getting menugraphics used via the spritesorter (so added that into Property-09 in the Action-0)
Everything is completely messed up...

*Test 5:
Code:
   77 * 4    01 04 01 04
   78 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   10   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp  10   40   64  122  -31  -91 normal chunked
   79 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   90   40   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   90   40   64  122  -53  -102 normal chunked
   80 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   490   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   490   40   64  122  -31  -91 normal chunked
   81 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   570   40   64  122  -9   -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   570   40   64  122  -9   -102 normal chunked
   82 * 7    02 04 00 00 01 00 00
   83 * 4    01 04 01 02
   84 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2250 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2250 12 64 46 -31 -15 normal chunked
   85 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2330 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2330 12 64 46 -31 -15 normal chunked
   86 * 7    02 04 01 00 01 00 00
   87 * 72    00 04 02 01 05 08 "QC01" 09 04
                 F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
                 F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
                 31 04 00 80 80
                 32 04 00 80 80
   88 * 10    03 04 01 05 01 FE 01 00 00 00
   89 * 36    04 48 FF 01 05 C5 "PLATFORM, menugraphic test 05" 00
   90 * 26    04 48 FF 01 05 C4 "CargoStations: TEST" 00

I switched ID-01 and ID-00 back again, in the Action-3.
Now I get the right graphics in the menu!! But... ingame graphics still messed up...


I now wanted to try something else


*Test-6:
Code:
   91 * 4    01 04 01 06
   92 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   10   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp  10   40   64  122  -31  -91 normal chunked
   93 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   90   40   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   90   40   64  122  -53  -102 normal chunked
   94 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   490   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   490   40   64  122  -31  -91 normal chunked
   95 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   570   40   64  122  -9   -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   570   40   64  122  -9   -102 normal chunked
   96 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2250 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2250 12 64 46 -31 -15 normal chunked
   97 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2330 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2330 12 64 46 -31 -15 normal chunked

   98 * 62    00 04 02 01 06 08 "QC01" 09 02
                 F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
                 F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
   99 * 7    02 04 00 00 01 00 00
  100 * 7    02 04 01 00 01 00 00
  101 * 10    03 04 01 06 01 FE 01 00 00 00
  102 * 36    04 48 FF 01 06 C5 "PLATFORM, menugraphic test 06" 00
  103 * 26    04 48 FF 01 06 C4 "CargoStations: TEST" 00

I went back to the original code and added the menugraphics into the Action-1 (so just one Action-1)
Nothing happened, logical, as I just added some graphicspaths into Action-1, but I dont refer to those in the rest of the code.
So, next test.

*Test-7:
Code:
  104 * 4    01 04 01 06
  105 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   10   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp  10   40   64  122  -31  -91 normal chunked
  106 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   90   40   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   90   40   64  122  -53  -102 normal chunked
  107 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   490   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   490   40   64  122  -31  -91 normal chunked
  108 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   570   40   64  122  -9   -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   570   40   64  122  -9   -102 normal chunked
  109 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2250 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2250 12 64 46 -31 -15 normal chunked
  110 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2330 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2330 12 64 46 -31 -15 normal chunked

  111 * 72    00 04 02 01 07 08 "QC01" 09 04
                 F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
                 F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
                 31 04 00 80 80
                 32 04 00 80 80
  112 * 7    02 04 00 00 01 00 00
  113 * 7    02 04 01 00 01 00 00
  114 * 10    03 04 01 07 01 FE 01 00 00 00
  115 * 36    04 48 FF 01 07 C5 "PLATFORM, menugraphic test 07" 00
  116 * 26    04 48 FF 01 07 C4 "CargoStations: TEST" 00

I added what I believe is the right code for getting menugraphics used via the spritesorter (so added that into Property-09 in the Action-0).
Again I get the right graphics in the menu, but ingame graphics are still messed up.


This is how far I got at the moment...

Test-5 and Test-7 are closest I think to the right result. I believe that I am just missing something that tells the spritesorter what graphics should be where ingame.
Either via extra Action-2s or extra properties in Action-0, or both....
Test-7 is even closer, as this happens when building a station using drag&drop (top one Test-5, bottom Test-7):
Attachment:
Example379.png
Example379.png [ 62.8 KiB | Viewed 430 times ]


So, can anyone help me to the right direction?
Is adding an extra Action-1 the way to go? Or should I just add the menu graphics in the Action-1 that already is there?
And then, what more is needed (Action-2s and/or properties Action-0)??
?( ?( ?(

_________________
Projects: viewtopic.php?f=26&t=57266
Screenshots: viewtopic.php?f=47&t=56959

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.


Top
   
PostPosted: Mon Oct 09, 2017 9:11 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 09, 2011 1:51 pm
Posts: 1450
Location: The Netherlands
I think I solved it!! 8o :mrgreen:

Using this code I got a station with separate menu-graphics:
Code:
   26 * 4    01 04 01 04
   27 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   10   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp  10   40   64  122  -31  -91 normal chunked
   28 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   90   40   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   90   40   64  122  -53  -102 normal chunked
   29 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   490   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   490   40   64  122  -31  -91 normal chunked
   30 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   570   40   64  122  -9   -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   570   40   64  122  -9   -102 normal chunked
   31 * 7    02 04 00 00 01 00 00
   32 * 4    01 04 01 04
   33 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2250 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2250 12 64 46 -31 -15 normal chunked
   34 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2250 12 64 46 -53 -26 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2250 12 64 46 -53 -26 normal chunked
   35 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2330 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2330 12 64 46 -31 -15 normal chunked
   36 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2330 12 64 46 -9 -26 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2330 12 64 46 -9 -26 normal chunked
   37 * 7    02 04 01 00 01 00 00

   38 * 112    00 04 02 01 09 08 "QC01" 09 04
                 F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
                 F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
                 F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
                 F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80


   39 * 10    03 04 01 09 01 FE 00 00 01 00
   40 * 36    04 48 FF 01 09 C5 "PLATFORM, menugraphic test 09" 00
   41 * 26    04 48 FF 01 09 C4 "CargoStations: TEST" 00




I added the cargo-awareness and with some further fiddeling about I finally have a station working like I wanted, triggered by one specific cargo (in this case 01, so coal) and having separate menugraphics:
Code:
   42 * 4    01 04 06 04
   43 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   10   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp  10   40   64  122  -31  -91 normal chunked
   44 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   90   40   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   90   40   64  122  -53  -102 normal chunked
   45 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   490   40   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   490   40   64  122  -31  -91 normal chunked
   46 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png  8bpp   570   40   64  122  -9   -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png  32bpp   570   40   64  122  -9   -102 normal chunked
   47 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp   10  172   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   10    172   64  122  -31  -91 normal chunked
   48 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp   90  172   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   90    172   64  122  -53  -102 normal chunked
   49 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp  170  172   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   170   172   64  122  -31  -91 normal chunked
   50 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp  250  172   64  122  -9  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   250   172   64  122  -9  -102 normal chunked
   51 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp   10  304   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   10    304   64  122  -31  -91 normal chunked
   52 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp   90  304   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   90    304   64  122  -53  -102 normal chunked
   53 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp  170  304   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   170   304   64  122  -31  -91 normal chunked
   54 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp  250  304   64  122  -9  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   250   304   64  122  -9  -102 normal chunked
   55 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp   10  436   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   10    436   64  122  -31  -91 normal chunked
   56 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp   90  436   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   90    436   64  122  -53  -102 normal chunked
   57 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp  170  436   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   170   436   64  122  -31  -91 normal chunked
   58 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp  250  436   64  122  -9  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   250   436   64  122  -9  -102 normal chunked
   59 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp   10  568   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   10    568   64  122  -31  -91 normal chunked
   60 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp   90  568   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   90    568   64  122  -53  -102 normal chunked
   61 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp  170  568   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   170   568   64  122  -31  -91 normal chunked
   62 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp  250  568   64  122  -9  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   250   568   64  122  -9  -102 normal chunked
   63 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp   10  700   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   10    700   64  122  -31  -91 normal chunked
   64 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp   90  700   64  122  -53  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   90    700   64  122  -53  -102 normal chunked
   65 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp  170  700   64  122  -31  -91 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   170   700   64  122  -31  -91 normal chunked
   66 c:/grfcodec603/auzstations/gfx/template_cargo_platforms_8bpp_EMPTY.png  8bpp  250  700   64  122  -9  -102 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_cargo_platforms_32bpp.png  32bpp   250   700   64  122  -9  -102 normal chunked
   67 * 17    02 04 00 05 01 00 00 01 00 02 00 03 00 04 00 05 00
   68 * 4    01 04 01 04
   69 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2250 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2250 12 64 46 -31 -15 normal chunked
   70 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2250 12 64 46 -53 -26 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2250 12 64 46 -53 -26 normal chunked
   71 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2330 12 64 46 -31 -15 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2330 12 64 46 -31 -15 normal chunked
   72 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp  2330 12 64 46 -9 -26 normal chunked
    | c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp  2330 12 64 46 -9 -26 normal chunked
   73 * 7    02 04 01 00 01 00 00
   74 * 115    00 04 03 01 0A 08 "QC01" 09 04
                 F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
                 F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
                 F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
                 F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
                 10 E8 03
   75 * 13    03 04 01 0A 02 01 00 00 FE 00 00 01 00
   76 * 36    04 48 FF 01 0A C5 "PLATFORM, menugraphic test 10" 00
   77 * 26    04 48 FF 01 0A C4 "CargoStations: TEST" 00

_________________
Projects: viewtopic.php?f=26&t=57266
Screenshots: viewtopic.php?f=47&t=56959

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 14 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2018 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2018.
Hosted by Zernebok Hosting.