Page 1 of 1

[HELP] Low details Map crash

Posted: 2008-11-12 21:49
by cat
I have a problem with a map, which I think is a weird variation of the low detail missing error.

The map runs without any problem in at least MEDIUM settings. However LOW settings crash it when clicking join game. Without any error message. Even in Windowed mode.

First I want to say that I did all required procedures to generate low detail maps for EVERY layer. And saved it too.

On the sreens you can see the contents of the Low detail folders for editor, mpa folder and client.zip
They all match.


What is wrong with this?

Image
Image

Re: [HELP] Low details Map crash

Posted: 2008-11-13 04:05
by cat
Is it normal that the editor folder only contains the secondary low detail maps? I have this on any map I start. Could anyone who has working low details check if there are any lowdetailmaps in the map/editor/lowdetailmaps folder?

Re: [HELP] Low details Map crash

Posted: 2008-11-13 13:21
by marcoelnk
its a common issue with WIP maps. i dunno whats the reason but they nearly always crash on low terrain settings.mybe its the lightmaps or the rar files, no idea.

Re: [HELP] Low details Map crash

Posted: 2008-11-13 18:20
by cat
I created a new map, painted it with 1 layer and generated the low detail. it has not lightmaps or any overgrowth. Just the flat terrain. Still does crash on LOW. I also tried packing with the editor and the rhino method.

I basically excluded all other causes. I would like to ask again. May I see what files are in the editor folder of a working map?
Could this be a vista problem?

Re: [HELP] Low details Map crash

Posted: 2008-11-13 19:30
by ice_killer
do you whant to make a screenshot of the texture roll out in the editor

note
]
low detail

1 = sand
2= grass
3= rocks

if im not wrong

Re: [HELP] Low details Map crash

Posted: 2008-11-13 19:44
by cat
Does the order actually matter?
Do you mean the layer number or the texture lowdetail type?

Re: [HELP] Low details Map crash

Posted: 2008-11-13 19:51
by marcoelnk
[R-CON]ice_killer wrote:do you whant to make a screenshot of the texture roll out in the editor

note
]
low detail

1 = sand
2= grass
3= rocks

if im not wrong
youre wrong
1 : everything
2: rocks

Re: [HELP] Low details Map crash

Posted: 2008-11-13 19:54
by cat
I have the correct type for each. As stated in the tutorial. 1 for flat and 2 for verticals.
It even crashes on a test map which only had 1 layer on a totally flat surface.

Re: [HELP] Low details Map crash

Posted: 2008-11-13 20:01
by cat
I can upload the test map with the editor files so someone who does have a clue on this can take a look if posible.

The map is packed with editor files 1.6MB.
256x2
Just a flat terrainwith texture and 2 flags ready to be played in the mod.

Anyone want to check it out?
I would be intersted if other vista users get this problem too.

Re: [HELP] Low details Map crash

Posted: 2008-11-13 20:33
by cat
My ground properties con for radio_moscow:
GroundProperties.SetDetailTexture 0 "common\terrain\textures\detail\detail_rock05.dds"
GroundProperties.SetColorTexture 0 "common\terrain\textures\color\slopes.dds"
GroundProperties.SetColor 0 221 221 221
GroundProperties.SetMaterial 0 Stairs_concrete
GroundProperties.SetTopTiling 0 25
GroundProperties.SetSideTiling 0 5/8
GroundProperties.SetYOffset 0 0
GroundProperties.SetPlaneMap 0 0
GroundProperties.SetColorTiling 0 0/0
GroundProperties.SetLowDetailType 0 2
GroundProperties.SetEnvMap 0 0
GroundProperties.SetDetailTexture 1 "common\terrain\textures\detail\detail_grass01.dds"
GroundProperties.SetColorTexture 1 "common\terrain\textures\color\green06.dds"
GroundProperties.SetColor 1 34 64 45
GroundProperties.SetMaterial 1 Grass
GroundProperties.SetTopTiling 1 25
GroundProperties.SetSideTiling 1 5/8
GroundProperties.SetYOffset 1 0
GroundProperties.SetPlaneMap 1 0
GroundProperties.SetColorTiling 1 0/0.4
GroundProperties.SetLowDetailType 1 1
GroundProperties.SetEnvMap 1 0
GroundProperties.SetDetailTexture 2 "common\terrain\textures\detail\detail_grass09.dds"
GroundProperties.SetColorTexture 2 "common\terrain\textures\color\muddy.dds"
GroundProperties.SetColor 2 85 71 53
GroundProperties.SetMaterial 2 Dirt
GroundProperties.SetTopTiling 2 25
GroundProperties.SetSideTiling 2 5/8
GroundProperties.SetYOffset 2 0
GroundProperties.SetPlaneMap 2 0
GroundProperties.SetColorTiling 2 1/1
GroundProperties.SetLowDetailType 2 1
GroundProperties.SetEnvMap 2 0
GroundProperties.SetDetailTexture 3 "common\terrain\textures\detail\detail_snow2.dds"
GroundProperties.SetColorTexture 3 "common\terrain\textures\color\sand02_dark.dds"
GroundProperties.SetColor 3 104 94 81
GroundProperties.SetMaterial 3 Sand
GroundProperties.SetTopTiling 3 25
GroundProperties.SetSideTiling 3 5/8
GroundProperties.SetYOffset 3 0
GroundProperties.SetPlaneMap 3 0
GroundProperties.SetColorTiling 3 0/0
GroundProperties.SetLowDetailType 3 1
GroundProperties.SetEnvMap 3 0
GroundProperties.SetDetailTexture 4 "common\terrain\textures\detail\detail_darkdirt01.dds"
GroundProperties.SetColorTexture 4 "common\terrain\textures\color\muddy.dds"
GroundProperties.SetColor 4 157 154 94
GroundProperties.SetMaterial 4 Dirt
GroundProperties.SetTopTiling 4 25
GroundProperties.SetSideTiling 4 5/8
GroundProperties.SetYOffset 4 0
GroundProperties.SetPlaneMap 4 0
GroundProperties.SetColorTiling 4 0/0
GroundProperties.SetLowDetailType 4 1
GroundProperties.SetEnvMap 4 0

MiscGroundProperties.SetFarTopTilingHi 16
MiscGroundProperties.SetFarTopTilingLow 32
MiscGroundProperties.SetFarSideTiling 2/2
MiscGroundProperties.SetFarYOffset 0
MiscGroundProperties.SetLodSwitchDistance 75

Re: [HELP] Low details Map crash

Posted: 2008-11-13 21:13
by cat
FOUND IT... at least I think.

Its not the low detail textures causing it. Low TERRAIN settings crash it. I tried combinations of settings.

All on low and at least medium terrain prevents crashing. When inverted, all medium and terrain low it crashed.

Now what is causing this?

radio moscow
heightdata.con:
heightmapcluster.create HeighmapCluster
heightmapcluster.setClusterSize 3
heightmapcluster.setHeightmapSize 1024

rem --- primary ---
heightmapcluster.addHeightmap Heightmap 0 0
heightmap.setSize 513 513
heightmap.setScale 2/0.00457764/2
heightmap.setBitResolution 16
heightmap.setModified 1
heightmap.loadHeightData Levels/radio_moscow/HeightmapPrimary.raw
heightmap.setMaterialScale 1
heightmap.loadMaterialData Levels/radio_moscow/HeightmapPrimary.mat

rem --- secondary ---
heightmapcluster.addHeightmap Heightmap -1 -1
heightmap.setSize 257 257
heightmap.setScale 4/1.17188/4
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/radio_moscow/HeightmapSecondary_L1U1.raw
heightmapcluster.addHeightmap Heightmap 0 -1
heightmap.setSize 257 257
heightmap.setScale 4/1.17188/4
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/radio_moscow/HeightmapSecondary_U1.raw
heightmapcluster.addHeightmap Heightmap 1 -1
heightmap.setSize 257 257
heightmap.setScale 4/1.17188/4
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/radio_moscow/HeightmapSecondary_R1U1.raw

heightmapcluster.addHeightmap Heightmap -1 0
heightmap.setSize 257 257
heightmap.setScale 4/1.17188/4
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/radio_moscow/HeightmapSecondary_L1.raw
heightmapcluster.addHeightmap Heightmap 1 0
heightmap.setSize 257 257
heightmap.setScale 4/1.17188/4
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/radio_moscow/HeightmapSecondary_R1.raw

heightmapcluster.addHeightmap Heightmap -1 1
heightmap.setSize 257 257
heightmap.setScale 4/1.17188/4
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/radio_moscow/HeightmapSecondary_L1D1.raw
heightmapcluster.addHeightmap Heightmap 0 1
heightmap.setSize 257 257
heightmap.setScale 4/1.17188/4
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/radio_moscow/HeightmapSecondary_D1.raw
heightmapcluster.addHeightmap Heightmap 1 1
heightmap.setSize 257 257
heightmap.setScale 4/1.17188/4
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/radio_moscow/HeightmapSecondary_R1D1.raw

heightmapcluster.setSeaWaterLevel -10000

test map:
heightmapcluster.create HeighmapCluster
heightmapcluster.setClusterSize 3
heightmapcluster.setHeightmapSize 512

rem --- primary ---
heightmapcluster.addHeightmap Heightmap 0 0
heightmap.setSize 257 257
heightmap.setScale 2/0.0025/2
heightmap.setBitResolution 16
heightmap.setModified 1
heightmap.loadHeightData Levels/test2/HeightmapPrimary.raw
heightmap.setMaterialScale 1
heightmap.loadMaterialData Levels/test2/HeightmapPrimary.mat

rem --- secondary ---
heightmapcluster.addHeightmap Heightmap -1 -1
heightmap.setSize 257 257
heightmap.setScale 2/0.64/2
heightmap.setBitResolution 8
heightmap.setModified 0
heightmap.loadHeightData Levels/test2/HeightmapSecondary_L1U1.raw
heightmapcluster.addHeightmap Heightmap 0 -1
heightmap.setSize 257 257
heightmap.setScale 2/0.64/2
heightmap.setBitResolution 8
heightmap.setModified 0
heightmap.loadHeightData Levels/test2/HeightmapSecondary_U1.raw
heightmapcluster.addHeightmap Heightmap 1 -1
heightmap.setSize 257 257
heightmap.setScale 2/0.64/2
heightmap.setBitResolution 8
heightmap.setModified 0
heightmap.loadHeightData Levels/test2/HeightmapSecondary_R1U1.raw

heightmapcluster.addHeightmap Heightmap -1 0
heightmap.setSize 257 257
heightmap.setScale 2/0.64/2
heightmap.setBitResolution 8
heightmap.setModified 0
heightmap.loadHeightData Levels/test2/HeightmapSecondary_L1.raw
heightmapcluster.addHeightmap Heightmap 1 0
heightmap.setSize 257 257
heightmap.setScale 2/0.64/2
heightmap.setBitResolution 8
heightmap.setModified 0
heightmap.loadHeightData Levels/test2/HeightmapSecondary_R1.raw

heightmapcluster.addHeightmap Heightmap -1 1
heightmap.setSize 257 257
heightmap.setScale 2/0.64/2
heightmap.setBitResolution 8
heightmap.setModified 0
heightmap.loadHeightData Levels/test2/HeightmapSecondary_L1D1.raw
heightmapcluster.addHeightmap Heightmap 0 1
heightmap.setSize 257 257
heightmap.setScale 2/0.64/2
heightmap.setBitResolution 8
heightmap.setModified 0
heightmap.loadHeightData Levels/test2/HeightmapSecondary_D1.raw
heightmapcluster.addHeightmap Heightmap 1 1
heightmap.setSize 257 257
heightmap.setScale 2/0.64/2
heightmap.setBitResolution 8
heightmap.setModified 0
heightmap.loadHeightData Levels/test2/HeightmapSecondary_R1D1.raw

heightmapcluster.setSeaWaterLevel -10000
Mestia:
heightmapcluster.create HeighmapCluster
heightmapcluster.setClusterSize 3
heightmapcluster.setHeightmapSize 1024

rem --- primary ---
heightmapcluster.addHeightmap Heightmap 0 0
heightmap.setSize 513 513
heightmap.setScale 2/0.0025/2
heightmap.setBitResolution 16
heightmap.setModified 1
heightmap.loadHeightData Levels/assault_on_mestia/HeightmapPrimary.raw
heightmap.setMaterialScale 1
heightmap.loadMaterialData Levels/assault_on_mestia/HeightmapPrimary.mat

rem --- secondary ---
heightmapcluster.addHeightmap Heightmap -1 -1
heightmap.setSize 257 257
heightmap.setScale 4/0.64/4
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/assault_on_mestia/HeightmapSecondary_L1U1.raw
heightmapcluster.addHeightmap Heightmap 0 -1
heightmap.setSize 257 257
heightmap.setScale 4/0.64/4
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/assault_on_mestia/HeightmapSecondary_U1.raw
heightmapcluster.addHeightmap Heightmap 1 -1
heightmap.setSize 257 257
heightmap.setScale 4/0.64/4
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/assault_on_mestia/HeightmapSecondary_R1U1.raw

heightmapcluster.addHeightmap Heightmap -1 0
heightmap.setSize 257 257
heightmap.setScale 4/0.64/4
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/assault_on_mestia/HeightmapSecondary_L1.raw
heightmapcluster.addHeightmap Heightmap 1 0
heightmap.setSize 257 257
heightmap.setScale 4/0.64/4
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/assault_on_mestia/HeightmapSecondary_R1.raw

heightmapcluster.addHeightmap Heightmap -1 1
heightmap.setSize 257 257
heightmap.setScale 4/0.64/4
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/assault_on_mestia/HeightmapSecondary_L1D1.raw
heightmapcluster.addHeightmap Heightmap 0 1
heightmap.setSize 257 257
heightmap.setScale 4/0.64/4
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/assault_on_mestia/HeightmapSecondary_D1.raw
heightmapcluster.addHeightmap Heightmap 1 1
heightmap.setSize 257 257
heightmap.setScale 4/0.64/4
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/assault_on_mestia/HeightmapSecondary_R1D1.raw

heightmapcluster.setSeaWaterLevel -10000

Re: [HELP] Low details Map crash

Posted: 2008-11-13 21:29
by LeChuckle
yep i had to turn terrain to medium as well. nice to see you fixed it.

Re: [HELP] Low details Map crash

Posted: 2008-11-13 21:31
by cat
I did not fix it. I just narrowed the cause to low TERRAIN settings. Still wondering why it hapens on ANY map I create.

Re: [HELP] Low details Map crash

Posted: 2008-11-14 00:18
by cat
After spending the last 6 hours looking for the error I came to some interestting conclusions:


I have 2 PC

PC 1 runs on Vista 32
PC2 runs on Windows XP

Any map the originates from Vista-PC crashes on low detail settings. Any map originating from the other PC does not.

Since the problem looks like missing low detail textures I tried different things.

I created a map on my XP pc. I will call it xp_map. I created it completely on the XP machine. It does have a flat terrain, some parts painted over and generated with low detail textures.

I have created a similiar map completely on the vista pc. vista_map

Then I took xp_map and copied it to the vista pc and removed all low detail textures and regenerated them on the vista pc. I expected it to crash, however it did run. The same method inverted (vista_map getting new low detail maps on the xp pc DID crash)

There appears something to fundamentally screw any map I create on the Vista PC. However it is not the detail textures. Because any attempt to screw up a map that was created on the xp pc did not work.