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: 1802
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, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
User avatar
fridaemon
Traffic Manager
Traffic Manager
Posts: 148
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 392 times
------------------------------------------------------------------------
Image
VERSION 1.1 COMES ON DECEMBER 11th
Beach Objects * Shopping Centres * Shops * Garage Entrances
Modular Warehouses (1.1) * Truck Parking Lots (1.1)

Fridaemon's Objects: viewtopic.php?f=26&t=87596
User avatar
wallyweb
Tycoon
Tycoon
Posts: 5788
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
Traffic Manager
Traffic Manager
Posts: 148
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
VERSION 1.1 COMES ON DECEMBER 11th
Beach Objects * Shopping Centres * Shops * Garage Entrances
Modular Warehouses (1.1) * Truck Parking Lots (1.1)

Fridaemon's Objects: viewtopic.php?f=26&t=87596
User avatar
wallyweb
Tycoon
Tycoon
Posts: 5788
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
Traffic Manager
Traffic Manager
Posts: 148
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
VERSION 1.1 COMES ON DECEMBER 11th
Beach Objects * Shopping Centres * Shops * Garage Entrances
Modular Warehouses (1.1) * Truck Parking Lots (1.1)

Fridaemon's Objects: viewtopic.php?f=26&t=87596
User avatar
fridaemon
Traffic Manager
Traffic Manager
Posts: 148
Joined: 27 Oct 2019 21:06
Contact:

Re: Releasing New Object Graphic - Begginer Tutorial

Post by fridaemon »

Does anyone have a template for snowy roofs? I have few ones, but without the edge of the building they merge with the snowy surroundings ... something more white.
Attachments
6oJ9iDx - Imgur.png
6oJ9iDx - Imgur.png (66.92 KiB) Viewed 171 times
------------------------------------------------------------------------
Image
VERSION 1.1 COMES ON DECEMBER 11th
Beach Objects * Shopping Centres * Shops * Garage Entrances
Modular Warehouses (1.1) * Truck Parking Lots (1.1)

Fridaemon's Objects: viewtopic.php?f=26&t=87596
User avatar
Quast65
Tycoon
Tycoon
Posts: 1802
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: Releasing New Object Graphic - Begginer Tutorial

Post by Quast65 »

fridaemon wrote: 18 Nov 2020 22:16 Does anyone have a template for snowy roofs? I have few ones, but without the edge of the building they merge with the snowy surroundings ... something more white.
Your graphics have 32bpp colors?
If so, you could experiment a bit.
Use the OpenGFX snow-tiles that face the sun. Those are more white than the flat tiles.
Depending on the graphicsprogramme you use, tweak some settings a bit (for example making it a bit darker, or adding a bit of noise, or blurr it a bit), so that they are not exactly the same as the original OpenGFX ones.
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, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
User avatar
fridaemon
Traffic Manager
Traffic Manager
Posts: 148
Joined: 27 Oct 2019 21:06
Contact:

Re: Releasing New Object Graphic - Begginer Tutorial

Post by fridaemon »

Quast65 wrote: 19 Nov 2020 11:40
yess, I have GarryG's 32bit versions templates.
Thanks for an advice. I'll try it...
------------------------------------------------------------------------
Image
VERSION 1.1 COMES ON DECEMBER 11th
Beach Objects * Shopping Centres * Shops * Garage Entrances
Modular Warehouses (1.1) * Truck Parking Lots (1.1)

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

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Google Adsense [Bot] and 10 guests