PDA

View Full Version : Make a bot shoot a wall?!



G-Saviour18
11-21-2009, 06:43 AM
**EDIT** Problem now resolved, if anyone has a similar problem in the future just ask me :)

Recently moved to UDK from UT3 to take advantage of the fracture tool, at the moment I have a wall fracture mesh which falls apart as it's shot at, what I want is for the bot AI to know that they have to shoot the wall and then run through it. Here's a link to an image to better illustrate my problem:

http://g-saviour18.deviantart.com/art/Bot-Shoot-Wall-UDK-144280483

Basically as you can see in the top viewport theres a wall that seperates the playerstart to the next path node, around that wall is a volume trigger. The Kismet code you see on the right is what I am using now to try to get the bot to start shooting at the wall, once the bot enters the trigger volume I want him to start shooting the wall, that simple. When the bot runs into the trigger volume I get the following message that is posted in yellow on the image I have linked to above, any suggestions? Thanks :)

FrozenDozer
11-21-2009, 07:40 AM
Your "target" is not "what to shoot at".

Its the "who"
Shoot at is "where to shoot"

G-Saviour18
11-21-2009, 08:42 AM
Thanks for the quick reply, very helpful, how do I assign the bot to the target node tho? I'm pretty useless with Kismet :)

Kushulain
11-21-2009, 04:06 PM
There is a tutorial video on this site which do something like that.

www.3dbuzz.com
The name of the video is Creating a Top-Down Game.

Denny
11-21-2009, 04:10 PM
You could make a trigger volume, add it in Kismet, then connect the event to it and the instigator to the target. That way the bot should trigger the event and be used as an instigator, in this case the target who should be shooting the wall.

G-Saviour18
11-22-2009, 12:43 PM
Thanks Kushulain!!! after two weeks of constant wrecking my brain to get this to work that link gave me the idea to try something I wouldn't have ever thought of without watching it, game now works like a charm :)

Kushulain
11-22-2009, 01:53 PM
I'm glad it helps you :)

FrozenDozer
11-22-2009, 01:59 PM
How about showing the setup :p ?