How to make a shockwave that push everything, but not a cast

Post » Wed Jan 23, 2013 5:26 am

Hi,
I`m trying to make a shockwave that push everything around a caster, but I have one small problem. I know that the best way is to make an explosion with force, dmg etc. When everything looks fine I can cast this explosion (PlaceAtMe command) but only items I can push away. If I set other option for actors, I`m pushing every items around and me... Do any of you know how to set it properly?
Thanks in advance.
Regards.
User avatar
James Hate
 
Posts: 3531
Joined: Sun Jun 24, 2007 5:55 am

Post » Wed Jan 23, 2013 4:07 am

You might be able to spawn or move a trigger-zone to the player's location upon casting. A trigger-zone is what's known as a "primitive" in the Creation Kit, and I know that some types of primitives can be spherical. I'm not sure if trigger-zone's can be spherical though, you may have to make do with rectangular prisms...

Anyway you could then script them to use http://www.creationkit.com/PushActorAway_-_ObjectReference from the player's location (thus getting vector's that have full 360 degree range). The beauty of using a trigger-zone is that you can add conditions to them so that the player will remain unaffected, concurrently you can add some bells and whistles/spell effects to make things look cool.
User avatar
Robyn Lena
 
Posts: 3338
Joined: Mon Jan 01, 2007 6:17 am

Post » Wed Jan 23, 2013 1:04 am

When everything looks fine I can cast this explosion (PlaceAtMe command) but only items I can push away. If I set other option for actors, I`m pushing every items around and me

I don't quite understand your problem.

For example, in one of my mods I added a new AoE version of the Ice Form shout, which uses an explosion. The magic effect casting type is Fire and Forget, delivery is self. When the player casts the spell (by shouting), the explosion does not affect the player at all, instead, it creates an explosion centered on the caster, which affects actors and objects within the explosion radius.
User avatar
Charlie Ramsden
 
Posts: 3434
Joined: Fri Jun 15, 2007 7:53 pm


Return to V - Skyrim