Questions about coding and drawing

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

perverted monkey
Traffic Manager
Traffic Manager
Posts: 161
Joined: 02 Mar 2009 02:07

Re: Releasing New Object Graphic - Begginer Tutorial

Post by perverted monkey »

I may sound boring to repeat myself, but what else can I say?
Nice artwork! The entries blend perfectly with the other sprites.
User avatar
fridaemon
Director
Director
Posts: 630
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: Releasing New Object Graphic - Begginer Tutorial

Post by fridaemon »

It doesn't sounding boring. It motivates me in creating it :lol: Glad u like it :)
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
User avatar
Quast65
Tycoon
Tycoon
Posts: 2661
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: Releasing New Object Graphic - Begginer Tutorial

Post by Quast65 »

Very nice! :bow:
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
Director
Director
Posts: 630
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: Releasing New Object Graphic - Begginer Tutorial

Post by fridaemon »

Quast65 wrote: 28 Aug 2020 09:07 Very nice! :bow:
Thaaaaanks :)
Btw where is your screenshot to August competition. End of the month is coming! :)
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
User avatar
fridaemon
Director
Director
Posts: 630
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: Releasing New Object Graphic - Begginer Tutorial

Post by fridaemon »

Image
Now I have 4 types walls for 4 types of roads. I'd like to create snowy version and another 90° view. Thinkin about adding lamps and signs. Tried it, but not sure about this. Or do you like it raw? :lol:

Image
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
User avatar
Quast65
Tycoon
Tycoon
Posts: 2661
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: Releasing New Object Graphic - Begginer Tutorial

Post by Quast65 »

Both ;-)

Thing is though with adding signs, is that not everyone drives on the same side of the road…
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
Emperor Jake
Tycoon
Tycoon
Posts: 3427
Joined: 24 Apr 2007 09:37
Skype: Discord: Emperor Jake #4106
Location: Not Actually Japan
Contact:

Re: Releasing New Object Graphic - Begginer Tutorial

Post by Emperor Jake »

They look great, though a single lane version would be welcome too :)
User avatar
fridaemon
Director
Director
Posts: 630
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: Releasing New Object Graphic - Begginer Tutorial

Post by fridaemon »

Emperor Jake wrote: 31 Aug 2020 03:38 They look great, though a single lane version would be welcome too :)
It's in my plans :) I wanna do these entries for industry and for my shopping centres. For trucks/cars and for people.
Attachments
Entry - Demo
Entry - Demo
qjwvXns.png (51.07 KiB) Viewed 2280 times
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
User avatar
fridaemon
Director
Director
Posts: 630
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: Releasing New Object Graphic - Begginer Tutorial

Post by fridaemon »

Quast65 wrote: 29 Aug 2020 23:13
You're right .. So I'll add just lamps and height limit sign ;)
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
User avatar
Quast65
Tycoon
Tycoon
Posts: 2661
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: Releasing New Object Graphic - Begginer Tutorial

Post by Quast65 »

Interesting!

The graphics of the single tile entries could also be handy for this project:
viewtopic.php?f=67&t=86956&p=1235154#p1235154
To expand that GRF with for example mail, goods and other cargo's for cities that are mostly built from eyecandy pieces that dont generate/accept cargo's.

A single-tile industry set has always been on my wishlist, but I couldnt think of good graphics for that (I think that loads of statues may become too boring), but entries may be the answer!
With different colored walls and/or gates showing the difference of what cargo is accepted/produced.

Just quoting 2TallTyler to alert him of this thread ;-)
2TallTyler wrote: 22 Apr 2020 01:05
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
OzTrans
Tycoon
Tycoon
Posts: 1680
Joined: 04 Mar 2005 01:07

Re: Releasing New Object Graphic - Begginer Tutorial

Post by OzTrans »

Quast65 wrote: 29 Aug 2020 23:13... Thing is though with adding signs, is that not everyone drives on the same side of the road ...
Provide 2 sets of sprites; one for right hand drive the other for left hand drive. Use variable 0x86 with an Action-7/9 to skip the one or the other.

Code: Select all

86	B	Road traffic side: bit 4 clear=left, set=right
User avatar
fridaemon
Director
Director
Posts: 630
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: Releasing New Object Graphic - Begginer Tutorial

Post by fridaemon »

Quast65 wrote: 31 Aug 2020 09:48
Thanks ;) Very good idea ;) I use your Plaza (etc...) as Industries and sometimes I covered it by overlapping object, for example like here:
Image

So I appreciate this idea ;)
OzTrans wrote: 31 Aug 2020 09:57
I understand what you mean but for now I have no idea like to do it :) For now I create basic set and later I update it with your proposal and I'd like to animate few objects from my set.
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
User avatar
2TallTyler
Route Supervisor
Route Supervisor
Posts: 506
Joined: 11 Aug 2019 18:15
Contact:

Re: Releasing New Object Graphic - Begginer Tutorial

Post by 2TallTyler »

Thanks for tagging me. I’m not taking on any new projects right now, but you’re welcome to use my code.
User avatar
fridaemon
Director
Director
Posts: 630
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: Releasing New Object Graphic - Begginer Tutorial

Post by fridaemon »

2TallTyler wrote: 31 Aug 2020 15:41
Thank you, I hope I'll use it in next months ;)

Just finished another shopping market. XXXLutz in combination with my underground garage entry, AuzCarParks and City Objects.
Attachments
XXXLutz
XXXLutz
wJfekpG - Imgur.png (97.66 KiB) Viewed 2013 times
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
User avatar
fridaemon
Director
Director
Posts: 630
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: Releasing New Object Graphic - Begginer Tutorial

Post by fridaemon »

Would you like to buy a new car? New car shop has just opened!
Attachments
1
1
stTcZYs - Imgur.png (72.59 KiB) Viewed 1946 times
2
2
rew1thrnzcn51.png (71.51 KiB) Viewed 1946 times
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
User avatar
fridaemon
Director
Director
Posts: 630
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: Releasing New Object Graphic - Begginer Tutorial

Post by fridaemon »

Have a problem with this template.

Can someone give me template and codes for this position?
Image

I have a wrong one. It works but with error duing conversions.
Image
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: Releasing New Object Graphic - Begginer Tutorial

Post by wallyweb »

fridaemon wrote: 16 Sep 2020 08:09 Have a problem with this template.

Can someone give me template and codes for this position?
Image

I have a wrong one. It works but with error duing conversions.
Image
I don't know NML but I can see that the error repeats for each of the four positions.
Start by looking at the code at line 108. The error suggests that [x: 5, y: 5] is wrong. Are those really the coordinates on your spritesheet "gfx/slopehigh_8.png" ?
User avatar
fridaemon
Director
Director
Posts: 630
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: Releasing New Object Graphic - Begginer Tutorial

Post by fridaemon »

I know that's the reason - different spritesheet for the template. And I need to get right one from somewhere :)
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: Releasing New Object Graphic - Begginer Tutorial

Post by wallyweb »

fridaemon wrote: 16 Sep 2020 09:16 I know that's the reason - different spritesheet for the template. And I need to get right one from somewhere :)
Can you change the values for x,y in your template to match those used by the spritesheet that you have?
Alternatively, can you alter the spritesheet that you have?
User avatar
fridaemon
Director
Director
Posts: 630
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: Releasing New Object Graphic - Begginer Tutorial

Post by fridaemon »

wallyweb wrote: 16 Sep 2020 09:48
fridaemon wrote: 16 Sep 2020 09:16 I know that's the reason - different spritesheet for the template. And I need to get right one from somewhere :)
Can you change the values for x,y in your template to match those used by the spritesheet that you have?
Alternatively, can you alter the spritesheet that you have?
I'll try to get numbers for it on the weekend ...
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 52 guests