Page 1 of 1

Sky dome - crashes [Solved]

Posted: Sat Dec 10, 2011 8:45 pm
by ARCTroopaNate
I added in an imperial star destroyer dome and trade federation lander dome and now my map crashes and I got this from the log. (Map crashes after loading 9-10 of the dots.) It was working fine before. These errors confuse me and if anyone could make any sense of them I'd greatly appreciate it.
Hidden/Spoiler:
Message Severity: 3
c:\battlefront2\main\pebblefl\common\PblConfig.h(30)
PblConfig: invalid config; 'DATA' chunk expected
chunk.GetId() == _ID( 'D', 'A', 'T', 'A' )

Message Severity: 3
c:\battlefront2\main\pebblefl\common\PblConfig.h(35)
PblConfig: invalid config; 'DATA' chunk with invalid string table
m_uiNumArgs*4 + uiStringTableLen <= CONFIG_MAX_DATA_ARGS*4

Re: Sky dome - crashes

Posted: Sat Dec 10, 2011 11:00 pm
by AceMastermind
You've had a similar problem before but never confirmed if it was solved and just abandoned it:
forums/viewtopic.php?f=27&t=27327

Can you post your *.sky file? It could be a syntax error just like your other topic.

Re: Sky dome - crashes

Posted: Sun Dec 11, 2011 8:35 am
by ARCTroopaNate
My Sky File.
Hidden/Spoiler:
SkyInfo()
{
Enable(1);

FogColor(203,201,203);
FogRange(100.0, 1000.000000);

PS2()
{
NearSceneRange(0.5, 200.000000, 270.000000);
NearSplitScreenRange(1.000000, 140.000000, 200.000000);
FarSceneRange(800.000000);
}
PC()
{
NearSceneRange(90.0, 250.0, 120.0, 300.0);
FarSceneRange(400.000000, 1400.0);
}
XBOX()
{
NearSceneRange(0.5, 200.000000, 270.000000);
NearSplitScreenRange(1.000000, 200.000000, 270.000000);
FarSceneRange(800.000000);
}
}

DomeInfo()
{
Texture("SKY_Hoth.tga");
Angle(190.000005);
Ambient(128.000038, 128.000038, 128.000038);
Softness(1);
SoftnessParam(60);

PC()
{
//TerrainBumpDetail("hoth_bump", 1.0, 0.3);
}

SkyObject()
{
Geometry("imp_fly_destroyer_dome");
NumObjects(2);
Height(350, 500);
VelocityZ(30, 50);
Distance(2500);
InDirectionFactor(2.5);
}

SkyObject()
{
Geometry("cis_fly_fedlander_dome");
NumObjects(2);
Height(350, 500);
VelocityZ(30, 50);
Distance(2500);
InDirectionFactor(2.5);
}

}

Re: Sky dome - crashes

Posted: Sun Dec 11, 2011 9:42 am
by Marth8880
Are those dome models loaded in your LUA? Also, it appears you are missing a skydome model...

Oh, and sky objects don't go in DomeInfo; each one goes in its own SkyObject().

Re: Sky dome - crashes

Posted: Sun Dec 11, 2011 3:26 pm
by ARCTroopaNate
Thank you all for your suggestions! My map is now running smoothly. [SOLVED]

syntax errors

Posted: Sun Dec 11, 2011 4:26 pm
by AceMastermind
You need to pay attention where you are inserting code, you can't just put it anywhere in these files. The engine expects certain formatting to read the files properly. There is a slew of stock examples to cross-reference when editing any text files in the modtools. I think a lot of these user errors spawn from folks getting over excited or trying to rush when it really isn't necessary, slow down and take your time, there is plenty of it.
I'm marking your other thread [Solved] too.

Re: Sky dome - crashes [Solved]

Posted: Sun Dec 11, 2011 4:30 pm
by ARCTroopaNate
Thanks! And I'll be sure to remember your advice next time! :)