OpenGFX+ Airport objects
Moderator: Graphics Moderators
OpenGFX+ Airport objects
This weekend, I started teaching myself nml
I wrote some (probably crappy) code to use the opengfx+ airports tiles as objects. In combination with disabling airport fences in the original grf, some nice looking airports could be created.
As of now, they are available on the banana
I wrote some (probably crappy) code to use the opengfx+ airports tiles as objects. In combination with disabling airport fences in the original grf, some nice looking airports could be created.
As of now, they are available on the banana
- Attachments
-
- airportobjects.tar.bz2
- source (GPL)
- (223.69 KiB) Downloaded 766 times
Last edited by zooks on 14 Jan 2013 20:07, edited 5 times in total.
Re: Airport objects
Do the extra airport tiles actually function as a real airport?? Can planes use them like regular airports?
Re: Airport objects
No, as they are objects, not Airports...
It's just EyeCandy!
It's just EyeCandy!
Re: Airport objects
Yes there is.zooks wrote:Is there interest in this? I guess I can share using the same license as opengfx+airports (gpl?)
Did you include the sprites in your grf, or did you reference base set sprites?
If you don't want to add any new sprites, then I recommend the latter method. This way your grf will work with any base set (not just OpenGFX) and the license is free to choose (although GPL is generally recommended).
Either way it's a really nice idea to create this. Well done!
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Airport objects
Very nice, you already got quite far for just having started And yes, there definitely is interest in this set.zooks wrote:This weekend, I started teaching myself nml
(...)
Is there interest in this? I guess I can share using the same license as opengfx+airports (gpl?)
Foobar is absolutely right with the licenses. Like he says, it's feasible to simply reference the base set's sprites (then you can choose any license), but if you actually include OpenGFX' or OpenGFX+Airports' sprites, you're free to do with them what you want as long as you release your work also under the GPL. From a graphical POV, using the sprites from OGFX+Airports might be nicer as you then can offer them aware of the terrain (and you might just "steal" the corresponding code in that case).
Cheers,
pm (co-author of ogfx-airports)
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Airport objects
Thanks! I indeed copied the sprites from OpenGFX+ Airports (I don't guess all rotations are in the base set?). I tried to 'steal' the code but this is that the same as nml? Or does it have some scripting layer on top? So I rewrote most of the code (except for the spritesets). All objects should be snow-aware, but I think some things still need to be made desert-aware as well.planetmaker wrote: Very nice, you already got quite far for just having started And yes, there definitely is interest in this set.
Foobar is absolutely right with the licenses. Like he says, it's feasible to simply reference the base set's sprites (then you can choose any license), but if you actually include OpenGFX' or OpenGFX+Airports' sprites, you're free to do with them what you want as long as you release your work also under the GPL. From a graphical POV, using the sprites from OGFX+Airports might be nicer as you then can offer them aware of the terrain (and you might just "steal" the corresponding code in that case).
Cheers,
pm (co-author of ogfx-airports)
I attached the sources in the first post and the grf can be found on the banana.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Airport objects
Indeed the base sets hardly have all the rotations but only one. The code I linked above indeed needs an additional pre-processing by gcc as that's template code included for many tiles. You find the pre-processed code (thus pure NML) in the log of the automated nightly compile of OpenGFX+Airport on the DevZone's bundle server.zooks wrote: Thanks! I indeed copied the sprites from OpenGFX+ Airports (I don't guess all rotations are in the base set?). I tried to 'steal' the code but this is that the same as nml? Or does it have some scripting layer on top? So I rewrote most of the code (except for the spritesets). All objects should be snow-aware, but I think some things still need to be made desert-aware as well.
Cool, thanksI attached the sources in the first post and the grf can be found on the banana.
Feel also free to apply for a project at the DevZone (where also find the home of OpenGFX+Airports)
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Airport objects
Awesome! This is one more of the "things I'll eventually get around to doing" that I can take off my list! Good job!
As a suggestion, I'd consider naming it OpenGFX+ Airport Objects, so people clearly know which ones these are.
As a suggestion, I'd consider naming it OpenGFX+ Airport Objects, so people clearly know which ones these are.
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Re: Airport objects
Didn't know about that, I guess that would have saved some timeplanetmaker wrote:(..)
You find the pre-processed code (thus pure NML) in the log of the automated nightly compile of OpenGFX+Airport on the DevZone's bundle server.
Does that mean others can take this forward as well? I would like that as I don't always have the time.planetmaker wrote: Feel also free to apply for a project at the DevZone (where also find the home of OpenGFX+Airports)
Thanks I renamed the topickamnet wrote:Awesome! This is one more of the "things I'll eventually get around to doing" that I can take off my list! Good job!
As a suggestion, I'd consider naming it OpenGFX+ Airport Objects, so people clearly know which ones these are.
Re: OpenGFX+ Airport objects
Nice work!
Little suggestion, maybe include some tiles that have OpenGFX planes on them (on the taxi-tiles, the loading pads and maybe also on the landingstrips). That way it looks like the fake airport is operational
Little suggestion, maybe include some tiles that have OpenGFX planes on them (on the taxi-tiles, the loading pads and maybe also on the landingstrips). That way it looks like the fake airport is operational
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.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Airport objects
In short: yes.zooks wrote:Does that mean others can take this forward as well? I would like that as I don't always have the time.planetmaker wrote: Feel also free to apply for a project at the DevZone (where also find the home of OpenGFX+Airports)
Of course that is already principially allowed by you choosing to use GPL
On the DevZone we generally only allow people to commit access to a project, if they got the project creator's / manager's / maintainer's permission (thus here yours) to do so. (though we would of course also host a fork of a project, if someone would want to do that with a project where the license allows modification but the author would like to work on his version only).
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Who is online
Users browsing this forum: Ahrefs [Bot] and 80 guests