Page 1 of 1

fireflies and godrays

Posted: Sun Apr 30, 2006 12:30 am
by squipple
Anyone able to get either of these to work?

What I've done so far:
fireflies -
Copied fireflies.fx and firefly.tga to my effects folder
added "fireflies" to my req file under the "config" REQN
copied over an object (msh, odf, and tgas) from dagobah that had fireflies in it's ODF (dag1_prop_effectvine.odf)

godrays-
copied over an object (msh, odf, and tgas) from endor that had godrays in it's ODF (end_prop_tree01.odf)
copied over the godray odf (end_prop_godray.odf)
added this section to my map's fx file (xxx.fx located in the root of the world1 folder)
Effect("Godray")
{
Enable(1);
MaxGodraysInWorld(5000);
PS2()
{
MaxGodraysOnScreen(50);
}
PC()
{
MaxGodraysOnScreen(10);
}
XBOX()
{
MaxGodraysOnScreen(10);
}
OffsetAngle(0.000000);
DustVelocity(0.0, -0.1, 0.0);
MaxViewDistance(150);
MaxViewDistance(130);
}
Any help on either of those would be awesome.

Posted: Thu May 11, 2006 10:50 pm
by squipple
Sorry for the double-post here, but I figured out fireflies, so I wanted to pass the info along.

The fireflies weren't working from the effects folder, so I used the common fx

In the ODF of an object such as dag1_prop_effectvine.odf contains the lines:

Code: Select all

AttachEffect = "fireflies"
AttachToHardPoint = "hp_fireflies"
Just change the AttachEffect line to:

AttachEffect = "com_sfx_fireflies"

Of course, if you've got a custom model, you'll need to attach it to the appropriate hardpoint. 8)

EDIT: Godrays also started working miraculously. I thing they were originally shining at a strange angle, so I never saw them.