Jump to content

Recommended Posts

Hey CA!  I have always had trouble with the desert 4 terrain... It's an awesome place to play with all the great airplanes available here on CA but I've always had a lot of crashes and other issues on this particular terrain... While searching for a fix for this issue I found a replacement for the first few entries in the Desert4_Data.ini that were buried wayy back in 2014 forums... 

 

All credit goes to Dave for this fix... Just figured i would share it in case anyone else was having this issue! just copy this and replace whats in your desert 4 data ini! 

 

[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

Share this post


Link to post
Share on other sites

I believe the issue was actually in the terrain mesh section there were some HUGE numbers in there and I believe that was what was crashing my system 

 

[TerrainMesh]
TextureThreshold=0.80
LowDetailMeshThreshold=0.50
MedDetailMeshThreshold=0.30
TileToHeightGridRatio=4
RenderMeshVertexCount=6144
RenderMeshIndexCount=8192
SolidObjectVertexCount=6144
SolidObjectIndexCount=8192
AlphaObjectVertexCount=6144
AlphaObjectIndexCount=8192

Share this post


Link to post
Share on other sites

If I remember correctly the reasons that the numbers were high was cos they were tailored for a high powered system that could handle it (ie: a gaming rig).

Share this post


Link to post
Share on other sites

and...

for the amount of TOD objects

Share this post


Link to post
Share on other sites

Ah does anyone have a 512 tileset for the desert4 terrain? All my attempts have failed 


or like a toned down version of desert4 that might work better on less powerful systems?

Share this post


Link to post
Share on other sites

Ah does anyone have a 512 tileset for the desert4 terrain? All my attempts have failed 

or like a toned down version of desert4 that might work better on less powerful systems?

 

Simple. Just resize the tiles yourself. AFAIK it can be done on any PC using Microsoft Paint.

Share this post


Link to post
Share on other sites

one need to be especially careful with the tgas, as some programs tend to "eat" the alpha channel.

 

I'd try something like Gimp or Paint.not (gimp first) to resize them. Both are free programs

Share this post


Link to post
Share on other sites

Ya I tried resizing them myself but when I took a look at the TFD editior it showed all these pink holes in the terrain after I converted them to 512 and I made sure that there werent any tiles missing but no bueno 

 

Could I have resized them wrong?  I used GIMP and went to Image-Scale image then exported them as bmps

Edited by Spudknocker

Share this post


Link to post
Share on other sites

pink holes means it can't read the tiles. Safe to assume these were sea and/or sea-land transitions?

 

tgas -- the sea, river, and sea-land transition tiles MUST remain as 32-bit tga (RGB + Alpha)

 

make sure you save as.. ***.tga

 

being unfamiliar with either gimp paint.net, I'm guessing that "scale" would be the same as Photoshops "resize".

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

  • Similar Content

    • By VonBeerhofen
      Here's a quick mock-up of 3 different rock models using the same skin in a desert environment. These models were not additionally resized but instead a sloping hilly terrain was used and the models were grouped so close together so multiples look like a single rock formation, each model isn't larger then a default forrest 3DZ. Ofcourse one could use different drawings on each model too and it could probably mimic the cliffs of Dover with an appropriate drawing and a special coastal tile for it or perhaps reefs or mountain ridges. Plenty of ideas here but a lot of work, 



      An Old Rocker
    • By VonBeerhofen
      An error I made working on the city districts drew my attention to the COSTCT tile which only shows a staggering 6 times in the entire EAW world. I'm pretty sure there are hundreds of coastal towns and seaside resorts in Europe, one of which is the one I live in. So I feel I have a choice to make, add more to the EAW coasts or free the tile to be turned into a new city tile to add more diversity to the limited set in use. Personally I think that a village or city tile one coastal tile away from shore will work just as well, after all the entire coast and beach are merely app. 1 or 2 KM deep. The question though is what is a better use in a 64 small tileset?
      Furthermore with a universal tile border there is also a much better use for the river city tiles as they can now also function outside the cities and add more diversity, as was done with other nature's in EAWPRO. Besides that industries predominantly happen on river banks, so it adds to realism too. Vice versa there's also no reason not to use other bridges inside cities like London when borders are uniform, which had 5 at the time of the blitz. EAWPRO already uses dozens of instances of the unused stock rail bridge and a much higher number of any other bridge. They're even used as piers on coastal tiles too, making fun targets to destroy!
      Here's Londen Thames with added bridges, of course the fake crossing can be removed now too.

      VonBeerhofen
    • By VonBeerhofen
      or bringing order to the chaos. I've applied a previously described algorithm of grouping tiles on the Italian cities which forms them more into what one might call 'districts', i.e. more organized then what was shown in the previous thread. The fractal algorithm can create many different layouts using various parameters, one of which is determined by looking at an entire region and the neighboring tiles surrounding a particular tile. It then randomizes smaller groups it creates and adds an occasional seed between them so the group isn't just echoing a certain tile. In the below calculation groups are created from the outside inward, taking the city's shape into account, after all the surrounding tiles influence the outcome of the calculation. As part of the fun 1/2 of the tile map uses an inverted calculation as can be seen in the last 3 pictures which is Munich, hence it's border and center differs from the  other pictures shown. The other 5 are London.









      You heard it first in www.combatace.com
      VonBeerhofen
    • By VonBeerhofen
      No more repetitive borders or center tiles and more different villages. With this randomization all village and city tiles can be used at will where ever in the game  in any possible rotational state, and it's a lot less mapping work. I already showed the idea some time ago but not with the Harvest City Set. There is still some work to be done to narrow some borders and create the right impression I'm after but I think it's slowly getting there.
      Here's a few screen shots, as an experiment a few village tiles were replaced with breaker field tiles and two different city/village layouts were tried, which means that the randomization for each layout is entirely different while the cities and village sizes and positions weren't changed. 





      You heard it first on combatace.com
      VonBeerhofen
    • By VonBeerhofen
      Here's a compilation of the 12 latest tiles for the 'Harvest' set. I created a temporary map where all other tiles were removed from and randomly filled the EAW world with these 12 tiles only. 12 screen shots were taken of which 6 are displayed now. The remaining 6 will replace these pictures at a later date as I may not have captured all 12 tiles in these screenies and to safe on page loading times .






      VonBeerhofen
×

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..