Sky dome - crashes [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
ARCTroopaNate
Jedi
Jedi
Posts: 1161
Joined: Mon Mar 21, 2011 8:12 pm
Projects :: Star Wars Battlefront - Tides of War
Games I'm Playing :: SWBF2 RC EAW
xbox live or psn: I have ps4
Location: STALKER!
Contact:

Sky dome - crashes [Solved]

Post 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
Last edited by ARCTroopaNate on Sun Dec 11, 2011 3:27 pm, edited 1 time in total.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Sky dome - crashes

Post 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.
ARCTroopaNate
Jedi
Jedi
Posts: 1161
Joined: Mon Mar 21, 2011 8:12 pm
Projects :: Star Wars Battlefront - Tides of War
Games I'm Playing :: SWBF2 RC EAW
xbox live or psn: I have ps4
Location: STALKER!
Contact:

Re: Sky dome - crashes

Post 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);
}

}
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Sky dome - crashes

Post 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().
ARCTroopaNate
Jedi
Jedi
Posts: 1161
Joined: Mon Mar 21, 2011 8:12 pm
Projects :: Star Wars Battlefront - Tides of War
Games I'm Playing :: SWBF2 RC EAW
xbox live or psn: I have ps4
Location: STALKER!
Contact:

Re: Sky dome - crashes

Post by ARCTroopaNate »

Thank you all for your suggestions! My map is now running smoothly. [SOLVED]
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

syntax errors

Post 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.
ARCTroopaNate
Jedi
Jedi
Posts: 1161
Joined: Mon Mar 21, 2011 8:12 pm
Projects :: Star Wars Battlefront - Tides of War
Games I'm Playing :: SWBF2 RC EAW
xbox live or psn: I have ps4
Location: STALKER!
Contact:

Re: Sky dome - crashes [Solved]

Post by ARCTroopaNate »

Thanks! And I'll be sure to remember your advice next time! :)
Post Reply