How do you make force Push/Pull shockwaves

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
Snork
Lieutenant General
Lieutenant General
Posts: 669
Joined: Thu Jun 07, 2007 3:34 pm
Games I'm Playing :: SWBF2 and Minecraft
xbox live or psn: No gamertag set
Contact:

How do you make force Push/Pull shockwaves

Post by Snork »

I've seen these in a few maps and I have been so far been unable to create a shockwave, that pushes all the units around the user in a full circle.

Is it using force or an invisible projectile?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: How do you make force Push/Pull shockwaves

Post by Maveritchell »

You could:
a) Look at an example .odf (I'm almost positive that there are something like 5 different versions of a force wave floating around somewhere; I know for sure there's one in one of my released assets), or
b)

Code: Select all

ConeAngle			= "360"
Add that it. ConeAngle sets the radius of an emitterordnance. Emitterordnances - used for countless force powers and other weapons all the time - are basically like big conical (or spherical, depending on how you set it up) wavefronts. You know what the sonic blaster looks like (this is actually not really an emitterordnance, it's a fatray, but it can be used for demonstration) - that's basically a really small cone emitted out in front of you for a certain distance. That's all emitterordnances are, but in the case of things like force push or pull or wave, they're invisible.
User avatar
Snork
Lieutenant General
Lieutenant General
Posts: 669
Joined: Thu Jun 07, 2007 3:34 pm
Games I'm Playing :: SWBF2 and Minecraft
xbox live or psn: No gamertag set
Contact:

Re: How do you make force Push/Pull shockwaves

Post by Snork »

Yeah, I tried that but it didn't work too well. Then again, it is me.


I'll try again.
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: How do you make force Push/Pull shockwaves

Post by Sky_216 »

Force push tends to work badly against droids (no idea why) and sometimes doesn't work too well. So, two ideas:

1) you could keep trying yourself till you get something you like.
2) You can cheat. Make a force wave that uses no emitter ordnance at all, but instead creates an explosion instantly. Add in the line:
HurtOwner = "0"
And the line:
PushDeadOnly = "0"
and play around with the push values, and you have a working force wave that will push anyone in range (unless they're behind an object, same thing applies to emitterordnances though).
VF501
Lieutenant Colonel
Lieutenant Colonel
Posts: 539
Joined: Fri Jun 08, 2007 1:18 am
Projects :: Various Stuff- Weapon models. UDK Stuff
Games I'm Playing :: Fallout New Vegas
xbox live or psn: Vintage Tagious
Location: Terra Firma, Sol System; Milky Way

Re: How do you make force Push/Pull shockwaves

Post by VF501 »

Also, with EmitterOrdnance you have to set the max amount of targets to be hit by it.

MaxTargets = "10"

Is the common one used in Force push. Once I set ConeAngle to 90, and MaxTargets to 40 and made the Imperial Team Large. The results of hitting them with a beefed up push were quite amusing.
Post Reply