Attaching Effects [Solved]

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
Blade
Captain
Captain
Posts: 496
Joined: Fri Apr 04, 2008 11:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Attaching Effects [Solved]

Post by Blade »

Alright, I've been working on my model for the DMI (hopefully I won't change my idea, again...), and I was thinking that it would make it more realistic to have certain effects at certain places.

I looked through a vehicle .odf, because I know that they have places where smoke and flame effects appear, and I was pretty sure that these lines are the one's I'd need. I just would like someone to confirm/refute it.

Anyway, I was pretty sure it was these lines (taken from the Republic Tank's .odf):

Code: Select all

DamageEffect            = "com_sfx_vehicleflame"
DamageEffectScale       = 1.5
DamageInheritVelocity       = 0.5
DamageAttachPoint       = "hp_damage_1"
I doubt that, for a prop, you would want DamageBlahWhatever, but those are (mostly) the lines I would need for attaching an effect, am I correct?

Thanks in advance for any help.
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Attaching Effects

Post by Aman/Pinguin »

Code: Select all

DamageStartPercent = 100.0
DamageStopPercent = 0.0
DamageEffect = "kas1_bonfire"
DamageAttachPoint = "hp_burn"
Mav' Just posted it in another topic in the W.I.P. Forum. :P
User avatar
Blade
Captain
Captain
Posts: 496
Joined: Fri Apr 04, 2008 11:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Attaching Effects

Post by Blade »

Aman/Pinguin wrote:Mav' Just posted it in another topic in the W.I.P. Forum. :P
Hehe, I saw that thread moments after I posted this.

Anyway, I also have another question, as after I read that thread, I decided to open up PE and try it out. I have it in the right place, so it opens and runs, but all the effects are just squares. I looked in the FAQ thread, but the topic that talks about getting PE to work has the first post missing... If somebody could tell me how to get the actual effect to show instead of the horrid squares :P, that'd be great :yes:.
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Attaching Effects

Post by Aman/Pinguin »

http://www.gametoast.com/forums/viewtop ... 64&t=14591 :wink:
If it says it's missing common.lvl:

Stay cool, it will work anyway.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Attaching Effects

Post by Maveritchell »

Actually, don't do what I said for a prop model. What I posted is what should be used for a vehicle (or unit) model, for a prop model do it like this:

Code: Select all

AttachEffect 		= "holoprojector"
AttachToHardPoint 	= "hp_holo1"
And if your effects are squares in PE, it could just be because you're missing the textures for your effect.
User avatar
Blade
Captain
Captain
Posts: 496
Joined: Fri Apr 04, 2008 11:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Attaching Effects

Post by Blade »

Ah, thanks, I had just forgotten to move the munged folder to the same directory as PE.

Thanks for the help, this can be locked.
Post Reply