I made a NewGRF to introduce tea (gross oversight that it wasn't already in the game ) but when I try it I get the message "No vehicles at all available. Change your NewGRF settings." I don't know what's wrong and I don't know how to debug it The in-game console gives me nothing, and neither do debug printouts.
I could use and and all tips for debugging and fixing this.
https://github.com/bjornwarmedal/teapot-love
[TrueGRF] Simple new industry NewGRF not working, how to debug?
Moderator: Graphics Moderators
-
- Engineer
- Posts: 48
- Joined: 26 Sep 2022 09:10
-
- Engineer
- Posts: 48
- Joined: 26 Sep 2022 09:10
Re: [TrueGRF] Simple new industry NewGRF not working, how to debug?
Alright! I found a setting in the yaml files saying "available: false" and set that to true instead and now it works!
... Except it's now the *only* industry on the map...
... Except it's now the *only* industry on the map...
-
- Tycoon
- Posts: 1203
- Joined: 16 Oct 2018 08:31
- Location: Heart of the Highlands. Not Scottish. Czech.
Re: [TrueGRF] Simple new industry NewGRF not working, how to debug?
Sorry, I'm no programmer, but... The game says it clearly, there are no vehicles available. The cargo must also be supported by some set of vehicles, as I understand newgrf's behavior.
- andythenorth
- Tycoon
- Posts: 5656
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: [TrueGRF] Simple new industry NewGRF not working, how to debug?
Since OpenTTD 12, the base vehicles support any newgrf cargo that sets cargo classes.
Prior to OpenTTD 12, the behaviour of base vehicles with newgrf cargos was much less useful.
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
-
- Engineer
- Posts: 48
- Joined: 26 Sep 2022 09:10
Re: [TrueGRF] Simple new industry NewGRF not working, how to debug?
I believe I've figured out what's going on. As I added in my last post I got it to work, but I think the industry NewGRFs from TrueGRF deactivates the default industry set by default to avoid ID collisions. Which is a huge problem for me since I want to add a new industry rather than an entire new set.
I'll have to look at NML or NFO if I want this to work, I believe. And I'll probably need to add a new vehicle set as well since I want it to work with older versions of OpenTTD. The version in the current Debian Stable (Bullseye) is 1.10.3.
I'll have to look at NML or NFO if I want this to work, I believe. And I'll probably need to add a new vehicle set as well since I want it to work with older versions of OpenTTD. The version in the current Debian Stable (Bullseye) is 1.10.3.
-
- Tycoon
- Posts: 1203
- Joined: 16 Oct 2018 08:31
- Location: Heart of the Highlands. Not Scottish. Czech.
Re: [TrueGRF] Simple new industry NewGRF not working, how to debug?
Yes, I didn't write that, because everyone knows that newgrf disables basic graphics.
Who is online
Users browsing this forum: No registered users and 23 guests