Station Spriteset Limit
Moderator: Graphics Moderators
-
- Engineer
- Posts: 42
- Joined: 26 Dec 2006 12:12
Station Spriteset Limit
This might be a random question, but just curious as to why station newGRFs are limited to 6 sprite sets per station? Is this a legacy limit from the original newGRF spec or just an arbitrary number? Only reason I ask is because I'm currently developing a station set and I want to have the option of "Auto Station" much like in ISR, but this sprite set limitation will allow me to only have a maximum of 6 unique tiles in any given station. I could hack around it by making a freaking huge sprite set with sprites for multiple tile types, but I'd rather not. Anyone have any insights into this?
Re: Station Spriteset Limit
Hmm, where/what is limited to 6?
Do you mean the number of station sprite layouts, which is actually 4 (8 if you count X/Y separately, but that isn't a useful distinction) unless you use the callback to select a different one?
Do you mean the number of station sprite layouts, which is actually 4 (8 if you count X/Y separately, but that isn't a useful distinction) unless you use the callback to select a different one?
He's like, some kind of OpenTTD developer.
-
- Engineer
- Posts: 42
- Joined: 26 Dec 2006 12:12
Re: Station Spriteset Limit
You can use more than 6 sprite layouts per station item, so long as collectively they don't reference more than 6 custom spritesets, otherwise nmlc throws an error on compile saying you can only have 6. Built-in sprites don't count towards the 6.
This pic from the nml wiki on stations has a little note about upto 6 spritesets, but I'm not sure what the reason for the limit is

This pic from the nml wiki on stations has a little note about upto 6 spritesets, but I'm not sure what the reason for the limit is


Who is online
Users browsing this forum: No registered users and 2 guests