Page 1 of 1

Attaching Effects [Solved]

Posted: Tue Jul 22, 2008 5:35 pm
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.

Re: Attaching Effects

Posted: Tue Jul 22, 2008 5:39 pm
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

Re: Attaching Effects

Posted: Tue Jul 22, 2008 5:46 pm
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:.

Re: Attaching Effects

Posted: Tue Jul 22, 2008 5:48 pm
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.

Re: Attaching Effects

Posted: Tue Jul 22, 2008 5:53 pm
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.

Re: Attaching Effects

Posted: Tue Jul 22, 2008 7:09 pm
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.