Hello, I was wondering if I can make the certain newgrf objects have their own custom foundation?
Regardless of the original or custom foundations that is used for the rest of the game.
Thanks.
Custom object Foundations?
Moderator: Graphics Moderators
Custom object Foundations?
Real Projects 32bpp releases:
Real Semi Trucks 32bpp: viewtopic.php?t=90996
Real Houses Eyecandy Objects 32bp: viewtopic.php?t=90767
Real Ships 32bpp: viewtopic.php?t=90733
Real Industries 32bpp: viewtopic.php?t=90183
Real Houses Townset 32bp: viewtopic.php?p=1254605
Real Stations 32bpp: viewtopic.php?p=1255635
Real Cars 32bpp: viewtopic.php?p=1249244
Real Vehicles 32bpp: viewtopic.php?p=1253581
Real Bus 32bpp: viewtopic.php?p=1249245
Real Trucks 32bpp: viewtopic.php?p=1254468
Real Parks 32bpp: viewtopic.php?p=1250255
Argentina World Cup 2022 Champions Bus 32bpp viewtopic.php?p=1257026
Real Semi Trucks 32bpp: viewtopic.php?t=90996
Real Houses Eyecandy Objects 32bp: viewtopic.php?t=90767
Real Ships 32bpp: viewtopic.php?t=90733
Real Industries 32bpp: viewtopic.php?t=90183
Real Houses Townset 32bp: viewtopic.php?p=1254605
Real Stations 32bpp: viewtopic.php?p=1255635
Real Cars 32bpp: viewtopic.php?p=1249244
Real Vehicles 32bpp: viewtopic.php?p=1253581
Real Bus 32bpp: viewtopic.php?p=1249245
Real Trucks 32bpp: viewtopic.php?p=1254468
Real Parks 32bpp: viewtopic.php?p=1250255
Argentina World Cup 2022 Champions Bus 32bpp viewtopic.php?p=1257026
Re: Custom object Foundations?
Short answer, yes
I cant provide you the complete long answer, but to help you along the way:
- You need to provide the foundations within your graphics.
- Depending on what you want, you may need to use flag OBJ_FLAG_NO_FOUNDATIONS
For example, you may want a house on a slope with pylons as foundations (so that you still can see the slope underneath), for that you need the flag so that the game-foundations are invisible.
EDIT: I am not too sure about this though...
-Now comes the tricky part...
You need to make your object slope-aware, so that they can only be built on the slopes (or also the flat tile) that you provide graphics for.
With this I cant help you, but it is achievable.
You may know the ingame-warning something like: OBJECT CANT BE BUILT ON THIS SLOPE, thats this thing
Sorry I cant be of more help, but at least you know that it can be done
I cant provide you the complete long answer, but to help you along the way:
- You need to provide the foundations within your graphics.
- Depending on what you want, you may need to use flag OBJ_FLAG_NO_FOUNDATIONS
For example, you may want a house on a slope with pylons as foundations (so that you still can see the slope underneath), for that you need the flag so that the game-foundations are invisible.
EDIT: I am not too sure about this though...
-Now comes the tricky part...
You need to make your object slope-aware, so that they can only be built on the slopes (or also the flat tile) that you provide graphics for.
With this I cant help you, but it is achievable.
You may know the ingame-warning something like: OBJECT CANT BE BUILT ON THIS SLOPE, thats this thing
Sorry I cant be of more help, but at least you know that it can be done
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.
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.
Re: Custom object Foundations?
Thanks pal, I'm going to investigate it.
Real Projects 32bpp releases:
Real Semi Trucks 32bpp: viewtopic.php?t=90996
Real Houses Eyecandy Objects 32bp: viewtopic.php?t=90767
Real Ships 32bpp: viewtopic.php?t=90733
Real Industries 32bpp: viewtopic.php?t=90183
Real Houses Townset 32bp: viewtopic.php?p=1254605
Real Stations 32bpp: viewtopic.php?p=1255635
Real Cars 32bpp: viewtopic.php?p=1249244
Real Vehicles 32bpp: viewtopic.php?p=1253581
Real Bus 32bpp: viewtopic.php?p=1249245
Real Trucks 32bpp: viewtopic.php?p=1254468
Real Parks 32bpp: viewtopic.php?p=1250255
Argentina World Cup 2022 Champions Bus 32bpp viewtopic.php?p=1257026
Real Semi Trucks 32bpp: viewtopic.php?t=90996
Real Houses Eyecandy Objects 32bp: viewtopic.php?t=90767
Real Ships 32bpp: viewtopic.php?t=90733
Real Industries 32bpp: viewtopic.php?t=90183
Real Houses Townset 32bp: viewtopic.php?p=1254605
Real Stations 32bpp: viewtopic.php?p=1255635
Real Cars 32bpp: viewtopic.php?p=1249244
Real Vehicles 32bpp: viewtopic.php?p=1253581
Real Bus 32bpp: viewtopic.php?p=1249245
Real Trucks 32bpp: viewtopic.php?p=1254468
Real Parks 32bpp: viewtopic.php?p=1250255
Argentina World Cup 2022 Champions Bus 32bpp viewtopic.php?p=1257026
Who is online
Users browsing this forum: No registered users and 3 guests