Sorry but could someone check this :/

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
Tuskenjedi

Sorry but could someone check this :/

Post by Tuskenjedi »

Sorry to bother everyone, but the mungelog says im missing a closing bracket and I just cant find it!

Code: Select all



Effect("FogCloud")
{
	Enable(1);
	Texture("fluffy");
	Range(40.0, 80.0);
	Color(255, 255, 255, 75);
	Velocity(4.0, 0.0);
	Rotation(0.1);
	Height(9.0);
	ParticleSize(18.0);
	ParticleDensity(20.0);
}

Effect("Precipitation")
{
	Enable(1);
	Type("Streaks");
	Range(12.5);
	Color(216, 220, 228);
	VelocityRange(0.6);
	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.04);
		ParticleDensity(256.0);
		Velocity(7.0);
		StreakLength(0.865);
		GroundEffectsPerSec(15);
	}

}

Effect("Water")
{
	// general parameters

	Tile(4.0,4.0);
	MainTexture("kas2_water");

	FoamTexture("kam1_water");
	FoamTile(5.0,5.0);

	// ocean parameters
	OceanEnable(1);
	WindDirection(0.2,1.0);
	WindSpeed(25.0);

	// water event parameters
	WaterRingColor(148, 170, 192,255);
	WaterWakeColor(192, 192, 192,255);
	WaterSplashColor((192, 192, 192,255);

	// PS2 parameters
	PS2()
	{
		Velocity(0.01,0.05);
		PhillipsConstant(0.00001);
		PatchDivisions(16,16);
		LODDecimation(2);

		MinDiffuseColor(32, 40, 32, 255);
		MaxDiffuseColor(128, 130, 128, 255);
		BorderDiffuseColor(160, 160, 160, 255);
		SpecularColor(192, 192, 192, 192);
		SpeckleSpecularColor(160, 160, 160, 255);
		SpeckleAmbientColor(75, 75, 75, 255);
		SpeckleTextures("water_specles0", "water_specles1", "water_specles2", "water_specles3");
		SpeckleTile(5.0, 5.0);
		SpeckleBlendSpeed(4.0);
		SpeckleScrollSpeed(0.0,0.0);
		SpeckleCoordShift(10.0,10.0);
		LightAzimAndElev(1.0,0.0);Effect("Water")
{
	// general parameters

	Tile(4.0,4.0);
	MainTexture("kam1_water_2");

	FoamTexture("kam1_water");
	FoamTile(5.0,5.0);

	// ocean parameters
	OceanEnable(1);
	WindDirection(0.2,1.0);
	WindSpeed(25.0);

	// water event parameters
	WaterRingColor(148, 170, 192,255);
	WaterWakeColor(192, 192, 192,255);
	WaterSplashColor((192, 192, 192,255);

	// PS2 parameters
	PS2()
	{
		Velocity(0.01,0.05);
		PhillipsConstant(0.00001);
		PatchDivisions(16,16);
		LODDecimation(2);

		MinDiffuseColor(32, 40, 32, 255);
		MaxDiffuseColor(128, 130, 128, 255);
		BorderDiffuseColor(160, 160, 160, 255);
		SpecularColor(192, 192, 192, 192);
		SpeckleSpecularColor(160, 160, 160, 255);
		SpeckleAmbientColor(75, 75, 75, 255);
		SpeckleTextures("water_specles0", "water_specles1", "water_specles2", "water_specles3");
		SpeckleTile(5.0, 5.0);
		SpeckleBlendSpeed(4.0);
		SpeckleScrollSpeed(0.0,0.0);
		SpeckleCoordShift(10.0,10.0);
		LightAzimAndElev(1.0,0.0);Effect("Water")
{
	// general parameters

	Tile(4.0,4.0);
	MainTexture("kas2_water");

	FoamTexture("kam1_water");
	FoamTile(5.0,5.0);

	// ocean parameters
	OceanEnable(1);
	WindDirection(0.2,1.0);
	WindSpeed(15.0);

	// water event parameters
	WaterRingColor(148, 170, 192,255);
	WaterWakeColor(192, 192, 192,255);
	WaterSplashColor((192, 192, 192,255);

	// PS2 parameters
	PS2()
	{
		Velocity(0.01,0.05);
		PhillipsConstant(0.00001);
		PatchDivisions(16,16);
		LODDecimation(2);

		MinDiffuseColor(32, 40, 32, 255);
		MaxDiffuseColor(128, 130, 128, 255);
		BorderDiffuseColor(160, 160, 160, 255);
		SpecularColor(192, 192, 192, 192);
		SpeckleSpecularColor(160, 160, 160, 255);
		SpeckleAmbientColor(75, 75, 75, 255);
		SpeckleTextures("water_specles0", "water_specles1", "water_specles2", "water_specles3");
		SpeckleTile(5.0, 5.0);
		SpeckleBlendSpeed(4.0);
		SpeckleScrollSpeed(0.0,0.0);
		SpeckleCoordShift(10.0,10.0);
		LightAzimAndElev(1.0,0.0);
	}

	PC()
	{
		Velocity(0.001,0.005);
		PhillipsConstant(0.00001);
		PatchDivisions(16,16);
		LODDecimation(2);
	}

}

Effect("hdr")
{
	Enable(1)
}






Big_rich

RE: Sorry but could someone check this :/

Post by Big_rich »

you should of over written the kamino stuff, all you did is just bump the original kamino stuff down.

remove all this:

// PS2 parameters
PS2()
{
Velocity(0.01,0.05);
PhillipsConstant(0.00001);
PatchDivisions(16,16);
LODDecimation(2);

MinDiffuseColor(32, 40, 32, 255);
MaxDiffuseColor(128, 130, 128, 255);
BorderDiffuseColor(160, 160, 160, 255);
SpecularColor(192, 192, 192, 192);
SpeckleSpecularColor(160, 160, 160, 255);
SpeckleAmbientColor(75, 75, 75, 255);
SpeckleTextures("water_specles0", "water_specles1", "water_specles2", "water_specles3");
SpeckleTile(5.0, 5.0);
SpeckleBlendSpeed(4.0);
SpeckleScrollSpeed(0.0,0.0);
SpeckleCoordShift(10.0,10.0);
LightAzimAndElev(1.0,0.0);Effect("Water")
{
// general parameters

Tile(4.0,4.0);
MainTexture("kam1_water_2");

FoamTexture("kam1_water");
FoamTile(5.0,5.0);

// ocean parameters
OceanEnable(1);
WindDirection(0.2,1.0);
WindSpeed(25.0);

// water event parameters
WaterRingColor(148, 170, 192,255);
WaterWakeColor(192, 192, 192,255);
WaterSplashColor((192, 192, 192,255);

// PS2 parameters
PS2()
{
Velocity(0.01,0.05);
PhillipsConstant(0.00001);
PatchDivisions(16,16);
LODDecimation(2);

MinDiffuseColor(32, 40, 32, 255);
MaxDiffuseColor(128, 130, 128, 255);
BorderDiffuseColor(160, 160, 160, 255);
SpecularColor(192, 192, 192, 192);
SpeckleSpecularColor(160, 160, 160, 255);
SpeckleAmbientColor(75, 75, 75, 255);
SpeckleTextures("water_specles0", "water_specles1", "water_specles2", "water_specles3");
SpeckleTile(5.0, 5.0);
SpeckleBlendSpeed(4.0);
SpeckleScrollSpeed(0.0,0.0);
SpeckleCoordShift(10.0,10.0);
LightAzimAndElev(1.0,0.0);Effect("Water")
{
// general parameters

Tile(4.0,4.0);
MainTexture("kas2_water");

FoamTexture("kam1_water");
FoamTile(5.0,5.0);

// ocean parameters
OceanEnable(1);
WindDirection(0.2,1.0);
WindSpeed(15.0);

// water event parameters
WaterRingColor(148, 170, 192,255);
WaterWakeColor(192, 192, 192,255);
WaterSplashColor((192, 192, 192,255);

// PS2 parameters
PS2()
{
Velocity(0.01,0.05);
PhillipsConstant(0.00001);
PatchDivisions(16,16);
LODDecimation(2);

MinDiffuseColor(32, 40, 32, 255);
MaxDiffuseColor(128, 130, 128, 255);
BorderDiffuseColor(160, 160, 160, 255);
SpecularColor(192, 192, 192, 192);
SpeckleSpecularColor(160, 160, 160, 255);
SpeckleAmbientColor(75, 75, 75, 255);
SpeckleTextures("water_specles0", "water_specles1", "water_specles2", "water_specles3");
SpeckleTile(5.0, 5.0);
SpeckleBlendSpeed(4.0);
SpeckleScrollSpeed(0.0,0.0);
SpeckleCoordShift(10.0,10.0);
LightAzimAndElev(1.0,0.0);
}
Big_rich

RE: Sorry but could someone check this :/

Post by Big_rich »

in other words it should look like this:

Effect("Water")
{
// general parameters

Tile(4.0,4.0);
MainTexture("kas2_water");

FoamTexture("kam1_water");
FoamTile(5.0,5.0);

// ocean parameters
OceanEnable(1);
WindDirection(0.2,1.0);
WindSpeed(25.0);

// water event parameters
WaterRingColor(148, 170, 192,255);
WaterWakeColor(192, 192, 192,255);
WaterSplashColor((192, 192, 192,255);
PC()
{
Velocity(0.001,0.005);
PhillipsConstant(0.00001);
PatchDivisions(16,16);
LODDecimation(2);
}

}

Effect("hdr")
{
Enable(1)
}
Tuskenjedi

RE: Sorry but could someone check this :/

Post by Tuskenjedi »

thanks big rich, great help!
Post Reply