Using effects

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

modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Using effects

Post by modmaster13 »

Hi how would I get torchflame.fx to work on my Rhen Var map?
[Padawan]Helkaan
Sith
Sith
Posts: 1444
Joined: Mon Aug 16, 2010 3:01 pm
Projects :: Dunno. Maybe making something
Games I'm Playing :: Some.

Re: Using effects

Post by [Padawan]Helkaan »

Set up a ODF and add it to your world folder.
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Using effects

Post by modmaster13 »

I did. I am using Rhn_bldg_ruin_light_coals_amber.odf, but I am trying to get the fire effect.
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Using effects

Post 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 ?
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Using effects

Post by modmaster13 »

The odf or effect file?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Using effects

Post by AQT »

The .fx file, of course. ODFs should go in the odf folder.
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Using effects

Post by modmaster13 »

I have the effects folder in the odf folder
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Using effects

Post 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
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Using effects

Post by modmaster13 »

I did :o
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Using effects

Post by acryptozoo »

modmaster13 wrote:I did :o
hrmmm.... that should work
what effect are you trying to load
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Using effects

Post by modmaster13 »

modmaster13 wrote:torchflame.fx to work on my Rhen Var map?
Up above with Rhn_bldg_ruin_light_coals_amber.odf
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Using effects

Post 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?
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Using effects

Post 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.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Using effects

Post 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
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Using effects

Post by modmaster13 »

Oh. I put the effects folder in the world1, msh, and odf
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Using effects

Post 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
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Attaching Effect

Post 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
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Using effects

Post by DarthD.U.C.K. »

add this to the odf under properties:

Code: Select all

AttachEffect = "effectname"

SoundProperty = "com_amb_fire"
AttachToHardPoint = "hp_fire"
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Using effects

Post 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"
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Using effects

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