Map lit brightly around edges and terrain disappearing

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
Loopy53
1st Lieutenant
1st Lieutenant
Posts: 456
Joined: Thu Nov 01, 2012 2:27 am
Projects :: Earth Apocalypse
Games I'm Playing :: swbf2 bf3 cod
xbox live or psn: Dont have one
Location: On earth, I guess.

Map lit brightly around edges and terrain disappearing

Post by Loopy53 »

I am having a weird dilemma. On the very edge of my map there is a bright white line. The terrain also disappears after a certain point. No idea whats causing this. Here are my .sky and .fx files, and a video. Note in the video I didn't raise any terrain so no terrain is disappearing, if you want me to remake the video, I can.

.sky:
Hidden/Spoiler:
[code]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);
}
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);
}
DomeModel()
{
Geometry("hoth_sky_dome");
}
DomeModel()
{
Geometry("hoth_mountain");
Offset(80.0);
MovementScale(0.995);
}
}[/code]
.fx
Hidden/Spoiler:
[code]Effect("Wind")
{
Enable(1);
Velocity(4.0, 0.3);
VelocityRange(1.0);
VelocityChangeRate(0.2);
//Effect("rainsplash");
//GroundEffectsPerSec(20);
//GroundEffectSpread(10);
}

Effect("Precipitation")
{
Enable(1);
Type("Quads");
Texture("fx_snow");
ParticleSize(0.015);
Color(255, 255, 255);
Range(15.0);
Velocity(2.0);
VelocityRange(0.8);
PS2()
{
ParticleDensity(80.0);
}
XBOX()
{
ParticleDensity(100.0);
}
PC()
{
ParticleDensity(100.0);
}
ParticleDensityRange(0.0);
CameraCrossVelocityScale(1.0);
CameraAxialVelocityScale(1.0);
AlphaMinMax(0.3, 0.45);
RotationRange(2.0);
}
Effect("Blur")
{
PC()
{
Enable(1);
Mode(1)
ConstantBlend(0.3)
DownSizeFactor(0.2500)
}
XBOX()
{
Enable(1);
Mode(1)
ConstantBlend(0.3)
DownSizeFactor(0.2500)
}
}
effect("hdr")
{
enable(1)
DownSizeFactor(0.5)
NumBloomPasses(4)
MaxTotalWeight(1.05)
GlowThreshold(0.7)
GlowFactor(1.0)

}
SunFlare()
{
Angle(115.000000, -20.000000);
Color(255, 255, 255);
Size(5.0);
FlareOutSize(20.0);
NumFlareOuts(40);
InitialFlareOutAlpha(70);
HaloInnerRing(0.0, 255, 255, 255, 255);
HaloMiddleRing(10.0, 255, 200, 0, 255);
HaloOutterRing(30.0, 255, 127, 0, 0);
SpikeColor(230,230,0,128);
SpikeSize(20.0);
}
[/code]
and the x-fire video:

http://www.xfire.com/video/5e3916
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Map lit brightly around edges and terrain disappearing

Post by THEWULFMAN »

The terrain is not unlimited, it has a certain size to it. The line you see looks like where the skydome ends and the terrain begins, just raise the terrain slightly around the edges of the map and it should be covered up.
Loopy53
1st Lieutenant
1st Lieutenant
Posts: 456
Joined: Thu Nov 01, 2012 2:27 am
Projects :: Earth Apocalypse
Games I'm Playing :: swbf2 bf3 cod
xbox live or psn: Dont have one
Location: On earth, I guess.

Re: Map lit brightly around edges and terrain disappearing

Post by Loopy53 »

Alright, I will try that and see what happens. IF the terrain disappears I will post another video.

EDIT: Nope the terrain doesnt disappear but the line is still there....it dont hurt nothing so i guess im okay...if there is a fix post it otherwise solved.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Map lit brightly around edges and terrain disappearing

Post by Fiodis »

It looks to me like the line's just where the skydome mesh starts mirroring the UVs. If you use a skydome that doesn't have mirrored UVs (I forget which don't, maybe someone else could suggest one) it should fix the problem.
Loopy53
1st Lieutenant
1st Lieutenant
Posts: 456
Joined: Thu Nov 01, 2012 2:27 am
Projects :: Earth Apocalypse
Games I'm Playing :: swbf2 bf3 cod
xbox live or psn: Dont have one
Location: On earth, I guess.

Re: Map lit brightly around edges and terrain disappearing

Post by Loopy53 »

agh, thanks fiodis. I will try dagobah's/endor's and see if I get results. Just as long as it isnt yavin's....
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Map lit brightly around edges and terrain disappearing

Post by Fiodis »

Keep in mind it'll have different UVs so you'll have to modify the texture a bit.
Post Reply