Umm?

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

Post Reply
User avatar
ISA
Tycoon
Tycoon
Posts: 3384
Joined: 17 Oct 2005 20:56
Location: Estonia

Umm?

Post by ISA »

What did i make wrong to replace Old SH125 in ttd?
I have green flag in ai, but no train, my noobysh mind cant find mistake

Code: Select all

// Automatically generated by GRFCODEC. Do not modify!
// (Info version 6)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
    0 * 4	 0D 00 00 00
    1 * 8	 08 06 "SH47" 00 00
    2 * 4	 01 00 01 08
    3 e:\gamez\transport\sprites/mytrain.pcx 66 8 01 18 8 -3 -10
    4 e:\gamez\transport\sprites/mytrain.pcx 82 8 09 15 20 -14 -6
    5 e:\gamez\transport\sprites/mytrain.pcx 114 8 01 12 28 -14 -6
    6 e:\gamez\transport\sprites/mytrain.pcx 162 8 09 16 20 -4 -8
    7 e:\gamez\transport\sprites/mytrain.pcx 194 8 01 18 8 -3 -10
    8 e:\gamez\transport\sprites/mytrain.pcx 210 8 09 16 20 -14 -7
    9 e:\gamez\transport\sprites/mytrain.pcx 242 8 01 12 28 -14 -6
   10 e:\gamez\transport\sprites/mytrain.pcx 290 8 09 15 20 -4 -7
   11 * 9	 02 00 00 01 01 00 00 00 00
   12 * 7	 03 00 01 16 00 00 00
   13 * 7	 00 00 01 01 16 12 FD
And why this grfwizard change the hex? ("SH47" in my .nfo). And thies spaces are wrong :?
User avatar
Wile E. Coyote
Tycoon
Tycoon
Posts: 8515
Joined: 08 Jul 2004 22:14
Skype: wile.e.coyote2
Location: Belgrade, Serbia
Contact:

Post by Wile E. Coyote »

If you only want to change sprites (not anything else), use action A.
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.


Runner-up in "Best avatar Forums award" for years 2006 and 2010!
User avatar
Lakie
TTDPatch Developer
TTDPatch Developer
Posts: 1799
Joined: 26 May 2004 16:37
Location: Britain
Contact:

Post by Lakie »

It changed the SH47 because grfcodec will automaticly comvert any hex which is within a certain ASCII character range in the string itself.
It can also compile such a string quite happily.
This is so it's more user friendly and the coder doesn't have to write in string in hex, which was very annoying.
If you want to disbale this, use the parameter -t when using grfcodec.

Are the graphics the same as the SH47 in TTD, if so you will have a hard time trying to tell the diefference.
Try adding an Action4 to change the name to make it more obivous.

Code: Select all

 14 * 10   04 00 1F 01 16 "Test" 00
Hope that helps,
~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Google [Bot] and 28 guests