AuzObjects

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

User avatar
kamnet
Moderator
Moderator
Posts: 7695
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: AuzObjects

Post by kamnet »

As can be seen in the image .. some houses do not align properly to roads. Was hoping front of house faced the roads.
Consult with Aegir/Reldred. He should know this issue pretty well.
User avatar
GarryG
Tycoon
Tycoon
Posts: 4427
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: AuzObjects

Post by GarryG »

GarryG wrote: 06 Oct 2021 08:40 Consult with Aegir/Reldred. He should know this issue pretty well.
I will consult Aegir/Reldred soon. First I see what I can figure out first .. been experimenting and manage to code some as 32 bit.

So I just might figure out the rest.

Cheers pal
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
User avatar
Aegir
Tycoon
Tycoon
Posts: 2827
Joined: 09 Feb 2004 10:02
Contact:

Re: AuzObjects

Post by Aegir »

I HAVE BEEN SUMMONED

Unfortunately can't really help - I do everything in NFO rather than NML and I haven't personally done buildings-facing-road yet but fundamentally from what I understand it's just more varaction2 chains similar to how snow graphics, construction stages, etc. are done except you're looking at adjacent tiles. If Fridaemon gets carried away and makes some sprite variations that need the feature I guess I'll sit down and work it out.

As a side note; all of my source is up on my github, but as I said - it's all NFO instead of NML. Might not be useful.
Former NewGRF Coder and Sprite Artist.

Currently working under the name 'reldred' on Github, IRC and Discord.

14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
User avatar
GarryG
Tycoon
Tycoon
Posts: 4427
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: AuzObjects

Post by GarryG »

Aegir wrote: 07 Oct 2021 05:03 I HAVE BEEN SUMMONED
Thank you kindly for summoning :D Much appreciated.

If I successful making thi adon town set .. have you any buildings you like to add? .. I got some sample coding for sizes 1X1 | 1X2 | 2X1 | 2X2

Any ne have some town source that I could look at?

Not been able to find any town sets with source as they all seem to be Creative Commons.

What I found on internet I afraid I not quit understand it. Found 2 reference to directions .. not sure if either of them what I need, and when tried they not worked .. probably because I coded it in wrong.

House variables
house_tile HOUSE_TILE_XXX, XXX = [NORTH | EAST | WEST | SOUTH] What tile of a multi-tile house this is.
House callbacks
graphics_xxx, xxx = [north | east | south | west] Sprite layout Tile-specific graphics for one of the tiles of a multi-tile house. Of course, this is callback is called for that tile only.
Can any one provide me with a sample if these commands I need and how to use them.

Much appreciated.

Cheers all
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
User avatar
Aegir
Tycoon
Tycoon
Posts: 2827
Joined: 09 Feb 2004 10:02
Contact:

Re: AuzObjects

Post by Aegir »

GarryG wrote: 07 Oct 2021 05:56Any ne have some town source that I could look at?

Not been able to find any town sets with source as they all seem to be Creative Commons.
Disregard any licenses you see on my work GarryG, I hereby grant you permission to steal/modify/abuse my code as you desire and license any derivative code as you wish. The licensing really is there from the perspective of the artwork more than anything, and in the case of NABS the license preserves the 'original intent' of the artists as best as I can since none of the artists can be reached anymore. All of my code is up for grabs.
Former NewGRF Coder and Sprite Artist.

Currently working under the name 'reldred' on Github, IRC and Discord.

14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
User avatar
GarryG
Tycoon
Tycoon
Posts: 4427
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: AuzObjects

Post by GarryG »

GarryG wrote: 07 Oct 2021 05:56 Disregard any licenses you see on my work GarryG, I hereby grant you permission to steal/modify/abuse my code as you desire and license any derivative code as you wish.
Appreciated.

I think I found what I looking for as I have the source to "ogfx-mars-houses" and there its bits in that that might be what I looking for.

But have to allow my son to use computer now to do some college studies. I shall return in about 4 hours time to test what I found.

Cheers
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
User avatar
GarryG
Tycoon
Tycoon
Posts: 4427
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: AuzObjects

Post by GarryG »

AuzTownSet .. add ons


What a bummer .. I just tested 2 house see if can get them to face roads .. and it did not work .. well it might have worked, except when I loaded a game to test those 2 houses I looking at wrong house and not the ones I coded. So I deleted what I did and then realized my mistake. So I try again tomorrow.

Cheers all
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
wyndbain
Engineer
Engineer
Posts: 41
Joined: 31 Dec 2019 21:25

Re: AuzObjects

Post by wyndbain »

Hey, anothere weird request inbound......
Do u rekon u could do a road sign/fence tile maybe?
Bit like this for finger posts:
Image
And like this but with a fence behind
Image
I'm trying to do some junctions but if you leave a 1 tile gap it doesn't exactly look great without the signs.....
Image
I'm in the ghetto


Ratatata
User avatar
kamnet
Moderator
Moderator
Posts: 7695
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: AuzObjects

Post by kamnet »

wyndbain wrote: 07 Oct 2021 15:02 Do u rekon u could do a road sign/fence tile maybe?
If GarryG doesn't (he probably will, because he's a softie like that! ;) ), Dutch Road Furniture has these things.
wyndbain
Engineer
Engineer
Posts: 41
Joined: 31 Dec 2019 21:25

Re: AuzObjects

Post by wyndbain »

kamnet wrote: 07 Oct 2021 18:52
wyndbain wrote: 07 Oct 2021 15:02 Do u rekon u could do a road sign/fence tile maybe?
If GarryG doesn't (he probably will, because he's a softie like that! ;) ), Dutch Road Furniture has these things.
Yeah but unfortunately they don't have the ones with the fences/walls on the same tile :cry:
I'm in the ghetto


Ratatata
User avatar
GarryG
Tycoon
Tycoon
Posts: 4427
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: AuzObjects

Post by GarryG »

wyndbain wrote: 07 Oct 2021 15:02 Hey, anothere weird request inbound......
Do u rekon u could do a road sign/fence tile maybe?
kamnet wrote: 07 Oct 2021 18:52 If GarryG doesn't (he probably will, because he's a softie like that! ), Dutch Road Furniture has these things.
I do have some finger boards in my road object set without fences.

That could be arranged, but before I start what fences do players use along country roads .. as I have heaps of fence types. Australia not a problem that mainly use barb wire fence. But it the other countries like what you wyndbain used.
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
User avatar
GarryG
Tycoon
Tycoon
Posts: 4427
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: AuzObjects

Post by GarryG »

[quote]AuzTownSet .. add ons[/quote][/b]

Looks like me idea having front of building face a road .. not work. I looked at default town sets and they don't all face a road. But when I look at those builds and ones I have .. all views are front facing. Have none looking at back of the building.

I will try again at a later date as I better go back any finish some other projects first.

I shall return
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
wyndbain
Engineer
Engineer
Posts: 41
Joined: 31 Dec 2019 21:25

Re: AuzObjects

Post by wyndbain »

GarryG wrote: 08 Oct 2021 01:19
wyndbain wrote: 07 Oct 2021 15:02 Hey, anothere weird request inbound......
Do u rekon u could do a road sign/fence tile maybe?
kamnet wrote: 07 Oct 2021 18:52 If GarryG doesn't (he probably will, because he's a softie like that! ), Dutch Road Furniture has these things.
I do have some finger boards in my road object set without fences.

That could be arranged, but before I start what fences do players use along country roads .. as I have heaps of fence types. Australia not a problem that mainly use barb wire fence. But it the other countries like what you wyndbain used.
Well idk about others but I use stone hedges because the look ok but security fences and pickett fences would also work quite well.

Edit: Deffo some hedge types, just had a look and all of them would be a good fit.
I'm in the ghetto


Ratatata
User avatar
GarryG
Tycoon
Tycoon
Posts: 4427
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: AuzObjects

Post by GarryG »

Are you just after finger boards or are you also after warning signs such as cross roads ahead! Speed signs, curve ahead, things like that?

I not at my computer aga in till morning so can't show you images of those signs that I mentioned.
The signs and finger boards will need to be overlaps so they be on the road side of the fence. I not do this to all fence, just a few.
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
wyndbain
Engineer
Engineer
Posts: 41
Joined: 31 Dec 2019 21:25

Re: AuzObjects

Post by wyndbain »

GarryG wrote: 08 Oct 2021 13:12 Are you just after finger boards or are you also after warning signs such as cross roads ahead! Speed signs, curve ahead, things like that?

I not at my computer aga in till morning so can't show you images of those signs that I mentioned.
The signs and finger boards will need to be overlaps so they be on the road side of the fence. I not do this to all fence, just a few.
A few fences is plenty enough.
Personally I would like fingerboards main road signs and speed signs. If its too much hassle then just junctions and finger boards.
I'm in the ghetto


Ratatata
User avatar
GarryG
Tycoon
Tycoon
Posts: 4427
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: AuzObjects

Post by GarryG »

AuzRattRoadObjects and AuzFencesObjects


Had a practice with some fences and finger boards. Did stone, hedge, wire and split paling fences.

The fence slightly out of alignment compared to other fences. So some fixing to do.
fingerpost with fences.png
fingerpost with fences.png (20.28 KiB) Viewed 574 times
I was hoping to put these in both the AuzRattRoadObjects and AuzFencesObjects so easy to find.

Both are almost full. AuzRattRoadObjects has room for only 10 more and AuzFencesObjects room for 4 more objects.

I think the best way around this is for a new object set just with Road Signs.

But for now the 4 I did I will fixed the alignment (which could be a few days before I get another chance) and add them to the 2 objects sets mentioned above.

And later see what I can do about a new object set just for road signs.

Cheers

EDIT:

I fixed the alighment problem .. it was only with the stone fences. So you can give these 4 fences with signal post a try.

These are Multi select with 5 of each direction to choose from.
Attachments
AuzFencesObjects.grf
(5.38 MiB) Downloaded 24 times
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
User avatar
GarryG
Tycoon
Tycoon
Posts: 4427
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: AuzObjects

Post by GarryG »

AuzRoadSignObjects


I been fiddling around with road signs.

The ones I have in AuRattRoadObjects I coded them in Multi Tile Select to try to find room for them to have make some with fences as "wyndbain" suggested.

It created room but not enough spare IDs to add several fence types. (Hope I explained that ok).

So I started a new newgrf file .. at the moment it is called AuzRoadSignsObjects.

I created a set of UK and US road signs without fences .. and now looking at making some with different fences.

I was using the internet and google earth to travel along roads in Australia. And some sharp corners gave me a idea.

So I made 2 sets of safety guides for curves.
Curved Safety Guides.png
Curved Safety Guides.png (36.89 KiB) Viewed 474 times
On left have signs and the crash barrier .. on right with no crash barrier.

Not sure the correct names for these .. any road workers out there who ca tell me the correct names for these appreciated.

Cheers all
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
User avatar
GarryG
Tycoon
Tycoon
Posts: 4427
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: AuzObjects

Post by GarryG »

AuzRoadSignObjects


Experimenting with crash barriers on hilly roads.

This result so far. (One barrier out of alignment which I fixed tomorrow).
hILLY rOADS 2.png
hILLY rOADS 2.png (30.71 KiB) Viewed 397 times
Wonder if a set with retaining walls would go good as well as some with stone, wire and maybe split rail fences.

EDIT: The road is the Highway from RattRoads I using that road to align the edges better.
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
temporal8
Traffic Manager
Traffic Manager
Posts: 130
Joined: 17 May 2019 14:15

Re: AuzObjects

Post by temporal8 »

GarryG wrote: 06 Oct 2021 08:40
AuzTownObject
s

How can I add the following:

* Make the building align the front with a road? I tried this but would not accept it.

* How to add 32 bit graphics
Garry, check my topic, there are some code examples to detect /align with the streets and 32 bit graphics, it works fine for left, right, up, down but fail with corners. It will work for what you are looking for.

viewtopic.php?f=68&t=87786
User avatar
GarryG
Tycoon
Tycoon
Posts: 4427
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: AuzObjects

Post by GarryG »

temporal8 wrote: 13 Oct 2021 15:07 Garry, check my topic, there are some code examples to detect /align with the streets and 32 bit graphics, it works fine for left, right, up, down but fail with corners. It will work for what you are looking for.
Much appreciated .. hope to work on this over the weekend.

Cheers
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 10 guests