Jezulkim needs your help
Moderator: Graphics Moderators
Jezulkim needs your help
How do I replace sprites in the openttd.grf? I'm looking for something like action A.
Last edited by Jezulkim on 04 Feb 2008 16:44, edited 2 times in total.

In order to protect the visitors of this site,
TTO Full Conversion!
This post has been lol 1337 times.
Re: How to replace sprites in openttd.grf?
What you're looking for is Action 5.
No-one's more important than the earthworm.
Re: How to replace sprites in openttd.grf?
Thanks, that's it.
EDIT: I want to replace only one sprite, sprite number 57. How to do this?
EDIT: I want to replace only one sprite, sprite number 57. How to do this?

In order to protect the visitors of this site,
TTO Full Conversion!
This post has been lol 1337 times.
Re: How to replace sprites in openttd.grf?
That's unfortunately not possible. You have to replace the whole set of sprites from the type sprite 57[0] is in.
Currently, only type 14 and 15 support replacement of a single sprite.
[0] Isn't sprite 57 part of the 2nd company colour translation table?
Currently, only type 14 and 15 support replacement of a single sprite.
[0] Isn't sprite 57 part of the 2nd company colour translation table?
Re: How to replace sprites in openttd.grf?
Jezulkim: the action 5 stuff only works in the 0.6.0 betas and the nightlies. And then you can replace the OpenTTD GUI sprites piece by piece fairly simple (the specs describe exactly how to do it).
Re: How to replace sprites in openttd.grf?
Thank you, that explains it.
I was using the openttd.grf that comes with version 0.5.3 and it's the fast forward button.[0] Isn't sprite 57 part of the 2nd company colour translation table?

In order to protect the visitors of this site,
TTO Full Conversion!
This post has been lol 1337 times.
-
- Tycoon
- Posts: 1656
- Joined: 08 Jun 2007 08:00
Re: How to replace sprites in openttd.grf?
erm.. the format has changed.. many times. Suggest you to download nightly and see what's there.
Re: Jezulkim needs your help
I renamed this thread because I'm going to ask more questions.
How do you make vehicles appear before 1920?
How do you make vehicles appear before 1920?


In order to protect the visitors of this site,
TTO Full Conversion!
This post has been lol 1337 times.
Re: Jezulkim needs your help
Action 0, with a property depending on feature. In all cases you have to look for the 'Long format introduction date'. You have to set it after property 00 to take effect.
Feature: property
00 trains: 2A
01 road vehicles: 1F
02 ships: 1A
03 planes: 1A
Feature: property
00 trains: 2A
01 road vehicles: 1F
02 ships: 1A
03 planes: 1A
Re: Jezulkim needs your help
Thanks..
What's the maximum number of train IDs in OpenTTD? Is it same as on TTDP? If it's possible to use more train IDs in OTTD, then how to do it?
EDIT: nevermind, I found out that you can use wagon IDs for trains.
What's the maximum number of train IDs in OpenTTD? Is it same as on TTDP? If it's possible to use more train IDs in OTTD, then how to do it?
EDIT: nevermind, I found out that you can use wagon IDs for trains.

In order to protect the visitors of this site,
TTO Full Conversion!
This post has been lol 1337 times.
Who is online
Users browsing this forum: No registered users and 20 guests