Page 1 of 2

Using effects

Posted: Sat Nov 13, 2010 10:19 am
by modmaster13
Hi how would I get torchflame.fx to work on my Rhen Var map?

Re: Using effects

Posted: Sat Nov 13, 2010 10:22 am
by [Padawan]Helkaan
Set up a ODF and add it to your world folder.

Re: Using effects

Posted: Sat Nov 13, 2010 11:07 am
by modmaster13
I did. I am using Rhn_bldg_ruin_light_coals_amber.odf, but I am trying to get the fire effect.

Re: Using effects

Posted: Sat Nov 13, 2010 11:23 am
by acryptozoo
modmaster13 wrote:I did. I am using Rhn_bldg_ruin_light_coals_amber.odf, but I am trying to get the fire effect.
do you have the file in your effects folder ?

Re: Using effects

Posted: Wed Nov 17, 2010 9:08 pm
by modmaster13
The odf or effect file?

Re: Using effects

Posted: Wed Nov 17, 2010 9:26 pm
by AQT
The .fx file, of course. ODFs should go in the odf folder.

Re: Using effects

Posted: Thu Nov 18, 2010 6:27 pm
by modmaster13
I have the effects folder in the odf folder

Re: Using effects

Posted: Thu Nov 18, 2010 6:36 pm
by acryptozoo
modmaster13 wrote:I have the effects folder in the odf folder
try moving the effects folder in your worlds folder with the msh and odf

Re: Using effects

Posted: Sat Nov 20, 2010 11:30 pm
by modmaster13
I did :o

Re: Using effects

Posted: Sat Nov 20, 2010 11:42 pm
by acryptozoo
modmaster13 wrote:I did :o
hrmmm.... that should work
what effect are you trying to load

Re: Using effects

Posted: Thu Nov 25, 2010 9:24 pm
by modmaster13
modmaster13 wrote:torchflame.fx to work on my Rhen Var map?
Up above with Rhn_bldg_ruin_light_coals_amber.odf

Re: Using effects

Posted: Thu Nov 25, 2010 10:17 pm
by AQT
Rhn_bldg_ruin_light_coals_amber.odf uses the Rhnamber.odf, which is an attached light. With what ODF parameter are you using to reference the torchflame.fx?

Re: Using effects

Posted: Fri Nov 26, 2010 10:42 am
by modmaster13
Sorry if I am giving you a hard time but I am not very good at this. The Rhnamber.odf light is on the light_coals_amber odf, but there is no fire and fire sounds from it even when I put the effects folder in the world1 folder.

Re: Using effects

Posted: Fri Nov 26, 2010 11:00 am
by DarthD.U.C.K.
that might be the case because Rhnamber.odf is a light not an effect
AQT was asking how you attched the effect to the odf

Re: Using effects

Posted: Fri Nov 26, 2010 5:14 pm
by modmaster13
Oh. I put the effects folder in the world1, msh, and odf

Re: Using effects

Posted: Fri Nov 26, 2010 6:08 pm
by DarthD.U.C.K.
you know that you have to make a custom odf with the effect attached, right? just copying the effectfiles in every folder wont help. i suggest you read through the documentation which comes with the modtools. it explains many fundamental things such as how odfs etc. work

Attaching Effect

Posted: Tue Jan 11, 2011 11:07 pm
by modmaster13
Hey.

How would I attach an effect to an odf? I still don't how to attach one. :runaway:

I would like to attach the Rhen Var fire effect to the Rhn_bldg_ruin_light_coals_amber.odf

Topics merged, -Staff

Re: Using effects

Posted: Wed Jan 12, 2011 9:07 am
by DarthD.U.C.K.
add this to the odf under properties:

Code: Select all

AttachEffect = "effectname"

SoundProperty = "com_amb_fire"
AttachToHardPoint = "hp_fire"

Re: Using effects

Posted: Wed Jan 12, 2011 10:24 am
by modmaster13
Ok I can hear the fire crackling, but there is no fire

Here is my odf file:
Hidden/Spoiler:
[GameObjectClass]

ClassLabel = "building"
GeometryName = "rhn_bldg_ruin_light_coals_amber.msh"


[Properties]

GeometryName = "rhn_bldg_ruin_light_coals_amber"

AttachOdf = "Rhnamber"
AttachToHardPoint = "hp_amber"

AttachEffect = "torchflame.fx"

SoundProperty = "com_amb_fire"
AttachToHardPoint = "hp_fire"

Re: Using effects

Posted: Wed Jan 12, 2011 10:26 am
by DarthD.U.C.K.
try that:

Code: Select all

[GameObjectClass]
ClassLabel = "building"
GeometryName = "rhn_bldg_ruin_light_coals_amber.msh"

[Properties]

GeometryName = "rhn_bldg_ruin_light_coals_amber"

AttachEffect = "torchflame.fx"
SoundProperty = "com_amb_fire"
AttachToHardPoint = "hp_amber"