Page 1 of 1

Munge error [Solved]

Posted: Mon Jun 02, 2008 6:31 pm
by elfie
I got an error that is from my world. What happened was i cleaned the world and then cleaned it a second time because it said there was an error. then i munged and got these errors:
Hidden/Spoiler:
ERROR[configmunge world1\WAR.fx]:This file has an extra closing bracket somewhere!
ERROR[configmunge world1\WAR.fx]:[INTERNAL: Chunk nesting underflow]ERROR[configmunge world1\WAR.fx]:[INTERNAL: Chunk nesting underflow] [continuing]
ERROR[configmunge world1\yav2.fx]:[INTERNAL: Chunk nesting underflow]ERROR[configmunge world1\yav2.fx]:[INTERNAL: Chunk nesting underflow] [continuing]
ERROR[configmunge world2\yav2.fx]:[INTERNAL: Chunk nesting underflow]ERROR[configmunge world2\yav2.fx]:[INTERNAL: Chunk nesting underflow] [continuing]
7 Errors 0 Warnings

ERROR[levelpack WAR.req]:Unexpected end of file while searching for closing bracket.
File : munged\pc\war.envfx.req(13)...
ERROR[levelpack WAR.req]:Unexpected end of file while searching for closing bracket.
File : munged\pc\war.envfx.req(13)...
[continuing]
2 Errors 0 Warnings

ERROR[levelpack WAR.req]:Unexpected end of file while searching for closing bracket.
File : munged\pc\war.envfx.req(13)...
ERROR[levelpack WAR.req]:Unexpected end of file while searching for closing bracket.
File : munged\pc\war.envfx.req(13)...
[continuing]
2 Errors 0 Warnings
and got these errors in my BF2log. It dosen't crash though you just can't spawn.
Hidden/Spoiler:
Message Severity: 3
.\Source\LoadUtil.cpp(1010)
Data in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\WAR\Data\_lvl_pc\WAR\WAR.lvl is not a binary UCF file.

Message Severity: 3
.\Source\LoadUtil.cpp(829)
Unable to find level chunk WAR_ctf in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\WAR\Data\_lvl_pc\WAR\WAR.lvl


Message Severity: 3
.\Source\LoadUtil.cpp(1019)
Unable to find level chunk in dc:WAR\WAR.lvl

and:

Message Severity: 3
.\Source\LuaHelper.cpp(312)
CallProc failed: ERROR: capture region for a flag does not exist in map
stack traceback:
[C]: in function `assert'
(none): in function `AddFlag'
(none): in function `ScriptPostLoad'
The only things i edited was the sky file and the .fx file

FX:
Hidden/Spoiler:
Effect("Precipitation")
{
Enable(1);
Type("Streaks");
Range(12.5);
Color(216, 220, 228);
VelocityRange(1.0);
ParticleDensityRange(0.0);
CameraCrossVelocityScale(0.2);
CameraAxialVelocityScale(1.0);

GroundEffect("com_sfx_rainsplash");
GroundEffectSpread(8);

PS2()
{
AlphaMinMax(0.8, 1.0);
ParticleSize(0.06);
ParticleDensity(80.0);
Velocity(8.0);
StreakLength(1.7);
GroundEffectsPerSec(7);
}
XBOX()
{
AlphaMinMax(0.2, 0.3);
ParticleSize(0.02);
ParticleDensity(256.0);
Velocity(9.0);
StreakLength(1.0);
GroundEffectsPerSec(15);
}
PC()
{
AlphaMinMax(0.3, 0.45);
ParticleSize(0.02);
ParticleDensity(256.0);
Velocity(9.0);
StreakLength(1.0);
GroundEffectsPerSec(15);
}
}

Effect("Lightning")
{
Enable(1);
Color(255, 255, 255);
SunlightFadeFactor(0.1);
SkyDomeDarkenFactor(0.4);
BrightnessMin(1.0);
FadeTime(0.2);
TimeBetweenFlashesMinMax(3.0, 5.0);
TimeBetweenSubFlashesMinMax(0.01, 0.5);
NumSubFlashesMinMax(2, 5);
HorizonAngleMinMax(30, 60);
SoundCrack("kam_amb_thunder");
SoundSubCrack("kam_amb_thundersub");
}


}

LightningBolt("skybolt")
{
Texture("lightning");
Width(30.0);
FadeTime(0.5);
BreakDistance(20.0);
TextureSize(30.0);
SpreadFactor(20.0);
MaxBranches(2.0);
BranchFactor(0.5);
BranchSpreadFactor(8);
BranchLength(80.0);
InterpolationSpeed(0.4);
NumChildren(1);
ChildBreakDistance(15.0);
ChildTextureSize(8.0);
ChildWidth(1.0);
ChildSpreadFactor(10.0);
Color(255,255,255,255);
ChildColor(255,255,255,150);
}

Effect("Blur")
{
PC()
{
Enable(0);
Mode(1)
ConstantBlend(0.44)
DownSizeFactor(0.2500)
}
XBOX()
{
Enable(0);
Mode(1)
ConstantBlend(0.44)

DownSizeFactor(0.2500)
}

}
SKY:
Hidden/Spoiler:
SkyInfo()
{
FogColor(128, 128, 128);
FogRange(1800.000000, 3000.000000);
NearSceneRange(70, 100.0, 150.0);
FarSceneRange(257.0);
AmbientColor(100, 100, 100);
VehicleAmbientColor(80,80,80);
Enable(1);
FogRamp(3);
}

SunInfo()
{
Angle(150.000000, 0.000000);
Color(70, 78, 80);
Texture("");
Degree(0.000000);
BackAngle(210, 0.000000);
BackColor(0, 0, 0);
BackDegree(0.000000);
}

DomeInfo()
{
Texture("sky_yav2");
Angle(-90.000000);
Ambient(255.000000, 255.000000, 255.000000);
Filter(1);
Threshold(150);
Intensity(50);

Softness(1);
SoftnessParam(60);

DomeModel()
{
Geometry("sky_yav2");
}
DomeModel()
{
Geometry("sky_yav2_planet");
Offset(100.0);
MovementScale(0.995);
}

DomeModel()
{
Geometry("sky_yav2_mountains");
Offset(100.0);
MovementScale(0.995);
}

LowResTerrain()
{
Texture("yav2");
PatchResolution(2);
FogNear(400.0);
FogFar(800.0);
FogColor(80,80,80, 128);
}


}
EDIT: Ok, I understand that it is a problem with the fx file. If anyone can spot anything that would help a lot.

Re: error

Posted: Mon Jun 02, 2008 7:24 pm
by AceMastermind
Hidden/Spoiler:
[code]Effect("Precipitation")
{
Enable(1);
Type("Streaks");
Range(12.5);
Color(216, 220, 228);
VelocityRange(1.0);
ParticleDensityRange(0.0);
CameraCrossVelocityScale(0.2);
CameraAxialVelocityScale(1.0);

GroundEffect("com_sfx_rainsplash");
GroundEffectSpread(8);

PS2()
{
AlphaMinMax(0.8, 1.0);
ParticleSize(0.06);
ParticleDensity(80.0);
Velocity(8.0);
StreakLength(1.7);
GroundEffectsPerSec(7);
}
XBOX()
{
AlphaMinMax(0.2, 0.3);
ParticleSize(0.02);
ParticleDensity(256.0);
Velocity(9.0);
StreakLength(1.0);
GroundEffectsPerSec(15);
}
PC()
{
AlphaMinMax(0.3, 0.45);
ParticleSize(0.02);
ParticleDensity(256.0);
Velocity(9.0);
StreakLength(1.0);
GroundEffectsPerSec(15);
}
}

Effect("Lightning")
{
Enable(1);
Color(255, 255, 255);
SunlightFadeFactor(0.1);
SkyDomeDarkenFactor(0.4);
BrightnessMin(1.0);
FadeTime(0.2);
TimeBetweenFlashesMinMax(3.0, 5.0);
TimeBetweenSubFlashesMinMax(0.01, 0.5);
NumSubFlashesMinMax(2, 5);
HorizonAngleMinMax(30, 60);
SoundCrack("kam_amb_thunder");
SoundSubCrack("kam_amb_thundersub");
}


} <=============================================REMOVE THIS BRACKET!

LightningBolt("skybolt")
{
Texture("lightning");
Width(30.0);
FadeTime(0.5);
BreakDistance(20.0);
TextureSize(30.0);
SpreadFactor(20.0);
MaxBranches(2.0);
BranchFactor(0.5);
BranchSpreadFactor(8);
BranchLength(80.0);
InterpolationSpeed(0.4);
NumChildren(1);
ChildBreakDistance(15.0);
ChildTextureSize(8.0);
ChildWidth(1.0);
ChildSpreadFactor(10.0);
Color(255,255,255,255);
ChildColor(255,255,255,150);
}

Effect("Blur")
{
PC()
{
Enable(0);
Mode(1)
ConstantBlend(0.44)
DownSizeFactor(0.2500)
}
XBOX()
{
Enable(0);
Mode(1)
ConstantBlend(0.44)

DownSizeFactor(0.2500)
}

}[/code]

Re: error

Posted: Mon Jun 02, 2008 7:30 pm
by elfie
guess what? It worked! Ace, you are truly amazing! Thank you! :mrgreen: