Major Bloodnok Posted November 19, 2015 Posted November 19, 2015 Anybody knows what is wrong with this runway. I have flattened the surrounding area with the TFD tool. Thanks in advance. Quote
ignacioc91 Posted November 19, 2015 Posted November 19, 2015 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. Quote
Peugeot205 Posted November 19, 2015 Posted November 19, 2015 (edited) 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 November 19, 2015 by FRPignon Quote
Major Bloodnok Posted November 19, 2015 Author Posted November 19, 2015 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. Quote
mue Posted November 19, 2015 Posted November 19, 2015 Have you forgotten to set ZBufferOffset=6.000000 FlatObject=TRUE for this airfield in terrain_types.ini ? Quote
Major Bloodnok Posted November 19, 2015 Author Posted November 19, 2015 Have you forgotten to set ZBufferOffset=6.000000 FlatObject=TRUE for this airfield in terrain_types.ini ? Yep, that's already there. Quote
+baffmeister Posted November 19, 2015 Posted November 19, 2015 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. Quote
Wrench Posted November 19, 2015 Posted November 19, 2015 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. Quote
Major Bloodnok Posted November 20, 2015 Author Posted November 20, 2015 Thanks for the answers. Below has fixed the problem: [HeightField]DetailScale=0.2DetailFrequency=1.0MaxHeight=1000MinHeight=0 Quote
+baffmeister Posted November 20, 2015 Posted November 20, 2015 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] Quote
KJakker Posted November 20, 2015 Posted November 20, 2015 (edited) 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 ...After with. [HeightField] DetailScale=0.0 DetailFrequency=1.0 MaxHeight=1000 MinHeight=0 Edited November 20, 2015 by KJakker Quote
+baffmeister Posted November 20, 2015 Posted November 20, 2015 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... ] Quote
KJakker Posted November 20, 2015 Posted November 20, 2015 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... ] I can zip up my entire Desert4 folder and PM it to you if you want? Quote
Wrench Posted November 21, 2015 Posted November 21, 2015 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 :) Quote
+baffmeister Posted November 21, 2015 Posted November 21, 2015 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? Quote
+Menrva Posted November 21, 2015 Posted November 21, 2015 (edited) 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 November 21, 2015 by blaze95 Quote
+baffmeister Posted November 21, 2015 Posted November 21, 2015 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! 1 Quote
+Menrva Posted November 22, 2015 Posted November 22, 2015 Interesting, baffmeister. If you manage to find an overall fix for this black screen problem, please share the info with us. Quote
+baffmeister Posted November 23, 2015 Posted November 23, 2015 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. Quote
+gerwin Posted November 30, 2015 Posted November 30, 2015 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. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.