Page 1 of 1

Issue with view distance for effects

Posted: Mon Apr 25, 2011 8:03 pm
by Marth8880
General_Nate made a water fountain with effects for my map and you can only see the effects if you are close enough to it unless your weapon is zoomed, in which the effects are visible from a pretty reasonable distance. What do I need to do to make it so the fountain's effects are clearly visible (almost) everywhere?

g_n_fountain_pump.odf:
Hidden/Spoiler:
[code][GameObjectClass]

ClassLabel = "prop"
GeometryName = "pump.msh"


[Properties]

GeometryName = "pump"

AttachEffect = "g_n_fountain"
AttachToHardPoint = "hp_fire"

SoundProperty = "com_amb_fire"[/code][/size]
g_n_fountain_pump.fx:
Hidden/Spoiler:
[code]ParticleEmitter("BlackSmoke")
{
MaxParticles(-1.0000,-1.0000);
StartDelay(0.0000,0.0000);
BurstDelay(0.1500, 0.1600);
BurstCount(1.0000,1.0000);
MaxLodDist(50.0000);
MinLodDist(10.0000);
BoundingRadius(5.0);
SoundName("")
Size(1.0000, 1.0000);
Hue(255.0000, 255.0000);
Saturation(255.0000, 255.0000);
Value(255.0000, 255.0000);
Alpha(255.0000, 255.0000);
Spawner()
{
Spread()
{
PositionX(0.0000,0.0000);
PositionY(0.2500,2.0000);
PositionZ(0.0000,0.0000);
}
Offset()
{
PositionX(-0.5000,0.5000);
PositionY(0.0000,0.0000);
PositionZ(-0.5000,0.5000);
}
PositionScale(0.0000,0.0000);
VelocityScale(1.5000,1.5000);
InheritVelocityFactor(0.0000,0.0000);
Size(0, 0.2500, 1.7500);
Red(0, 0.0000, 0.0000);
Green(0, 50.0000, 50.0000);
Blue(0, 50.0000, 100.0000);
Alpha(0, 20.0000, 25.0000);
StartRotation(0, 0.0000, 0.0000);
RotationVelocity(0, 250.0000, 500.0000);
FadeInTime(0.0000);
}
Transformer()
{
LifeTime(7.0000);
Position()
{
LifeTime(7.0000)
Accelerate(0.0000, -0.1000, 0.0000);
}
Size(0)
{
LifeTime(6.0000)
Scale(4.0000);
}
Color(0)
{
LifeTime(3.0000)
Move(136.0000,255.0000,255.0000,120.0000);
Next()
{
LifeTime(4.0000)
Move(0.0000,0.0000,0.0000,-170.0000);
}
}
}
Geometry()
{
BlendMode("NORMAL");
Type("PARTICLE");
Texture("com_sfx_dirt2");
}
ParticleEmitter("Foam")
{
MaxParticles(-1.0000,-1.0000);
StartDelay(0.0000,0.0000);
BurstDelay(0.1000, 0.1000);
BurstCount(2.0000,2.0000);
MaxLodDist(1000.0000);
MinLodDist(800.0000);
BoundingRadius(25.0);
SoundName("")
Size(1.0000, 1.0000);
Hue(255.0000, 255.0000);
Saturation(255.0000, 255.0000);
Value(255.0000, 255.0000);
Alpha(255.0000, 255.0000);
Spawner()
{
Circle()
{
PositionX(-1.0000,1.0000);
PositionY(0.0000,0.0000);
PositionZ(-1.0000,1.0000);
}
Offset()
{
PositionX(0.0000,0.0000);
PositionY(0.0000,0.0000);
PositionZ(0.0000,0.0000);
}
PositionScale(0.0000,0.0000);
VelocityScale(0.1000,0.3500);
InheritVelocityFactor(0.0000,0.0000);
Size(0, 1.0000, 1.9000);
Red(0, 15.1961, 15.1961);
Green(0, 25.0000, 25.0000);
Blue(0, 25.0000, 25.0000);
Alpha(0, 50.0000, 50.0000);
StartRotation(0, 4.0000, 4.9000);
RotationVelocity(0, 0.0000, 0.0000);
FadeInTime(0.0000);
}
Transformer()
{
LifeTime(2.0000);
Position()
{
LifeTime(0.2000)
}
Size(0)
{
LifeTime(2.0000)
Scale(3.0000);
}
Color(0)
{
LifeTime(0.2500)
Move(91.0000,91.0000,91.0000,0.0000);
Next()
{
LifeTime(1.7500)
Move(0.0000,0.0000,0.0000,-128.0000);
}
}
}
Geometry()
{
BlendMode("ADDITIVE");
Type("BILLBOARD");
Texture("com_sfx_waterfoam1");
}
ParticleEmitter("WaterFountain")
{
MaxParticles(-1.0000,-1.0000);
StartDelay(0.0000,0.0000);
BurstDelay(0.0750, 0.0750);
BurstCount(1.0000,1.0000);
MaxLodDist(50.0000);
MinLodDist(10.0000);
BoundingRadius(5.0);
SoundName("")
Size(1.0000, 1.0000);
Hue(255.0000, 255.0000);
Saturation(255.0000, 255.0000);
Value(255.0000, 255.0000);
Alpha(255.0000, 255.0000);
Spawner()
{
Spread()
{
PositionX(-0.2500,0.2500);
PositionY(2.0000,4.0000);
PositionZ(-0.2500,0.2500);
}
Offset()
{
PositionX(-0.2500,0.2500);
PositionY(0.0000,0.1000);
PositionZ(-0.2500,0.2500);
}
PositionScale(0.0000,0.0000);
VelocityScale(3.2500,3.2500);
InheritVelocityFactor(0.0000,0.0000);
Size(0, 3.0000, 4.0000);
Red(0, 0.0000, 0.0000);
Green(0, 25.0000, 25.0000);
Blue(0, 50.0000, 50.0000);
Alpha(0, 255.0000, 255.0000);
StartRotation(0, 0.0000, 360.0000);
RotationVelocity(0, 100.0000, 200.0000);
FadeInTime(0.0000);
}
Transformer()
{
LifeTime(1.7500);
Position()
{
LifeTime(3.0000)
Accelerate(0.0000, -45.0000, 0.0000);
}
Size(0)
{
LifeTime(3.0000)
Scale(3.5000);
}
Color(0)
{
LifeTime(1.7500)
Move(31.0000,31.0000,31.0000,0.0000);
}
}
Geometry()
{
BlendMode("ADDITIVE");
Type("PARTICLE");
Texture("com_sfx_dirt2");
}
}
}
}
[/code][/size]

Re: Issue with view distance for effects

Posted: Tue Apr 26, 2011 2:52 pm
by acryptozoo
im not too good with effects
but try changing this abit higher

Code: Select all

   MaxLodDist(50.0000);
   MinLodDist(10.0000);

Re: Issue with view distance for effects

Posted: Tue Apr 26, 2011 4:10 pm
by Dakota
i had made a topic asking how to help with this same thing a few days earlier for my black hole generator. i had tryed changing the lod distances in the particle editor and it didn't work. i think there may be another way. let me go look at some other effects (notice that the grenade explosion can be seen further away) and go see if i can get a line of help from those. i'll edit/post anything i find that can help.


EDIT: ok i was just testing the effect after modding in particle editor and the manuel open the file way and set the max lod distance to 500 and the min lod distance to 10 and still didn't see a change so i still have no idea what to do.

Re: Issue with view distance for effects

Posted: Tue Apr 26, 2011 5:33 pm
by DarthD.U.C.K.
something that will probably also work:
ODF Parameters wrote: MaxDistance = // sets distance of attached odfs, may need to go in attached odf
i attempted to write this before but for some reaosn the ppost ended up in the glamourskin thread