Page 1 of 1
Force push effect. How is it done? [Solved]
Posted: Wed Feb 02, 2011 5:37 pm
by Cerfon Rournes
I tried to give force push a new effect. So I edited one in Particle Editor, saved it as a new name, put it in my sides/effect folder, and added this line to force push:
I munged, and nothing happened. Just to make sure the effect worked, I made it the energy regen effect, and tested it. It worked fine. What am i missing? How can I get this to work?
Thanks!

Re: Force push effect. How is it done?..
Posted: Wed Feb 02, 2011 5:45 pm
by Fiodis
I think Mav changed the classlabel of the ord (and possibly the weapon itself, too).
Re: Force push effect. How is it done?..
Posted: Wed Feb 02, 2011 6:12 pm
by Cerfon Rournes
Any idea of what he changed it to?
Re: Force push effect. How is it done?..
Posted: Wed Feb 02, 2011 8:18 pm
by AQT
Anything that can support a TrailEffect will work, but it would be best if you use whatever the stock sonic blaster's ordnance's ClassLabel is (fatray?). This way, multiple enemies can be hit in a straight line. And then, of course, set the weapon up with an explosion ODF with PushDeadOnly = 0.
Re: Force push effect. How is it done?..
Posted: Wed Feb 02, 2011 8:44 pm
by Sky_216
Notes:
I'm fairly sure "fatray" can push enemies by themselves (without an explosion).
Can make an effect similar to the stock flamethrower effect for this - effect itself shoots forward and just use the "PlayEffectOnOwnerAimer" (or somethig similar) to show it. Look at the flamethrower or incinerator odfs for more details.
Re: Force push effect. How is it done?..
Posted: Wed Feb 02, 2011 10:37 pm
by Cerfon Rournes
Thanks guys, testing it out now... I will bring back results

EDIT
The effect works, but it only pushes one unit for each button press.
Here are my odfs...
com_weap_inf_force_push
com_weap_inf_force_push_exp
com_weap_inf_force_push_ord
Re: Force push effect. How is it done?..
Posted: Wed Feb 02, 2011 11:32 pm
by THEWULFMAN
Sky_216 wrote:Notes:
I'm fairly sure "fatray" can push enemies by themselves (without an explosion).
Can make an effect similar to the stock flamethrower effect for this - effect itself shoots forward and just use the "PlayEffectOnOwnerAimer" (or somethig similar) to show it. Look at the flamethrower or incinerator odfs for more details.
Correct.
This is what it looks like
Re: Force push effect. How is it done?..
Posted: Thu Feb 03, 2011 12:11 am
by Cerfon Rournes
"PlayEffectOnOwnerAimer", and "PlayEffectOnOwner", did not work properly. The effect just stuck to my unit after the button was pressed.
Re: Force push effect. How is it done?..
Posted: Thu Feb 03, 2011 3:33 am
by AQT
There appears to be some confusion. If you're going to use Sky's method, then you don't need to change the ClassLabel of the ordnance to "fatray." ConeLength, ConeAngle, etc. are only properties of the ClassLabel "emitterordnance" (in order to target multiple units at once), so they will not work properly for "fatray."
Re: Force push effect. How is it done?..
Posted: Thu Feb 03, 2011 4:34 am
by THEWULFMAN
Cerfon Rournes wrote:"PlayEffectOnOwnerAimer", and "PlayEffectOnOwner", did not work properly. The effect just stuck to my unit after the button was pressed.
Its working fine. That just what it does, thats how it worked in DT and my TCW mod
Re: Force push effect. How is it done?..
Posted: Thu Feb 03, 2011 4:52 pm
by Cerfon Rournes
Thanks for clearing things up guys, I think it should work this time... results soon.

EDIT
Thanks guys, it works.
