Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Thu Jun 22, 2017 8:42 pm

All times are UTC




Post new topic  Reply to topic  [ 31 posts ]  Go to page 1 2 Next
Author Message
PostPosted: Sun Oct 23, 2011 7:13 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 09, 2011 1:51 pm
Posts: 1334
Location: The Netherlands
I have found a way to make a seaplane airport available in trunk and buildable in seas or lakes!
It took some work editing some existing GRF's (mainly the small airport tiles in the Total Town Replacement set) and using some NewObject watertiles to keep the sea out of the airport and I'll admit it's not very pretty yet, but it works. I don't know what settings I have to change in the NFO so that it will only accept seaplanes, so for the time being all planes can land there. See picture below for screenshot. I'll post pictures of how I built it in the next post.

Airplane artists start drawing seaplanes!!!!

I am not sure about copyrights and so on, so I wont put the GRF up yet, can someone advise on what path I should follow to make sure I dont break any copyright rules?

UPDATE: Made a GRF, with a totally stripped airport, ideas for graphics are very welcome! Read grf description on how to build, or read this thread.

UPDATE: V1.1 released, without windsock (parameter will put it back)

UPDATE: The grf can be found here: viewtopic.php?f=26&t=57133&p=1037438#p1037438


Attachments:
File comment: Testversion
Seaplaneport01.png
Seaplaneport01.png [ 19.87 KiB | Viewed 12333 times ]
seaplaneairport_v1_1.grf [8.46 KiB]
Downloaded 635 times
File comment: Version 1.1
Seaplaneport03.png
Seaplaneport03.png [ 19.34 KiB | Viewed 11117 times ]

_________________
Projects: viewtopic.php?f=26&t=57266
Screenshots: viewtopic.php?f=47&t=56959

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.


Last edited by Quast65 on Wed Aug 01, 2012 12:26 pm, edited 6 times in total.
Top
   
PostPosted: Sun Oct 23, 2011 7:14 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 09, 2011 1:51 pm
Posts: 1334
Location: The Netherlands
In this post I will explain what I have done.

I have edited all the small airporttiles from the Total Town Replacement set so that they look like watertiles (all animated), also the inside of the hangar is water now. I've drawn some simple docks for the airplanes to load on and off.
I have also used a parameter in the Combined Airport Set GRF to make the fences disappear.

I have used SAC's newobjects GRF to make the keyside look more modern.

And finally I have found a GRF somewhere in the Forum that let's you place watertiles as New-Objects. This is the key to success, these tiles keep the water out. So, if you want you could build this airport in the middle of the ocean.

And that's all! :D


Attachments:
File comment: First pause the game and clear the sea
seaportstep01.png
seaportstep01.png [ 44.33 KiB | Viewed 12308 times ]
File comment: Secondly place NewObject watertiles around the airport, build a road or whatever you want on the slope to seal it off
seaportstep02.png
seaportstep02.png [ 50.64 KiB | Viewed 12308 times ]
File comment: Finally, place the airport and let the game run again. The water wont flood the airport
seaportstep03.png
seaportstep03.png [ 58.07 KiB | Viewed 12308 times ]

_________________
Projects: viewtopic.php?f=26&t=57266
Screenshots: viewtopic.php?f=47&t=56959

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.


Last edited by Quast65 on Sun Oct 23, 2011 7:38 pm, edited 1 time in total.
Top
   
PostPosted: Sun Oct 23, 2011 7:21 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Fri Feb 27, 2004 8:03 pm
Posts: 3902
Location: Ontario, Canada
Looking for the *like* button... Very cool

_________________
Regards,

Dan MacKellar
================
Projects in Progress
North American Renewal Train Set Topic,Canadian Train Set Website, Canadian Train Set Development Topic, Finnish Train Set Website,Visit my Train Gifs Site
Image
CN Boxcar drawn by Dave Hersrud


Top
   
PostPosted: Sun Oct 23, 2011 8:09 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 09, 2011 1:51 pm
Posts: 1334
Location: The Netherlands
Thank you!

The key element here is the watertile NewObjec that keeps the airport from flooding, it can be found here:

http://www.tt-forums.net/viewtopic.php?f=26&t=49450&hilit=hydrodam&start=20

I dont really have the knowledge to code and draw a GRF that only replaces the small airport (as I stated before, I've edited the Total Town replacement GRF, so all the other changes are there too), I hope someone can pick this idea up and make it into a pretty (even though it is very wet) airport :D

_________________
Projects: viewtopic.php?f=26&t=57266
Screenshots: viewtopic.php?f=47&t=56959

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.


Top
   
PostPosted: Sun Oct 23, 2011 8:51 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon May 21, 2007 11:47 am
Posts: 6559
Location: The Netherlands
I guess on could code an additional small-water-airport.

Nice approach though. I like these out of the box solutions that make things posibble that aren't really possible :)

_________________
FooBar's Tram Tracks | TransRapid Track Set | Metro Track Set | OpenGFX base graphics set | FIRS Industry Replacement Set
Dutch Tram Set | Dutch Trainset 2 | Dutch Road Furniture


Top
   
PostPosted: Mon Oct 24, 2011 1:28 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon Sep 28, 2009 5:15 pm
Posts: 5626
Location: Eastern KY
Huh. That's really interesting. Good job!

"Like" is so 2008. +1 :mrgreen:

_________________
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Image

Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | 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 | RoadTypes?


Top
   
PostPosted: Mon Oct 24, 2011 6:12 am 
Offline
Chairman
Chairman
User avatar

Joined: Tue Feb 01, 2011 11:22 am
Posts: 868
Location: Beer
I consider it ugly and weird looking, but I have to say that the idea and realization is awesome :D

_________________
ImageImageImage


Top
   
PostPosted: Mon Oct 24, 2011 11:53 am 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9012
Location: Sol d
Quast65 wrote:
I have edited all the small airporttiles from the Total Town Replacement set so that they look like watertiles (all animated), also the inside of the hangar is water now. I've drawn some simple docks for the airplanes to load on and off.
I have also used a parameter in the Combined Airport Set GRF to make the fences disappear.

I have used SAC's newobjects GRF to make the keyside look more modern.

And finally I have found a GRF somewhere in the Forum that let's you place watertiles as New-Objects. This is the key to success, these tiles keep the water out.

Nice. The hangar looks like there's a palette mis-match though.

There currently are no means via NewGRF to forbid other planes than sea planes to land on those airports. That part of the specs simply does not yet exist.

Concerning licenses:
- (Re-)using parts of the TTRS is mostly no issue. You have to credit the artists whose sprites you use. Checkout the credits and possibly its discussion thread for more detailed information.
- Combined airport set: No idea. Check out its license and / or ask the author(s) and artist(s) for permission to re-use the sprites
- SAC's NewObjects: same as above: ask her

You can totally skip and remove the NewObject part. Building rivers or canals at sea level has the very same effect. No NewGRF part or addition is needed for that.

_________________
Image
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


Top
   
PostPosted: Mon Oct 24, 2011 12:13 pm 
Offline
Graphics Moderator
Graphics Moderator
User avatar

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 5184
Location: The Moon
planetmaker wrote:
You can totally skip and remove the NewObject part. Building rivers or canals at sea level has the very same effect. No NewGRF part or addition is needed for that.


Won't canals, at least, put a brick wall around the airport? :)

_________________
Pikkarail.com blog Image
Dev reference: NML Specs - NewGRF Specs - Savegame Internals - NoAi API - NoGo API
32bpp NewGRFs: Pineapple Trains (10cc) - Graphics Development


Top
   
PostPosted: Mon Oct 24, 2011 12:25 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon May 21, 2007 11:47 am
Posts: 6559
Location: The Netherlands
Canals indeed do that.

_________________
FooBar's Tram Tracks | TransRapid Track Set | Metro Track Set | OpenGFX base graphics set | FIRS Industry Replacement Set
Dutch Tram Set | Dutch Trainset 2 | Dutch Road Furniture


Top
   
PostPosted: Mon Oct 24, 2011 12:34 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Tue Apr 24, 2007 9:37 am
Posts: 2851
Location: Straya
But you would get a wall around your seaplane airport, which doesn't look as good. :wink:

_________________
--Stuff I made (or helped make)--
ImageImageImageImage

--My Award-Winning Screenshots and Videos--


Top
   
PostPosted: Mon Oct 24, 2011 12:41 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9012
Location: Sol d
PikkaBird wrote:
planetmaker wrote:
You can totally skip and remove the NewObject part. Building rivers or canals at sea level has the very same effect. No NewGRF part or addition is needed for that.


Won't canals, at least, put a brick wall around the airport? :)

Hm, yes, you're right, they would. I only thought of them not showing in the middle of water - which in this case would not be the place, though it should be visibly. Thus I redact that quoted statement :-)

_________________
Image
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


Top
   
PostPosted: Mon Oct 24, 2011 1:04 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 09, 2011 1:51 pm
Posts: 1334
Location: The Netherlands
V453000 :) wrote:
I consider it ugly and weird looking, but I have to say that the idea and realization is awesome :D


I know it's not pretty :D But I couldn't resist posting this solution.

If anyone has some prettier sprites lying around I'll be happy to try and use them.

_________________
Projects: viewtopic.php?f=26&t=57266
Screenshots: viewtopic.php?f=47&t=56959

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.


Top
   
PostPosted: Mon Oct 24, 2011 1:30 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 09, 2011 1:51 pm
Posts: 1334
Location: The Netherlands
Quote:
Nice. The hangar looks like there's a palette mis-match though.


If you mean the blue color, that is because my company colors were blue. It can change color.

Quote:
There currently are no means via NewGRF to forbid other planes than sea planes to land on those airports. That part of the specs simply does not yet exist.


Well thats not too bad, just be careful what planes get to land there then.

Quote:
Concerning licenses:
- (Re-)using parts of the TTRS is mostly no issue. You have to credit the artists whose sprites you use. Checkout the credits and possibly its discussion thread for more detailed information.


Thanks for the tip, I'll look into that. I'll try to filter out the code for changing the looks of airfields first from the original TTRS code, so it can be separate from that GRF. These are my first babysteps into coding and I'm still figuring out how NFO coding works, but I'm getting there :D

Quote:
- Combined airport set: No idea. Check out its license and / or ask the author(s) and artist(s) for permission to re-use the sprites


I didn't use any graphics from that. I only use the parameter that they have, so you can turn the fences off around airfields. I'll look into finding only that piece of code.

Quote:
- SAC's NewObjects: same as above: ask her


Also, didn't use any graphics from that, only parameter setting for prettier edges. Is not really needed for this to work, but I think it looks better than the stone edges.

Quote:
You can totally skip and remove the NewObject part. Building rivers or canals at sea level has the very same effect. No NewGRF part or addition is needed for that


Well as I saw in some later posts from you that you found out that you do need them to get a correct look. Rivers and canals do place an ugly stone border. I'll try and filter out the code for just that one tile from the newobjectGRF.

I'll try to contact all of the authors and artists of code and graphics I altered and try to make a nice little GRF out of that.

_________________
Projects: viewtopic.php?f=26&t=57266
Screenshots: viewtopic.php?f=47&t=56959

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.


Top
   
PostPosted: Mon Oct 24, 2011 2:31 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon May 21, 2007 11:47 am
Posts: 6559
Location: The Netherlands
Quast65 wrote:
I'm still figuring out how NFO coding works, but I'm getting there :D

Maybe a bit late, but you could consider skipping NFO altogether and dive into NML instead. OpenGFX+Airports may give you inspiration on how to add an additional airport (based on one of the existing airports) instead of replacing them.

_________________
FooBar's Tram Tracks | TransRapid Track Set | Metro Track Set | OpenGFX base graphics set | FIRS Industry Replacement Set
Dutch Tram Set | Dutch Trainset 2 | Dutch Road Furniture


Top
   
PostPosted: Mon Oct 24, 2011 6:09 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 09, 2011 1:51 pm
Posts: 1334
Location: The Netherlands
Hmmm, might be interesting. Will take some time though to figure that out too, but it looks a bit more human friendly :D

_________________
Projects: viewtopic.php?f=26&t=57266
Screenshots: viewtopic.php?f=47&t=56959

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.


Top
   
PostPosted: Mon Oct 24, 2011 6:22 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon May 21, 2007 11:47 am
Posts: 6559
Location: The Netherlands
Quast65 wrote:
but it looks a bit more human friendly :D

Exactly why I'm suggesting to use it instead :)

_________________
FooBar's Tram Tracks | TransRapid Track Set | Metro Track Set | OpenGFX base graphics set | FIRS Industry Replacement Set
Dutch Tram Set | Dutch Trainset 2 | Dutch Road Furniture


Top
   
PostPosted: Tue Oct 25, 2011 12:11 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 09, 2011 1:51 pm
Posts: 1334
Location: The Netherlands
I have done some work :D Totally stripped the airport, fences are gone via parameter (sadly this applies to all airportfences) and a watertile is placed as NewObject. So time to launch V1.0!!!!

Suggestions for graphics (and how to get rid of the windflag) are very welcome!


Attachments:
Seaplaneairport_v1_0.png
Seaplaneairport_v1_0.png [ 64.06 KiB | Viewed 11794 times ]
seaplaneairport_v1_0.grf [8.36 KiB]
Downloaded 156 times

_________________
Projects: viewtopic.php?f=26&t=57266
Screenshots: viewtopic.php?f=47&t=56959

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Top
   
PostPosted: Tue Oct 25, 2011 12:18 am 
Offline
Tycoon
Tycoon

Joined: Wed Jan 17, 2007 12:14 am
Posts: 6909
in theory there should be flags you can set so airporttiles don't get flooded. maybe refer to industrytiles, they should be similar. or maybe i dreamt this :p

_________________
You might not exactly be interested in Ferion, but if you are, have fun :)


Top
   
PostPosted: Tue Oct 25, 2011 4:49 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Tue Dec 21, 2010 5:24 pm
Posts: 276
Quote:
Suggestions for graphics (and how to get rid of the windflag) are very welcome!

What about replacing the sprites of this windflag with empty blue (transparent) boxes?

AFAIK their numbers are 2676-2679.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 31 posts ]  Go to page 1 2 Next

All times are UTC


Who is online

Users browsing this forum: Google Adsense [Bot], Pilot and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2017 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2017.
Hosted by Zernebok Hosting.