About displaying industry names with NewGRF

Discussions about the technical aspects of graphics development, including NewGRF tools and utilities.

Moderator: Graphics Moderators

Post Reply
User avatar
GuilhermeJK
Engineer
Engineer
Posts: 55
Joined: 01 Nov 2014 05:24
Location: São José dos Campos, Brazil

About displaying industry names with NewGRF

Post by GuilhermeJK »

Hello guys. I would like to display industry names above them on the map by making a new NewGRF, but I haven't found a way to do it (I am new to coding NewGFR). I have found that it is possible to do this via Game Script, as GS CityController v6 did this (link to thread), but is it possible to do it with a NewGRF? If it is, have anyone done it?
frosch
OpenTTD Developer
OpenTTD Developer
Posts: 991
Joined: 20 Dec 2006 13:31
Location: Aschaffenburg

Re: About displaying industry names with NewGRF

Post by frosch »

Yes, you can do that with a Game Script.

You cannot place signs with NewGRFs. You could only possibly include a text/symbol in the graphics, but that will of course not show up in the signs list or similar. Industries will only show in the industry list.
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
User avatar
GuilhermeJK
Engineer
Engineer
Posts: 55
Joined: 01 Nov 2014 05:24
Location: São José dos Campos, Brazil

Re: About displaying industry names with NewGRF

Post by GuilhermeJK »

Guess I will try to do small game scripts then, thanks for the answer mate!
Post Reply

Return to “NewGRF Technical Discussions”

Who is online

Users browsing this forum: No registered users and 19 guests