Hamamatsu AB scenery help

All things Military AI that don't fit anywhere else.
Post Reply
Joseph29
Colonel
Colonel
Posts: 2306
Joined: 20 Sep 2006, 20:35
Version: P3D
Location: Long Island New York

Hamamatsu AB scenery help

Post by Joseph29 »

I have FS9 scenery for Hamamatsu AB in Japan (RJNH). I got the scenery from here http://flightinfo.jp/tajirin/scenery.htm (website is no longer working and the author was Hiroaki Kubota). The problem is that the AI is sunk into the ground (only the tops of the planes is visible). Is there a way to fix this? This don't happen with the default scenery.
User avatar
Firebird
MAIW Admin
MAIW Admin
Posts: 12394
Joined: 11 Aug 2006, 21:04
Version: FS9
Location: EGLL

Re: Hamamatsu AB scenery help

Post by Firebird »

The problem there is that the height of the scenery is different to the height of the airfield afcad.
If the afcad you are using comes with that scenery, then keep a copy safe and then alter the height of the airfield upwards until it matches.
If you are using a different afcad than came with the scenery then you need to alter the height to the same as the one that came with the scenery.
Steve
_______________________________________________________
Image
Quid Si Coelum Ruat
_______________________________________________________
Joseph29
Colonel
Colonel
Posts: 2306
Joined: 20 Sep 2006, 20:35
Version: P3D
Location: Long Island New York

Re: Hamamatsu AB scenery help

Post by Joseph29 »

I checked the height of the default airfield (it was 150.0) and I checked the height of the AFCAD for the scenery (it was 170.0). I changed the scenery AFCAD to 150.0 but the AI was still sunk into the ground. So do I have to make the new AFCAD height higher that 170.0?
User avatar
Firebird
MAIW Admin
MAIW Admin
Posts: 12394
Joined: 11 Aug 2006, 21:04
Version: FS9
Location: EGLL

Re: Hamamatsu AB scenery help

Post by Firebird »

In this case the afcad of the scenery is being overridden by the default scenery.
What normally causes this is that there is a discrepancy between the default terrain and the addon scenery.

It seems that the addon scenery maybe set to 170' ASL whereas the default terrain, and real life it is set to 150'.
Quite often you can get away with it if the scenery itself is not hard coded but it sounds like it is, otherwise the scenery models would sink to the terrain surface and the afcad would then be OK at 150'.

You have to build a new hard or flatten at 170'. The easiest way is to do this using ADE to change the height of the airport and create an 'ALT' file which you can place in \Scenery\World\scenery folder.

How you do this in ADE depends on the version you have so refer to that versions manual.
Steve
_______________________________________________________
Image
Quid Si Coelum Ruat
_______________________________________________________
User avatar
SeanG
Captain
Captain
Posts: 360
Joined: 11 May 2008, 05:22
Version: P3D
Location: Christchurch, New Zealand
Contact:

Re: Hamamatsu AB scenery help

Post by SeanG »

Other quick and dirty fix you can try, is put a copy of the AFCAD in the addon scenery\scenery folder... seems to magically fix some of these issues....

SeanG
Image
JohnTenn
Major
Major
Posts: 763
Joined: 12 Dec 2011, 17:16
Version: FS9

Re: Hamamatsu AB scenery help

Post by JohnTenn »

Joseph

To get this to work the scenery and the afcad need to have the same altitude.

If the scenery is old (for FS2002) there is normally a file ending with A16N. This is a flatten file linked to the airport layout.
The authors had to create polygons in the scenery to change the airport layout, taxiways and aprons.

It is not possible to override this altitude change other than removing this file.

Change the airport altitude in afcad so that it is the same as the scenery.
Make a copy of this file and place it in FS9/Scenery/World/Scenery.

You now have two copies of the afcad.

The AI use the one in Scenery/World/Scenery to determine the altitude.
The aircraft you fly use the one in your Custom scenery folder or Addon scenery/scenery.

The path the AI aircraft follow will be the last one loaded. Addon scenery if it is number one in your scenery library.

John
Joseph29
Colonel
Colonel
Posts: 2306
Joined: 20 Sep 2006, 20:35
Version: P3D
Location: Long Island New York

Re: Hamamatsu AB scenery help

Post by Joseph29 »

I deleted the A16N file that was in the scenery and that fixed the sunk AI problem, but now the runway is up on a large plateau. I will fiddle around with it more when I have time.
User avatar
Firebird
MAIW Admin
MAIW Admin
Posts: 12394
Joined: 11 Aug 2006, 21:04
Version: FS9
Location: EGLL

Re: Hamamatsu AB scenery help

Post by Firebird »

The afcad is easy to fix. Like I said before you have to alter the height of the afcad down to 150', make sure you alter the height of the entire airfield not just the runways.
Steve
_______________________________________________________
Image
Quid Si Coelum Ruat
_______________________________________________________
JohnTenn
Major
Major
Posts: 763
Joined: 12 Dec 2011, 17:16
Version: FS9

Re: Hamamatsu AB scenery help

Post by JohnTenn »

Joseph

Seeing as how I am helping people out of the frying pan into the fire.

Ade has a function.

Select tools.

On the top line "Change Airport reference data". Click on this.

This gives you a table to change the altitude. Type the desired altitude in.

Select "Change"

A question will pop up. Do you want to create a stub for default airport? Select "yes".

What this does is create a simplified copy of the afcad in Scenery/World/Scenery so that the AI will travel at the new airport altitude. It will have "ALT" as part of its name linked to the airport.

If you have created a flatten with ADE (Add Polygon), then right click on the flatten and change it to the desired altitude.

When you select "Compile" all the needed files are created.

Hope this is helpful.

You can also use ADE to create flatten sections that are lower or higher around your airport to smooth the "cliffs" Just do not overlap these areas. And make the altitude changes gradual.

John
JohnTenn
Major
Major
Posts: 763
Joined: 12 Dec 2011, 17:16
Version: FS9

Re: Hamamatsu AB scenery help

Post by JohnTenn »

Joseph

I have checked out RJNH for the first time. The default airport is on a slight rise.

I do not have detailed mesh scenery installed for Japan.

The plateau could be as a result of the detailed mesh lowering the terrain below the level of the default terrain.

Or, if you have created flattens with ADE or Sbuilder to solve the AI problem, then simply change the altitude in the AFCAD to that of the default scenery. Remove the flatten RJNH*_TER.bgl and from scenery/world/scenery RJNH*_ALT.bgl

John
Post Reply