Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Fri Dec 14, 2018 4:15 pm

All times are UTC




Post new topic  Reply to topic  [ 122 posts ]  Go to page 1 2 3 4 57 Next
Author Message
PostPosted: Sat Oct 31, 2015 11:28 am 
Offline
Engineer
Engineer

Joined: Sat Aug 03, 2013 4:39 pm
Posts: 52
Terminus Airports

13 New Airports.

Terminus:
Terminus1, 1980, 2 Hangars, 2 Runways, 9 Terminals, 3 Cargo Terminals, 3 Helipads, Cost is ~20M (USD)
Terminus2, 1990, 4 Hangars, 4 Runways, 16 Terminals, 6 Cargo Terminals, 6 Helipads, Cost is ~40M (USD)
Terminus3, 2000, 6 Hangars, 6 Runways, 25 Terminals, 9 Cargo Terminals, 9 Helipads, Cost is ~60M (USD)
Terminus4, 2010, 8 Hangars, 8 Runways, 36 Terminals, 12 Cargo Terminals, 12 Helipads, Cost is ~80M (USD)

Cargo:
Cargo Small, 1970, 2 Hangars, 1 Runway, 4 Cargo Terminals, 4 Helipads, Normal Cost.
Cargo Large, 1970, 2 Hangars, 2 Runways, 8 Cargo Terminals, 8 Helipads, Normal Cost.
Cargo X-Large, 1970, 2 Hangars, 2 Runways, 12 Cargo Terminals, 12 Helipads, Normal Cost.

Large:
Commuter Large, 1970, 2 Hangars, 1 Runway, 6 Terminals, 2 Cargo Terminals, 2 Helipads, Normal Cost
San Fran, 1970, 2 Hangars, 4 Runways (Crossing), 9 Terminals, 4 Cargo Terminals, 2 Helipads, Normal Cost
Leipzig, 1970, 2 Hangars, 2 Runways, 7 Terminals, 4 Cargo Terminals, 2 Helipads, Normal Cost
Windy, 1970, 1 Hangar, 1 Terminal, 1 Cargo Terminal, 1 Helipad, Normal Cost, Very Windy!!
Indianapolis, 1970, 4 Hangars, 4 Runways, 26 Terminals, 6 Cargo Terminals, 2 Helipads, Normal Cost
Schiphol, 1970, 3 Hangars, 6 Runways, 12 Terminals, 4 Cargo Terminals, 2 Helipads, Normal Cost

Zip File:
Contains lang directory, need the language file copied to your install lang directory.
terminus.grf is a NewGRF that has one replacement tile and mini airport images for the airport selector.
x64 version of it compiled.
patch of the changes.

Known Issues/Notes:
Cargo Payment doesn't work quite right. Multi company airports may not pay out to each company correctly.
ALT key was implemented Windows specific. If you compile on other platforms, you may need to make changes in order for the ALT key to be enabled.
ALT Key - Airport tiles are flat, terrain is not, you will see interesting results on hilly terrain. This is normal.


v.145 Changes
- Migrated to github https://github.com/Vetteman06/OpenTTD/tree/Airports
- Bug fix - Terminal to Hangar movements were not being reserved by planes correctly.
- Bug fix - Indianapolis needed more reservations to keep it from locking up.
- Bug fix - Terminus airports could lock up under heavy load, made runways reserve an extra block to prevent.
- Bug fix - New games under the new 1.8 would crash when new AI was started. Fixed it.
- Removed the daylight patch.
- Removed the cargo payment. May add JGR's.


Previous Updates: https://www.tt-forums.net/viewtopic.php?p=1207197#p1207197

Patch Inclusions:
Airport Replacement by Cirdan http://www.tt-forums.net/viewtopic.php?t=35867

Screenshot of the 13 airports:
Attachment:
File comment: Terminus Airports
Terminus Airports.png [640.04 KiB]
Not downloaded yet


Attachments:
Terminus Airports v1.45.zip [19.88 MiB]
Downloaded 138 times


Last edited by Vetteman06 on Thu May 17, 2018 6:42 pm, edited 26 times in total.
Top
   
PostPosted: Wed Nov 04, 2015 5:33 am 
Offline
Engineer
Engineer

Joined: Wed Aug 21, 2013 11:58 am
Posts: 35
Hey Mate,

Fantastic work!

I solely use OpenTTD for aircraft so anything to do with airports or aircraft I absolutely love!

How long did it take? And what are the capacities like? Say relevant to the Huge airports?

Dying to try these but I use the spring patchpack :-(


Top
   
PostPosted: Wed Nov 04, 2015 8:14 am 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9065
Location: Sol d
Your upload violate our copyright in two ways: You neither publish complete sources (or at least the complete patch as well) nor does the binary distribution you offer contain the documentation shipped with OpenTTD which includes the appropriate copyright notice. You should always build the bundle and use that for distribution.

_________________
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: Wed Nov 04, 2015 10:23 am 
Offline
Engineer
Engineer

Joined: Wed Aug 21, 2013 11:58 am
Posts: 35
Good thing what he made was very, very good then.


Top
   
PostPosted: Wed Nov 04, 2015 10:32 am 
Offline
Engineer
Engineer

Joined: Sat Aug 03, 2013 4:39 pm
Posts: 52
Diamond42-
It took a long time to do. I am not that great of a coder. :lol: I changed the way the state machine works a bit in order to make the flow on the airport much easier to understand. Basically instead of just in time reservation of blocks, it now does a full reservation before the plane moves. So instead of having to reserve blocks all throughout the airport, it now reserves at 3 points. Terminal, Depot, EndLanding. So tcreating/testing the flow is a lot easier. It is also why I had to completely change all the airports flow. And why it took so long.

I have no idea on the flow comparison. I have never used the Huge Airports patch. But would be interested in hearing what you think about it. Terminus4 is designed to service about 75-100 towns. Or handle from 100-150 planes. If you use Full Load, then about 100 planes.

planetmaker-
The complete source is in the zip file. Airport_Patch_R27410.patch With the exception of the 2 patches I included, it is all my code. Which is free for anyone to use/modify.

I didn't know about the OpenTTD copyright notice. I'll do some research and get that included.


Top
   
PostPosted: Wed Nov 04, 2015 11:04 am 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon Jan 14, 2008 3:51 pm
Posts: 644
Location: PL
Vetteman06 wrote:
I didn't know about the OpenTTD copyright notice. I'll do some research and get that included.
Here's a simple explanation: http://tldrlegal.com/license/gnu-genera ... license-v2

_________________
:] don't worry, be happy and checkout my patches


Top
   
PostPosted: Wed Nov 04, 2015 12:57 pm 
Offline
Engineer
Engineer

Joined: Wed Aug 21, 2013 11:58 am
Posts: 35
Just had a quick look and saw you made planes push back...amazing!

That alone is increadible!


Top
   
PostPosted: Wed Nov 04, 2015 3:05 pm 
Offline
Engineer
Engineer

Joined: Sat Aug 03, 2013 4:39 pm
Posts: 52
Diamond42 wrote:
Just had a quick look and saw you made planes push back...amazing!


I have been messing with this for so long, I forgot about adding that state into the state machine of the airports.
I added that to the original post...
I always thought it was silly for the plane to turn around in the terminal.
A side effect was the improvement in performance of the terminals.
It cuts out 4 extra turn orders in most cases.


Top
   
PostPosted: Wed Nov 04, 2015 3:23 pm 
Offline
Tycoon
Tycoon

Joined: Wed Jan 17, 2007 12:14 am
Posts: 7228
Since you're the resident airport expert now, do you want to have a stab at properly exporting airport state machines to NewGRFs, so people can add their own airports without messing with the code?

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


Top
   
PostPosted: Wed Nov 04, 2015 3:31 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9065
Location: Sol d
The push-back of the planes from their loading bays would make a nice separate patch which is relatively easy to integrate (as uncontroversial, I'd think). And of course I support Eddi's notion. Means to have really newgrfable-airports would be nice, allowing to build airports from pieces.

_________________
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: Wed Nov 04, 2015 9:39 pm 
Offline
Engineer
Engineer

Joined: Sat Aug 03, 2013 4:39 pm
Posts: 52
Eddi wrote:
Since you're the resident airport expert now,

LOL... That's funny...

planetmaker wrote:
The push-back of the planes from their loading bays would make a nice separate patch

I could separate it out if desired.

Eddi wrote:
do you want to have a stab at properly exporting airport state machines to NewGRFs, so people can add their own airports without messing with the code?


So, I started out thinking that this might be possible... One of the big changes to the states was to get rid of the notion of blocked states. Where a state was made up of multiple tiles. This was done because there wasn't a real reservation system to blocks. In order to make sure a path from terminal 3 to the depot was possible, they made all 3 blocks a state in between. It worked, but made it so only one plane could be in those blocks at a time. Which greatly reduced throughput to all those terminals.

So I removed all that and made each tile it's own state. Well almost... I ran out of states on Terminus4 and had to combine the crossover blocks into a single state. But after looking at the next step, I pretty much gave up on the idea of a modular airport.

The next part would be to make the movement orders simple enough to be imbedded into the NewGRF's for each state. And this is where it fell apart...
The main path through the airport could be done this way. But the reverse path stuff would never work.

Take this one movement order from HANGAR1 to TERM01... { 8, TERM01, 0, TAXI04_block | TAXI05_block | TAXI53_block, 82 }
It needs to reserve 3 TAXI blocks to insure its arrival to TERM01 from HANGAR1.
So you would need to path all possible combinations and main flow paths are ignored and reverse paths are reserved.

But what is the main path?
If you just plop down a taxi tile, which way is main flow and which way is reverse flow...
Terminus3 and Terminus4 are complete circles taxi wise... If not careful in programming... infinite loop...

How do you determine which terminals are attached to which runways?
On Terminus4, I restrict the terminals accessible to each landing runway to 9.
But the Depot right next to it has paths to 16 Terminals.
I do this to keep a plane from blocking the exit path from the runway trying to reserve a path.
Instead it will move into the depot and then try and reserve the path to terminals that require reservations.
Keeps the airport moving a lot smoother...

It would be a very tall order to try and do it in NewGRF's...
You might be able to do it, but it would never be as optimized as a person planning and testing it manually.

The thing that could be done would be to move the sturcture/movement orders out into different files.
That way you could make changes to those without recompiling...
But then you take the risk of someone mucking in those files and submitting bug reports.

Anyway, my goal was to get the pathing simpler to do...

For Terminus4, here are some numbers...
EndLanding to Terminal 9 * 4 = 36 paths.
EndLanding to Depot 1 x 4 = 4 paths.
Terminal to Depot 36 * 1 = 36 paths
Terminal to Takeoff 36 * 1 = 36 paths
Depot Upper to Terminal 4 * 16 = 64 paths
Depot Lower to Terminal 4 * 7 = 28 paths
Depot to Takeoff 8 * 1 = 8 paths

This is just the airplanes and do not include the Helicopters...
212 paths I have to trace for that one airport and just for planes.


Top
   
PostPosted: Thu Nov 05, 2015 1:28 pm 
Offline
Engineer
Engineer

Joined: Sat Aug 03, 2013 4:39 pm
Posts: 52
Diamond42 wrote:
And what are the capacities like?


So, I really hadn't given much thought to how many passengers could possibly be transferred in a month through one of my designs.
It would be a cool metric to add to the airport screen to show how many passengers are transferred through an airport.
I might look into it...

I went back and found an old movement test game I made.
It was more to test the movement states of the airport under heavy use where planes stayed at the terminals for extended periods of time.

This game has no other movement than passengers and mail.

On average the company as a whole was moving about 46,000 units a month.
About 15% of that is mail.
So 39,000 passengers and 7,000 mail.
And the destinations were either at the city or this airport.
So divide that in 2.

I am figuring that the Terminus4 airport is handling close to 20,000 passengers and 3,500 mail a month.
If optimize for passenger throughput, it could probably get to 25,000 passengers and 4,000 mail a month average.
Divide that by 300 passengers average per plane and that's about 67 planes per month being serviced.

Screenshot of game:
Attachment:
File comment: Terminus4 Flow
Terminus4_Flow.png [628.09 KiB]
Not downloaded yet


Top
   
PostPosted: Thu Nov 05, 2015 9:03 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 06, 2004 11:51 pm
Posts: 1494
Location: The sunny side of Alps
This patch should be included into OpenTTD. These airports are a big step
forward in the right direction - even replacing the big, metropolitan, international and intercontinental airports respectively.
Finally some useful airports, especially with airplanes having option to carry all kinds of cargo.
Could make a nice game if one doesn't want to always fiddle with ever expanding railways.
If wishes were horses... :mrgreen:

_________________
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.

Keep 'em rollin'!


Top
   
PostPosted: Thu Nov 26, 2015 12:04 pm 
Offline
Engineer
Engineer

Joined: Sat Aug 03, 2013 4:39 pm
Posts: 52
SirkoZ wrote:
Finally some useful airports, especially with airplanes having option to carry all kinds of cargo.
Could make a nice game if one doesn't want to always fiddle with ever expanding railways.
If wishes were horses...


Well, you will like this update.
Cargo planes now have their own airports. :mrgreen:


Top
   
PostPosted: Thu Nov 26, 2015 12:28 pm 
Offline
Moderator
Moderator
User avatar

Joined: Mon Sep 28, 2009 5:15 pm
Posts: 6302
Location: Eastern KY
Very nice job! It would be nice to see these offered in four-direction rotation along with proper in-game display for each layout.

_________________
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 | 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 | RoadTypes?


Top
   
PostPosted: Thu Nov 26, 2015 1:15 pm 
Offline
Engineer
Engineer

Joined: Sat Aug 03, 2013 4:39 pm
Posts: 52
kamnet wrote:
Very nice job! It would be nice to see these offered in four-direction rotation along with proper in-game display for each layout.


I agree...
It is on my todo list.
But with 20 airports and 4 rotations, looking at 80 Preview Sprites...

I find that kinda dumb to do all those sprites when the airport view could just be built.
I might try and change the preview to be a special viewport or something built.
That way all rotations will always be available and I won't have to build all those sprites.
Plus they would auto take on any changes in structure of the airport.
(Like when I change the helipads.)

Anyway, I thought I would show the Leipzig airport in action...
Here there is a plane landing, buses on the inside transferring passengers out to stations in town.
And the town has built some buildings inside the airport area.

Leipzig in action:


Attachments:
Leipzig in Action.png [764.73 KiB]
Not downloaded yet
Top
   
PostPosted: Fri Nov 27, 2015 8:39 am 
Offline
Moderator
Moderator
User avatar

Joined: Mon Sep 28, 2009 5:15 pm
Posts: 6302
Location: Eastern KY
Any thoughts about the idea of leaving out the terminals and just letting players place them on their own via NewGRFs?

_________________
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 | 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 | RoadTypes?


Top
   
PostPosted: Fri Nov 27, 2015 10:06 am 
Offline
Transport Coordinator
Transport Coordinator

Joined: Wed Apr 09, 2014 11:10 am
Posts: 262
kamnet wrote:
Any thoughts about the idea of leaving out the terminals and just letting players place them on their own via NewGRFs?


I was going to ask the same question. The extra state machines are great, but I'm not a big fan of the buildings everywhere, it makes things look really cluttered, and buildings directly at the end of the runways just looks plain wrong imo. It would be much nicer if the actual airport part was only the runways, taxiways and hangars, and instead of the buildings have empty tiles that can be filled with the players choice of object or station tiles.


Top
   
PostPosted: Fri Nov 27, 2015 10:40 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 09, 2011 1:51 pm
Posts: 1633
Location: The Netherlands
First of all, wow great work!! :bow: Especially with the planes backing out!!!
But, indeed, I agree with the 2 posts above. It would be great to match these airports up with the fake-airport-objects GRF I made a while ago.
https://www.tt-forums.net/viewtopic.php ... ke+airport

_________________
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: Fri Nov 27, 2015 10:46 am 
Offline
Engineer
Engineer

Joined: Sat Aug 03, 2013 4:39 pm
Posts: 52
kamnet wrote:
Any thoughts about the idea of leaving out the terminals and just letting players place them on their own via NewGRFs?


That is an extremely easy thing to do.

There were 2 reasons for putting the color player on the plane parking space instead of the building.
This was one of them. Eventually I was going to make the building neutral and not have player color.
My original thought was to just use other buildings available, but this idea is better.
I will compile a version without buildings and put it on the main page.

The other reason was to allow the owner of the airport to change ownership of one terminal to another player.
Basically making the airport be multi-player.
So making the buildings neutral was important for this one.
I got a few things to work out first, but it is coming.


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 6 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-2018 phpBB Limited

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