Releasing New Object Graphic - Begginer Tutorial

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
Quast65
Tycoon
Tycoon
Posts: 1757
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: Releasing New Object Graphic - Begginer Tutorial

Post by Quast65 »

Judging by the name of the graphics (especially the _8 part) and the error, I think the issue is with the 8bpp graphics.
So the ones that have a white background and blue box.
Check if the blue boxes are all indeed on the X-Y positions (the upper-left point) as stated in the code for that template.

The reason it does code without showing errors is because if you provide 32bpp graphics, the 8bpp graphics wont show up.
Otherwise you would have seen some white areas ingame.
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.

User avatar
fridaemon
Engineer
Engineer
Posts: 90
Joined: 27 Oct 2019 21:06
Contact:

Re: Releasing New Object Graphic - Begginer Tutorial

Post by fridaemon »

Hello people! :)

Is here someone who has CODES and TEMPLATES for MULTISELECT 9ITEMS MENU with 2x1 and 2x2 tiles? Have only 1x1 version, and now I need it for garage entrances...
Attachments
ezgif-3-edea5cba0c1b.gif
ezgif-3-edea5cba0c1b.gif (11.75 MiB) Viewed 161 times
------------------------------------------------------------------------
Image
IN VERSION 1.0 YOU CAN EXCEPT:
Beach Objects * Shopping Centres * Shops
Underground Passenger Entrances * Garage Entrances

Fridaemon's Objects: viewtopic.php?f=26&t=87596

User avatar
wallyweb
Tycoon
Tycoon
Posts: 5767
Joined: 27 Nov 2004 15:05
Location: Canada

Re: Releasing New Object Graphic - Begginer Tutorial

Post by wallyweb »

fridaemon wrote:
04 Oct 2020 08:11
Hello people! :)

Is here someone who has CODES and TEMPLATES for MULTISELECT 9ITEMS MENU with 2x1 and 2x2 tiles? Have only 1x1 version, and now I need it for garage entrances...
In NML or NFO or m4nfo?

User avatar
fridaemon
Engineer
Engineer
Posts: 90
Joined: 27 Oct 2019 21:06
Contact:

Re: Releasing New Object Graphic - Begginer Tutorial

Post by fridaemon »

wallyweb wrote:
04 Oct 2020 10:06
NML pleeease ;)
------------------------------------------------------------------------
Image
IN VERSION 1.0 YOU CAN EXCEPT:
Beach Objects * Shopping Centres * Shops
Underground Passenger Entrances * Garage Entrances

Fridaemon's Objects: viewtopic.php?f=26&t=87596

User avatar
wallyweb
Tycoon
Tycoon
Posts: 5767
Joined: 27 Nov 2004 15:05
Location: Canada

Re: Releasing New Object Graphic - Begginer Tutorial

Post by wallyweb »

fridaemon wrote:
04 Oct 2020 10:43
wallyweb wrote:
04 Oct 2020 10:06
NML pleeease ;)
Unfortunately I only do NFO, but what you want should be possible. A template would be structured something like this:
1. Assemble each multitile object
2. Assemble the object assemblies into a random selector
3. Add the random selector to your menu structure.

User avatar
fridaemon
Engineer
Engineer
Posts: 90
Joined: 27 Oct 2019 21:06
Contact:

Re: Releasing New Object Graphic - Begginer Tutorial

Post by fridaemon »

wallyweb wrote:
04 Oct 2020 11:21
maybe I'll try later when I have more experience. It would be complicated for me now. I wrote to zero.eight who created VAST objects and he has this variation in set. But he is inactive for 6 years here. :shock:
------------------------------------------------------------------------
Image
IN VERSION 1.0 YOU CAN EXCEPT:
Beach Objects * Shopping Centres * Shops
Underground Passenger Entrances * Garage Entrances

Fridaemon's Objects: viewtopic.php?f=26&t=87596

Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 10 guests