Cps are not showing up

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

Locked
CayokeX
Private Recruit
Posts: 20
Joined: Mon Jul 28, 2008 12:00 am

Cps are not showing up

Post by CayokeX »

Hi i am working on a map and well the cps are in zero editor but i think i know my problem... but im afraid to try and fix it with out help. i thin k it is my WD2.fx file.
This is what I have
Hidden/Spoiler:
Effect("Godray")
{
Enable(1);

MaxGodraysInWorld(300);
MaxGodraysOnScreen(8);

MaxViewDistance(80.0);
FadeViewDistance(70.0);
MaxLength(40.0);
OffsetAngle(-30.0);

MinRaysPerGodray(3);
MaxRaysPerGodray(6);
RadiusForMaxRays(2.0);

Texture("fx_godray");
TextureScale(1.5, 1.5);
TextureVelocity(0.0, -0.1, 0.0);
TextureJitterSpeed(0.05);
}

Effect("FogCloud")
{
Enable(1);
Texture("fluffy");
Range(90.0, 120.0);
Color(168, 172, 180, 128);
Velocity(5.0, 0.0);
Rotation(0.1);
Height(16.0);
ParticleSize(28.0);
ParticleDensity(60.0);
}

Effect("Water")
{
// general parameters
PatchDivisions(8,8);
Tile(2.0,2.0);

// ocean parameters
OceanEnable(0);

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

DisableLowRes();

// PS2 parameters
PS2()
{
Velocity(0.1,0.02);
LODDecimation(8);
MainTexture("yav_water.tga");
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(0, 0, 0, 255);
SpeckleTextures("water_specularmask_",25, 2.0);
SpeckleTile(4.0, 4.0);
SpeckleScrollSpeed(0.2,0.0);
SpeckleCoordShift(10.0,10.0);
LightAzimAndElev(1.0,0.0);
}
// PC parameters
PC()
{
Velocity(0.01,0.02);
MainTexture("yav_water.tga");
LODDecimation(1);

RefractionColor(101, 136, 140, 255);
ReflectionColor(150,150,150,150);
UnderwaterColor(128, 130, 128, 64);
FresnelMinMax(0.2,0.7)

NormalMapTextures("water_normalmap_",16,8.0);
BumpMapTextures("water_bumpmap_",16,8.0);
SpecularMaskTextures("water_specularmask_",25, 2.0);
SpecularMaskTile(4.0,4.0);
SpecularMaskScrollSpeed(0.0,0.0);
}
// XBOX parameters
XBOX()
{
Velocity(0.01,0.002);
LODDecimation(1);
RefractionColor(128, 130, 128, 64);
ReflectionColor(150,150,150,150);
UnderwaterColor(128, 130, 128, 64);
FresnelMinMax(0.2,0.7)
NormalMapTextures("water_normalmap_",16,8.0);
}
}

Effect("Blur")
{
PS2()
{
Enable(1);
MinMaxDepth(0.95,1.0);
}
PC()
{
Enable(1);
Mode(1)
ConstantBlend(0.3)
DownSizeFactor(0.2500)
}
XBOX()
{
Enable(1);
Mode(1)
ConstantBlend(0.45)
DownSizeFactor(0.2500)
}
}

SunFlare()
{
Angle(120.000000, -30.000000);
Color(255, 255, 255);
Size(5.0);
FlareOutSize(40.0);
NumFlareOuts(40);
InitialFlareOutAlpha(70);
HaloInnerRing(0.0, 255, 255, 255, 255);
PS2()
{
HaloMiddleRing(10.0, 255, 200, 0, 255);
}
PC()
{
HaloMiddleRing(10.0, 255, 200, 0, 128);
}
XBOX()
{
HaloMiddleRing(10.0, 255, 200, 0, 128);
}
HaloOutterRing(40.0, 255, 127, 0, 0);
SpikeColor(230,230,0,128);
SpikeSize(9.0);
}
}

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");
}
This is the error log
Hidden/Spoiler:
ERROR[configmunge world1\WD2.fx]:This file has an extra closing bracket somewhere!
ERROR[configmunge world1\WD2.fx]:[INTERNAL: Chunk nesting underflow]ERROR[configmunge world1\WD2.fx]:[INTERNAL: Chunk nesting underflow] [continuing]
3 Errors 0 Warnings

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

ERROR[levelpack WD2.req]:Unexpected end of file while searching for closing bracket.
File : munged\pc\wd2.envfx.req(21)...
ERROR[levelpack WD2.req]:Unexpected end of file while searching for closing bracket.
File : munged\pc\wd2.envfx.req(21)...
[continuing]
2 Errors 0 Warnings
I was working on putting rain and lightning in but i deleted the sound parts... I Do not know how that would affect the cps but i guess it can..
The whole map is covered with water...

If you have any idea please Help me
computergeek
General
General
Posts: 770
Joined: Thu Jun 07, 2007 6:26 pm
Projects :: Halo Warthog vehicle for SWBF2
Games I'm Playing :: Bioware RPGs - Halo
xbox live or psn: No gamertag set
Location: Far Far away....

Re: Cps are not showing up

Post by computergeek »

Post a picture of what it looks like when you try to spawn
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Cps are not showing up

Post by AceMastermind »

If you get any errors in your mungelog then there's no need to even play your map, fix the errors first.
It looks like you have an extra closing bracket in the SunFlare() section of your fx file, remove one of them from the bottom of that section.
CayokeX
Private Recruit
Posts: 20
Joined: Mon Jul 28, 2008 12:00 am

Re: Cps are not showing up

Post by CayokeX »

Thank you but this thread can now be locked. I solved my problem. I had the fx files open in word pad he-he.
When i opened them in notepad it worked but now i gotta get lightning to work... if i can use this thread for that reason dont lock it.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Cps are not showing up

Post by [RDH]Zerted »

Lightning has nothing to do with CP not showing up (nor did your original problem), unless there is so much lightning that they keep striking the CPs and are blowing them up.

Locked.
Locked