Where do I sign up?

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

User avatar
athanasios
Tycoon
Tycoon
Posts: 3138
Joined: 23 Jun 2005 00:09
Contact:

Re: Where do I sign up?

Post by athanasios »

Simply stated:

Normal tile set and 256 tile set do not have the same scale. (So first check scale in 256 and then do exactly half for 64).

The reason is that in 256 we are supposed to use more tiles for sprites (e.g. for houses more than 1x1 or 2x2). I do not agree with this (scale - not the idea of more tiles). I wouldn't change the scale but would better jump to 512 tile size. Yet I am not the one to decide what 3D artists will do as I do not draw in 3D.

regards
athanasios
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.


I prefer to be contacted through PMs. Thanks.
maquinista
Tycoon
Tycoon
Posts: 1829
Joined: 10 Jul 2006 00:43
Location: Spain

Re: Where do I sign up?

Post by maquinista »

glx wrote:
maquinista wrote:I can't make it as a non track tile, or delete the wires & pylons.
Check http://wiki.ttdpatch.net/tiki-index.php ... n0Stations prop 11,14 and 15.
I have tried with lots of numbers (00 FF 0F...) but the result was the same.

Code: Select all

// Catenaria y pilones fuera - Pylon & wires out
          11 FF
          14 FF
// Casilla sin vias - Not track tile
          15 00
This is the last version of the file. I have changed the names by "Wotan's Stations", the GRFid (Wota) and the station class ID by "wot0". This is because I had the IDs from Wooden roofs station (I'm trying to code it). Algo, I packed the PNGs files.

Code: Select all

// Automatically generated by GRFCODEC. Do not modify!
// (Info version 4)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
    0 * 4	 11 00 00 00
// Sample station code
// CC BY
// INFO :
   1 * 40 08 06 "Wota" "Wotan's Stations" 00 "Wotan's Stations" 00

//Acción 2
//<Sprite-number> * <Length> 02 <feature> <set-id> <type> <variable> <varadjust> <nvar> (<set-id> <low-range> <high-range>){n} <default>

   2 * 182 00 04
// Class ID: "wot0"
          07 01 00 08 77 6F 74 30
//Definiendo posibles casillas - Tiles:
          09 0A
            8C 05 00 00 
            00 00 00  01 01 01  2D 04 00 00
            80
            8C 05 00 00 
            00 00 00  01 01 01  36 04 00 00
            80

            8C 05 00 00 
            00 00 00  01 01 01  2E 04 00 00
            80
            8C 05 00 00 
            00 00 00  01 01 01  35 04 00 00
            80

            8C 05 00 00 
            00 00 00  01 01 01  2F 04 00 00
            80
            8C 05 00 00 
            00 00 00  01 01 01  34 04 00 00
            80

            8C 05 00 00 
            00 00 00  01 01 01  30 04 00 00
            80
            8C 05 00 00 
            00 00 00  01 01 01  33 04 00 00
            80

            8C 05 00 00 
            00 00 00  01 01 01  31 04 00 00
            80
            8C 05 00 00 
            00 00 00  01 01 01  32 04 00 00
            80
//Solo 1 pista de 5 de largo - Only one track of 5 of length
          0C fe
          0D ef
//Desarrollo - Layout
          0E
           05 01  08 06 04 02 00
           00 00
// Catenaria y pilones fuera - Pylon & wires out
          11 FF
          14 FF
// Casilla sin vias - Not track tile
          15 00



// Ni ide de lo que es esto - I don't know wath is this:
//ID:  43 52 B1 40   4352B140
//  01 Estaciones - 1set - 4 vistas
  3 * 4 01 04 01 0A
//Dibujitos, se cargan 10 - Sprites 10 are loaded
  4 estac2/estac.pcx   0 0 01 145 64 -31 -114
  5 estac2/estac.pcx  64 0 01 145 32 +1   -98
  6 estac2/estac.pcx  96 0 01 145 32 +1   -82
  7 estac2/estac.pcx 128 0 01 145 32 +1   -66
  8 estac2/estac.pcx 160 0 01 145 32 +1   -50

  9 estac2/estac.pcx 192 0 01 145 32 -30  -50
 10 estac2/estac.pcx 224 0 01 145 32 -30  -66
 11 estac2/estac.pcx 256 0 01 145 32 -30  -82
 12 estac2/estac.pcx 288 0 01 145 32 -30  -98
 13 estac2/estac.pcx 320 0 01 145 64 -30  -114

//De aquí para abajo, estoy un poco perdido - From this to bottom, I'm a bit lost

// Action 2 for the station
// 8 * 9        02 04 00 00 00 01 00 00 00
   14 * 7    02 04 00 00 01 00 00
// Action 3 
//   9 * 7    03 04 01 00 00 00 00
   15 * 7    03 04 01 00 00 00 00
// give it the name "Station A"
                                    // s  t  a  t  i  o  n      A
   16 * 17       04 04 9F 01 00 C5 98 53 74 61 74 69 6f 6e 20 30 00
// set the name of station class (TEST) to "Station test"
                                    // s  t  a  t  i  o  n     t  e  s  t
   17 * 24       04 04 9F 01 00 C4 98 57 6f 74 61 6e 27 73 20 53 74 61 74 69 6f 6e 73 00


//viewtopic.php?t=8374&highlight=station+nfo
Attachments
estac.grf
GRF file
(22.15 KiB) Downloaded 167 times
Wotan station.tar
TAR file
(297.5 KiB) Downloaded 180 times
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: Where do I sign up?

Post by DaleStan »

maquinista wrote:

Code: Select all

// Casilla sin vias - Not track tile
he says immediately before informing the world that exactly none of the eight types are non-track tiles.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
Wotan
Traffic Manager
Traffic Manager
Posts: 143
Joined: 27 May 2008 22:35

Re: Where do I sign up?

Post by Wotan »

Here is a 768px wide version of the station with som extra detail added.

Is it possible to have the signs and the flags on the station in the company colours?
Attachments
station1-32.png
station1-32.png (616.46 KiB) Viewed 6449 times
station2-32.png
station2-32.png (477.96 KiB) Viewed 6446 times
Coders wanted: Image DSB Litra E in 2cc - Image DSB Litra A in 2cc

ImageUnless stated otherwise all works published by me on these forums is covered by a Creative Commons Attribution Non-commercial share-alike License. Please PM me if you are interested in obtaining a different license.
maquinista
Tycoon
Tycoon
Posts: 1829
Joined: 10 Jul 2006 00:43
Location: Spain

Re: Where do I sign up?

Post by maquinista »

Thanks!
Is a very good station!
I have renamed the files as "wotan_stations.grf" and "wotan_stations.tar". I have coded the new PNGs.
Attachments
wotan_stations.grf
8 bits file
(22.15 KiB) Downloaded 200 times
wotan_stations.tar
24 bits file, It has z0, z1 and z2 zoom levels.
(1.47 MiB) Downloaded 304 times
Screenshot at full zoom.
Screenshot at full zoom.
station full zoom.JPEG (376.24 KiB) Viewed 2192 times
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
User avatar
Wotan
Traffic Manager
Traffic Manager
Posts: 143
Joined: 27 May 2008 22:35

Re: Where do I sign up?

Post by Wotan »

This is a small rural station.
Attachments
smallstation1-38.png
smallstation1-38.png (67.7 KiB) Viewed 6337 times
smallstation2-38.png
smallstation2-38.png (63.2 KiB) Viewed 6331 times
Coders wanted: Image DSB Litra E in 2cc - Image DSB Litra A in 2cc

ImageUnless stated otherwise all works published by me on these forums is covered by a Creative Commons Attribution Non-commercial share-alike License. Please PM me if you are interested in obtaining a different license.
User avatar
CommanderZ
Tycoon
Tycoon
Posts: 1872
Joined: 07 Apr 2008 18:29
Location: Czech Republic
Contact:

Re: Where do I sign up?

Post by CommanderZ »

The flag an the red banners on the buildings (both this and the large station) are in company colors?

PS: Looks awesome :)
User avatar
Wotan
Traffic Manager
Traffic Manager
Posts: 143
Joined: 27 May 2008 22:35

Re: Where do I sign up?

Post by Wotan »

CommanderZ wrote:The flag an the red banners on the buildings (both this and the large station) are in company colors?

PS: Looks awesome :)
I would very much like them to be in company colours. If this is possible I would like to know how to do it.
Coders wanted: Image DSB Litra E in 2cc - Image DSB Litra A in 2cc

ImageUnless stated otherwise all works published by me on these forums is covered by a Creative Commons Attribution Non-commercial share-alike License. Please PM me if you are interested in obtaining a different license.
maquinista
Tycoon
Tycoon
Posts: 1829
Joined: 10 Jul 2006 00:43
Location: Spain

Re: Where do I sign up?

Post by maquinista »

Wotan wrote:
CommanderZ wrote:The flag an the red banners on the buildings (both this and the large station) are in company colors?

PS: Looks awesome :)
I would very much like them to be in company colours. If this is possible I would like to know how to do it.
It can be done with other PNG file, but I can draw it.

My problem, is that I don't know code two different stations in a single GRF file. :(

Edit: This is the first screenshots. I need to change some parameters.

Edit 2: It has been coded, but It needs some little changes. Thanks to the stacja.grf where I saw how to add two stations.

Edit 3: I have changed the name of the station by "Station 1", thanks to Action 4 documentation. :))
The sprites needs some retouching in 8 bits, There have some blinking lights and They have lost some details in the conversion. I'm not a good artist. :(
Attachments
Trial &amp; error.
Trial & error.
station_coding.PNG (27.8 KiB) Viewed 6149 times
It's coded, It needs a new name, but It works. Also, trains can go over it.
It's coded, It needs a new name, but It works. Also, trains can go over it.
station_coding2.PNG (36.49 KiB) Viewed 6151 times
Source graphic for sprites.
Source graphic for sprites.
estac2.png (5.44 KiB) Viewed 6147 times
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
User avatar
Wotan
Traffic Manager
Traffic Manager
Posts: 143
Joined: 27 May 2008 22:35

Re: Where do I sign up?

Post by Wotan »

I got an idea for an improvement to my railway crossing. In real life a railway crossing is not just signalling to motorists. There is also signals for the trains. One of those signals is a control signal that is turned on if the crossing is open. I tried adding some of those signals to the crossing.
Attachments
a-closed1.png
a-closed1.png (61.82 KiB) Viewed 6136 times
a-closed2.png
a-closed2.png (61.81 KiB) Viewed 6125 times
a-open.png
a-open.png (61.95 KiB) Viewed 6117 times
Coders wanted: Image DSB Litra E in 2cc - Image DSB Litra A in 2cc

ImageUnless stated otherwise all works published by me on these forums is covered by a Creative Commons Attribution Non-commercial share-alike License. Please PM me if you are interested in obtaining a different license.
User avatar
Wotan
Traffic Manager
Traffic Manager
Posts: 143
Joined: 27 May 2008 22:35

Re: Where do I sign up?

Post by Wotan »

and the last ones...
Attachments
b-closed1.png
b-closed1.png (61.78 KiB) Viewed 6110 times
b-closed2.png
b-closed2.png (61.79 KiB) Viewed 6106 times
b-open.png
b-open.png (64.37 KiB) Viewed 6099 times
Coders wanted: Image DSB Litra E in 2cc - Image DSB Litra A in 2cc

ImageUnless stated otherwise all works published by me on these forums is covered by a Creative Commons Attribution Non-commercial share-alike License. Please PM me if you are interested in obtaining a different license.
maquinista
Tycoon
Tycoon
Posts: 1829
Joined: 10 Jul 2006 00:43
Location: Spain

Re: Where do I sign up?

Post by maquinista »

This is the update of the GRF:
Attachments
wotan_stations.grf
GRF file, 8 bits
(25.22 KiB) Downloaded 186 times
wotan_stations.tar
TAR with 24 bits sprites.
(1.6 MiB) Downloaded 8462 times
Screenshot with the new station and a road.
Screenshot with the new station and a road.
station_coded.jpg (257.95 KiB) Viewed 1757 times
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
User avatar
CommanderZ
Tycoon
Tycoon
Posts: 1872
Joined: 07 Apr 2008 18:29
Location: Czech Republic
Contact:

Re: Where do I sign up?

Post by CommanderZ »

As someone already said, the station is vastly upscaled when set to 5*1 tiles. You should really reduce it at least to 3*1.
User avatar
GeekToo
Tycoon
Tycoon
Posts: 961
Joined: 03 Jun 2007 22:22

Re: Where do I sign up?

Post by GeekToo »

Wotan wrote: Is it possible to have the signs and the flags on the station in the company colours?

Yes, it is. Teemes has written a nice tutorial on the wiki:
http://wiki.openttd.org/index.php/Creat ... l_Graphics
maquinista
Tycoon
Tycoon
Posts: 1829
Joined: 10 Jul 2006 00:43
Location: Spain

Re: Where do I sign up?

Post by maquinista »

Level crossings:
Attachments
crossings_wotan_02.tar
TAR file
(394.5 KiB) Downloaded 218 times
Level crossing, train, rural station building, some station tiles, grass, roads... in 32 bbp.
Level crossing, train, rural station building, some station tiles, grass, roads... in 32 bbp.
pantallazo.JPEG (100.1 KiB) Viewed 5954 times
Level crossing without barriers in city 2.
Level crossing without barriers in city 2.
sin_barreras_ciudad2.PNG (39 KiB) Viewed 5836 times
Last edited by maquinista on 07 Jul 2008 08:56, edited 1 time in total.
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
User avatar
CommanderZ
Tycoon
Tycoon
Posts: 1872
Joined: 07 Apr 2008 18:29
Location: Czech Republic
Contact:

Re: Where do I sign up?

Post by CommanderZ »

The fence is being painted over the signal. Is it possible to solve these z-order bugs without much changes to the code?
maquinista
Tycoon
Tycoon
Posts: 1829
Joined: 10 Jul 2006 00:43
Location: Spain

Re: Where do I sign up?

Post by maquinista »

CommanderZ wrote:The fence is being painted over the signal. Is it possible to solve these z-order bugs without much changes to the code?
There's only a base sprite with barriers. We will need a code that draws the crossings by parts, first the base sprite, second the barrier, third the train, bus... fourth, the front barrier. This is the base sprites without barriers:
Attachments
Level crossing without barriers 1.
Level crossing without barriers 1.
sin_barreras.PNG (42.06 KiB) Viewed 5838 times
Level crossing without barriers 2.
Level crossing without barriers 2.
sinbarreras2.png (41 KiB) Viewed 5825 times
Level crossing without barriers in city 1.
Level crossing without barriers in city 1.
sin_barreras_ciudad.PNG (39.73 KiB) Viewed 5815 times
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
Katran
Engineer
Engineer
Posts: 8
Joined: 03 Jul 2008 10:02

Re: Where do I sign up?

Post by Katran »

Excellently :bow:
--------------
Give please 1023_z0.png :oops:
At me here so: :cry:
Image

P.S. Where to find these textures: 1031_z0.png 1032_z0.png 1033_z0.png 1034_z0.png? :?: Or they are not present?
User avatar
Wotan
Traffic Manager
Traffic Manager
Posts: 143
Joined: 27 May 2008 22:35

Re: Where do I sign up?

Post by Wotan »

A timber-framed 2x1 station building.
Attachments
mediumstation1.png
mediumstation1.png (128.69 KiB) Viewed 5499 times
mediumstation2.png
mediumstation2.png (123.44 KiB) Viewed 5492 times
Coders wanted: Image DSB Litra E in 2cc - Image DSB Litra A in 2cc

ImageUnless stated otherwise all works published by me on these forums is covered by a Creative Commons Attribution Non-commercial share-alike License. Please PM me if you are interested in obtaining a different license.
User avatar
Timitry
Transport Coordinator
Transport Coordinator
Posts: 313
Joined: 01 Oct 2004 15:28
Contact:

Re: Where do I sign up?

Post by Timitry »

Wow, that looks awesome! Maquinista, are you around? :D
How long did that one take you?
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Bing [Bot] and 10 guests