Game Development Community

TGEA 1.8.1 - Application crashes when creating water...

by Josef Froschauer · in Hardware Issues · 02/13/2009 (3:43 am) · 6 replies

Hi,

I am using TGEA 1.8.1 and everytime i want to create a water block, the application crashes. When i watch the GameExamples using water (AtlasDemo), everything works fine... i also can manipulate the water blocks.
I updated my graphic card drivers (GeForce 8300GS) and DirectX, but it didn't help. Then I manually added the water block code into the mission files. Now the mission doesn't load :-(

Is there some kind of patch for this problem?

#1
02/13/2009 (5:13 am)
Hello.
If you manually changed mission file check syntax and pleace where you make changes. Once time i do this and i receive message 'waiting for server' when mission starting up. Check all commas etc. Commas are sneaky;)

This is working datablock from one of our mission:

new WaterBlock() {
canSaveDynamicFields = "1";
Enabled = "1";
position = "618.53 212.421 -39.7789";
rotation = "1 0 0 0";
scale = "900 300 1";
waveDir[0] = "0 1";
waveDir[1] = "0.707 0.707";
waveDir[2] = "0.5 0.86";
waveDir[3] = "0.86 8.5";
waveSpeed[0] = "-0.065";
waveSpeed[1] = "0.09";
waveSpeed[2] = "0.04";
waveSpeed[3] = "0.025";
waveTexScale[0] = "7.14 7.14";
waveTexScale[1] = "6.25 12.5";
waveTexScale[2] = "50 50";
waveTexScale[3] = "0 0";
reflectTexSize = "512";
baseColor = "5 12 22 153";
underwaterColor = "11 31 46 190";
gridSize = "100";
surfMaterial[0] = "Water";
surfMaterial[1] = "Underwater";
surfMaterial[2] = "Water1_1FogPass";
surfMaterial[3] = "WaterBlendMat";
surfMaterial[4] = "WaterFallback1_1";
fullReflect = "1";
clarity = "0.15";
fresnelBias = "0.12";
fresnelPower = "6";
visibilityDepth = "10";
renderFogMesh = "1";
TypeBool locked = "false";
}; <-- remember of this semicolon
#2
02/13/2009 (5:50 am)
thx, now it worked! i don't know if i simply forgot a semicolon or something... but your datablock works fine :-)
#3
02/13/2009 (6:00 am)
I'm glad:)
#4
03/09/2009 (6:31 pm)
Yeah funny you talk about that. the prob only seemed to happen when I added the Shader kit for the SSAO feature to TGEA 1.8.1, now glad I know its not their product. Thanks for the post and getting us a fix to it.

Will
#5
04/13/2009 (4:37 am)
anyone find a sane reason for this yet ?
#6
04/13/2009 (10:08 am)
It's part of the TGEA 1.8.1 Known Issues thread. "TGEA crashes when creating a waterblock in Template" issue, the 5th one from the top.