One action to change allignment all sprites?
Moderator: Graphics Moderators
One action to change allignment all sprites?
Is there a simple way to adjust the allignment of all sprites (for example moving them up X pixels) in a GRF, rather than having to change xrel/yrel for every single sprite?
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.

Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
-
- Tycoon
- Posts: 5954
- Joined: 27 Apr 2005 07:09
- Contact:
Re: One action to change allignment all sprites?
You aren´t speaking about the problem to shift sprites up inside the train window? If yes, Y-offset for train sprites will probably help.
regards
Michael
regards
Michael
Re: One action to change allignment all sprites?
Nopes, I'm not talking about the depot view/vehicle list. I already got that piece of code in the GRFMaker file. It's for all xrel,yrel values in all directions (in-game). GRFMaker's default values seem to be a bit off, so I got to move up all the sprites by a few pixels.
Thanks for your help so far
Thanks for your help so far

Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.

Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
Re: One action to change allignment all sprites?
Are they always off the same amount? If so, it should be easy to produce a new version of GRFMaker with other default values.Purno wrote:GRFMaker's default values seem to be a bit off, so I got to move up all the sprites by a few pixels.
Feel free to PM me about ideas for changes in GRFMaker. Nothing much has happened for quite a while, mostly because no-one has given any concrete suggestions what to change.
Re: One action to change allignment all sprites?
It seems like most train sprites could better be placed a few pixels up. Don't know if that's for all directions though. I could investigate a bit more later on. (But changing default values doesn't help for vehicles already alligned to itself (e.g. engines+coaches fit perfectly together now).AndersI wrote:Are they always off the same amount? If so, it should be easy to produce a new version of GRFMaker with other default values.Purno wrote:GRFMaker's default values seem to be a bit off, so I got to move up all the sprites by a few pixels.
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.

Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
Who is online
Users browsing this forum: No registered users and 16 guests