Jump to content
Sign in to follow this  
Major Bloodnok

Anybody knows this Runway Fix

Recommended Posts

Anybody knows what is wrong with this runway.

 

I have flattened the surrounding area with the TFD tool.

 

Thanks in advance.

 

 

 

 

post-44310-0-50010600-1447933243_thumb.jpg

Share this post


Link to post
Share on other sites

Maybe the area flattend by the terrain editor isn't big enough for the airbase. Also, check its possition. I has happened to me that the airbase is placed on the edge of the flattened area, and get the same you got.

Share this post


Link to post
Share on other sites

The solution is inside de Terrainname_data.ini

 

Change your lines by this ones:
 

[TerrainMesh]
TextureThreshold=0.80
LowDetailMeshThreshold=0.50
MedDetailMeshThreshold=0.30
TileToHeightGridRatio=4
RenderMeshVertexCount=6144
RenderMeshIndexCount=8192
SolidObjectVertexCount=6144
SolidObjectIndexCount=8192
AlphaObjectVertexCount=6144
AlphaObjectIndexCount=8192
 
[HeightField]
DetailScale=1.0
DetailFrequency=1.0
MaxHeight=1000
MinHeight=0
 
[HeightOffset]
LowDetailMesh=-1.5
WaterMesh=0.8
 
[NormalTextureMaterial]
EffectShaderName=terTerrainEffect.fx
DepthBufferCheck=TRUE
DepthBufferWrite=TRUE
RenderedInOrder=FALSE
AlphaTestEnabled=FALSE
CullMode=CLOCKWISE
LightEnabled=TRUE
SpecularEnabled=FALSE
EmissiveEnabled=FALSE
FogEnabled=TRUE
AmbientColor=1.000000,1.000000,1.000000,1.000000
DiffuseColor=1.000000,1.000000,1.000000,1.000000
ZBufferOffset=0.000000
BlendOp=ONE
NumTextureStages=1
TextureStage[01].TextureName=
TextureStage[01].MipMap=TRUE
TextureStage[01].FilterEnabled=TRUE
TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE
TextureStage[01].StageAlphaOp=NO_OP
 
[WaterTextureMaterial]
EffectShaderName=terWaterEffect.fx
DepthBufferCheck=TRUE
DepthBufferWrite=TRUE
RenderedInOrder=FALSE
AlphaTestEnabled=FALSE
CullMode=CLOCKWISE
LightEnabled=TRUE
SpecularEnabled=TRUE
EmissiveEnabled=FALSE
FogEnabled=TRUE
AmbientColor=1.000000,1.000000,1.000000,1.000000
DiffuseColor=1.000000,1.000000,1.000000,1.000000
SpecularColor=1.000000,1.000000,1.000000,1.000000
SpecularPower=10.000000
Reflectivity=0.00000
ZBufferOffset=0.000000
BlendOp=ONE
NumTextureStages=1
TextureStage[01].TextureName=
TextureStage[01].MipMap=TRUE
TextureStage[01].FilterEnabled=TRUE
TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE
TextureStage[01].StageAlphaOp=NO_OP
 
[backgroundMaterial]
EffectShaderName=terFarTerrainEffect.fx
DepthBufferCheck=TRUE
DepthBufferWrite=TRUE
RenderedInOrder=FALSE
AlphaTestEnabled=FALSE
CullMode=CLOCKWISE
LightEnabled=TRUE
SpecularEnabled=FALSE
EmissiveEnabled=FALSE
FogEnabled=TRUE
AmbientColor=1.000000,1.000000,1.000000,1.000000
DiffuseColor=1.000000,1.000000,1.000000,1.000000
ZBufferOffset=0.000000
BlendOp=ONE
NumTextureStages=1
TextureStage[01].TextureName=
TextureStage[01].MipMap=TRUE
TextureStage[01].FilterEnabled=TRUE
TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE
TextureStage[01].StageAlphaOp=NO_OP
 
[solidObjectTextureMaterial]
EffectShaderName=terSolidObject.fx
DepthBufferCheck=TRUE
DepthBufferWrite=TRUE
RenderedInOrder=FALSE
AlphaTestEnabled=FALSE
CullMode=CLOCKWISE
LightEnabled=TRUE
SpecularEnabled=FALSE
EmissiveEnabled=FALSE
FogEnabled=TRUE
AmbientColor=1.000000,1.000000,1.000000,1.000000
DiffuseColor=1.000000,1.000000,1.000000,1.000000
ZBufferOffset=0.000000
BlendOp=ONE
NumTextureStages=1
TextureStage[01].TextureName=
TextureStage[01].MipMap=TRUE
TextureStage[01].FilterEnabled=TRUE
TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE
TextureStage[01].StageAlphaOp=NO_OP
 
[AlphaObjectTextureMaterial]
EffectShaderName=terAlphaObject.fx
DepthBufferCheck=TRUE
DepthBufferWrite=FALSE
RenderedInOrder=TRUE
AlphaTestEnabled=TRUE
CullMode=NO_CULL
LightEnabled=TRUE
SpecularEnabled=FALSE
EmissiveEnabled=FALSE
FogEnabled=TRUE
AmbientColor=1.000000,1.000000,1.000000,1.000000
DiffuseColor=1.000000,1.000000,1.000000,1.000000
ZBufferOffset=2.000000
BlendOp=BLEND_SRC_ALPHA
NumTextureStages=1
TextureStage[01].TextureName=
TextureStage[01].MipMap=TRUE
TextureStage[01].FilterEnabled=TRUE
TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE
TextureStage[01].StageAlphaOp=TEXTURE
Edited by FRPignon

Share this post


Link to post
Share on other sites

Thanks for the answers. There is sufficient space for the airfield withing the flattened zone.

 

The settings inthe Data.ini are the same for the height etc as above.

Share this post


Link to post
Share on other sites

Have you forgotten to set

ZBufferOffset=6.000000
FlatObject=TRUE

for this airfield in terrain_types.ini ?

Share this post


Link to post
Share on other sites

Have you forgotten to set

ZBufferOffset=6.000000
FlatObject=TRUE

for this airfield in terrain_types.ini ?

Yep, that's already there.

Share this post


Link to post
Share on other sites

My observations regarding that issue from past experience. When leveling an airfield using the TW terrain editor the leveling process makes changes to both the HFD and TFD files. Your screen shot looks like what I saw in the past when I added just the new HFD file but not the new TFD file. Not 100% sure if the terrain editor you're using actually makes the required changes in the TFD file. The updated Desert 4 terrain by Piecemeal/Centurion exhibits the same issue with some airports. Some of the airfield texture tiles were changed but I don't think they were re-leveled using the TW terrain editor.

Share this post


Link to post
Share on other sites

1) always use the 3w terrain editor for airfield zone flattening. the TFD tool is not prescise enough in it's height adjustments (all or nothing)

 

2) minimum size for runways 1, 2,3,5,6 is 5km x 5km (must ALWAYS be square). 6 x 6 is also good, and needed for runway 4

 

3) as Baff said, you must have BOTH the updated HFD and TFD. I, too found that out the hard way.

Share this post


Link to post
Share on other sites

Thanks for the answers.

 

Below has fixed the problem:

 

[HeightField]
DetailScale=0.2
DetailFrequency=1.0
MaxHeight=1000
MinHeight=0

Share this post


Link to post
Share on other sites

Thanks for the answers.

 

Below has fixed the problem:

 

[HeightField]

DetailScale=0.2

DetailFrequency=1.0

MaxHeight=1000

MinHeight=0

 

Thats interesting! Could somebody try that fix with the Desert 4 terrain. I somehow porked my Desert 4 install awhile back and haven't got it going yet. [might have to reinstall it]

Share this post


Link to post
Share on other sites

Thats interesting! Could somebody try that fix with the Desert 4 terrain. I somehow porked my Desert 4 install awhile back and haven't got it going yet. [might have to reinstall it]

 

Just tested Desert 4 terrain, those settings did not work. You need to use the settings with the second image instead.

 

Before with...

 

[HeightField]

DetailScale=0.2
DetailFrequency=1.0
MaxHeight=1000
MinHeight=0
 
post-56847-0-24329100-1448043929_thumb.jpg
 
...After with.
 

[HeightField]

DetailScale=0.0
DetailFrequency=1.0
MaxHeight=1000
MinHeight=0
 
post-56847-0-07231800-1448043811_thumb.jpg
Edited by KJakker

Share this post


Link to post
Share on other sites

Thanks KJakker, will try those settings when I get Desert4 working again. Tried a re-install, didn't work. [what have I done this time... :angry: ]

Share this post


Link to post
Share on other sites

Thanks KJakker, will try those settings when I get Desert4 working again. Tried a re-install, didn't work. [what have I done this time... :angry: ]

 

I can zip up my entire Desert4 folder and PM it to you if you want?

Share this post


Link to post
Share on other sites

remember, changing the HF statements in the terrain's data ini are global changes, while using the TE to flatten 1 (or 2 or 12) airfields are specific and localized height field changes

 

but, hey! if it don't change nothing else...and it works :)

Share this post


Link to post
Share on other sites

I can zip up my entire Desert4 folder and PM it to you if you want?

 

Thanks for the offer. I think I will keep trying a bit longer. The problem is a bit odd, the terrain loads to 100%, the screen goes black, the hard drive keeps doing things for awhile then stops and I'm stuck with a black screen. No CTD. I tried playing around with the naval and water map statements but that didn't help. Anyone have any ideas?

Share this post


Link to post
Share on other sites

Thanks for the offer. I think I will keep trying a bit longer. The problem is a bit odd, the terrain loads to 100%, the screen goes black, the hard drive keeps doing things for awhile then stops and I'm stuck with a black screen. No CTD. I tried playing around with the naval and water map statements but that didn't help. Anyone have any ideas?

 

This happens to me quite a lot, I think most likely it is due to the terrain or the entire mod install which is rather big and thus heavy on resources.  Try lowering your gfx details in the options, it might help or not, I really have no clue.

Edited by blaze95

Share this post


Link to post
Share on other sites

Thanks Blaze, I was able to isolate the problem area by turning down the in game graphic settings and then increasing them one at a time.The problem for me was the in game water detail setting. Any setting above low would cause the black screen lock up. I did the tests with the Desert4 installed without Centurions' update pack. Might be worth mentioning that the Desert 4 terrain has some modified settings within the Desert 4 data file. The modified settings are a water shimmer fix but it may cause ships to appear to float above water line, if I remember correctly. This modification isn't causing the black screen though, I get the black screen with stock TW terrain data settings as well. Will try to isolate the issue so I can run this terrain with the same settings I use for everything else. Cheers!

  • Like 1

Share this post


Link to post
Share on other sites

Interesting, baffmeister.  If you manage to find an overall fix for this black screen problem, please share the info with us.

Share this post


Link to post
Share on other sites

Interesting, baffmeister.  If you manage to find an overall fix for this black screen problem, please share the info with us.

 

No joy yet. I've been reverting to stock some of the add-on water features but nothing I've tried so far has made a difference.

Share this post


Link to post
Share on other sites

IIRC the 'TAG' value displayed for every tile may have something to to with it. In stock Desert.tfd it is always TAG=0 around runways.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..