Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.
Moderator: Graphics Moderators
- Posts: 6
- Joined: 29 Oct 2019 05:49
Can someone give me an example of how to use callbacks? I read wiki but not really understood.
I want to overwrite default capacity of road vehicle. This means that I need to use calback 15 (CB 15) but don't know how to use it
- OpenTTD Developer
- Posts: 9377
- Joined: 07 Nov 2007 22:44
- Location: Sol d
I moved this to the graphics development sub-forum where it should be and hopefully will attract more responses.
What language do you use? There is a few options in programming languages for NewGRFs: Plain NFO? NML? Something else?
You might want to browse some of the repositories for NewGRFs found on the DevZone, e.g. https://kallithea.openttdcoop.org
in search for several examples.
- Graphics Moderator
- Posts: 5459
- Joined: 13 Sep 2004 13:21
- Location: The Moon
Furthermore, starting multiple topics for the same question isn't going to get you better or quicker answers.
Users browsing this forum: No registered users and 6 guests