Report article RSS Feed UDK-destructive kismet

In the game my team and i are designing we have a big need for producing moving objects that can kill the character. For example crushing walls, falling spikes, swinging blades, ect. I'll try my best to give you a step by step tutorial of how to do just this.

Posted by guesswho311 on Sep 16th, 2010
Intermediate Level Design/Theory.

Alright here we go, the first thing u need to do is find your static mesh you want to do the killing. This can be anything from a big cube to a giant stuffed teddy bear.

1) select your static mesh in the content browser(generic browser if your in ue3)
2) place your static mesh in your map.
3) right click the mesh and choose "replace with >  interpactor"your static mesh name here"
4) open kismet and right click the screen. Select new event > level loadup
5) create a new matinee sequence.
6) click the matinee and create a new empty group, and then new movement track.
7) create your animation(if you dont know how to do this leave a comment) this animation should be your object moving to cause pain or death. I.E a falling spike a crushing wall, ect.
8) close matinee and right click on the kismet screen, select new action > misc > delay
9) Right click the screen and select new variable > float > random float
10) set a max and min value, this will determine how long before your animation plays again.
11)plug completed from the matinee into start of the delay
12) plug finished from the delay into play of the matinee this will loop your animation with a random delay in between.
13) now to make the animation do damage, right click on a blank spot in kismet and select new event > physics > mover. delete the matinee that comes with this.
14) select your interpActor in the editor window if it isnt selected already, and then right click the mover event and select "assign interpActor..."(if you have multiple actors make sure you select the right one)
15)now right click anywhere and choose new action > new actor > modify health, and set how much damage you want to be done when the player is struck.
16) right click modify health in the box where it says "target" and select create new obj variable.
17) now plug in hit actor of the mover to the in of the health modifier, and plug actor hit into the new obj variable we just made.
18) finally click your matinee and in the properties scroll down and click rewind on play. Also make sure you have connected your matinee with the level loadup we made.

Alright your done, your should now have your very own crushing block, falling spike, or whatever you did. if you have any problems or think i left something out drop off a comment, and i'll do my best to help you, and fix up the tutorial. After all this is my first tutorial give me a break :)

Post comment Comments
Squiggers
Squiggers Sep 17 2010, 7:40am says:

I would suggest:

1) Spreading out the steps so theres a gap between them.

2) Adding pictures to illustrate your points maybe?

Useful though, cheers. :)

+1 vote     reply to comment
Deagor
Deagor Dec 13 2010, 3:10pm says:

Agree with Squiggers could be cleaned up a bit

But hats off to my superior thx this could come in handy

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Engines
Unreal Development Kit
Unreal Development Kit Commercial Released Oct 31, 2009
Unreal Engine 3
Unreal Engine 3 Commercial Released Aug 31, 2007
Related Groups
Epic Games
Epic Games Developer & Publisher