Hello everybody!
I'm posting here because it seems it won't fit at the development forums.
Thanks to yagl software I started editing some NewGRF and learning how the code works. What I wanted to do is to edit toyland vehicles parameters and add them to the other climates for more variety. I managed to do that, but then I realized that in temperate (plus artic & tropical) the sprites change to the default vehicles, not showing the original sprites of toyland. Do you have any idea of why is that happening? I'll post a couple of screens, one from a toyland game and one from a temperate one.
The buses modified code have only two lines: one for climate availability and one for starting year.
Thank you very much!
Using toyland vehicles in all climates
Moderator: OpenTTD Developers
- Skarfester
- Engineer
- Posts: 53
- Joined: 07 Jun 2022 02:09
Using toyland vehicles in all climates
- Attachments
-
- Temperate.png (42.92 KiB) Viewed 644 times
-
- Toyland.png (40.32 KiB) Viewed 644 times
- Skarfester
- Engineer
- Posts: 53
- Joined: 07 Jun 2022 02:09
Re: Using toyland vehicles in all climates
Looking at the source code I found that toyland road vehicles sprites are on a separate png file. So probably when playing on temperate, artic or tropical only the base sprites file is used.
Re: Using toyland vehicles in all climates
Try downloading the source code for OpenGFX+ Trains and OpenGFX+ Road Vehicles.Skarfester wrote: ↑09 Jun 2022 17:50 Looking at the source code I found that toyland road vehicles sprites are on a separate png file. So probably when playing on temperate, artic or tropical only the base sprites file is used.
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
- Skarfester
- Engineer
- Posts: 53
- Joined: 07 Jun 2022 02:09
Re: Using toyland vehicles in all climates
Thanks for the suggestion. OpenGFX+ Road Vehicles uses it's own sprite file, 8bpp only.
Anyway, now that I switched to GRVTS32 I was able to reuse the base RV set to fill the gap between 1900-1930, which was my original intention.
Anyway, now that I switched to GRVTS32 I was able to reuse the base RV set to fill the gap between 1900-1930, which was my original intention.
Who is online
Users browsing this forum: No registered users and 20 guests