fireflies and godrays

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
User avatar
squipple
1st Lieutenant
1st Lieutenant
Posts: 420
Joined: Tue Jun 28, 2005 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

fireflies and godrays

Post 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.
User avatar
squipple
1st Lieutenant
1st Lieutenant
Posts: 420
Joined: Tue Jun 28, 2005 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post 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.
Post Reply