Hello,
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
Thanks
how to use callback
Moderator: Graphics Moderators
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: how to use callback
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.
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.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: how to use callback
Furthermore, starting multiple topics for the same question isn't going to get you better or quicker answers.
Who is online
Users browsing this forum: Ahrefs [Bot] and 7 guests