My Pageviews

Wednesday, 21 September 2011

THE FINALLLL COUNTDOWN!!!

So after a bunch of working on my work, I've found solutions to issues i didn't think i'd have, and was able to achieve what i mainly wanted to do.

KISMET:

My Kismet bring all the boys to the yard, and they're like "hey you can simulate AI!"

In all seriousness though, I was able to take my original problematic and develop an easy to replicate "Hide in Shadows/Cover" system, which WOULD have solved a ton of issues in Aliss, and could possibly make things easier for students doing that project in the future!!

Here it is, i'll explain is step by step!

To Each enemy, i attached a DynamicTriggerVolume to simulate its Field of View, like so:












After that, i made a simple TriggerVolume to represent was was a "safe spot", like so:











 Then i made the Kismet!! No need to try and understand, i'll explain in detail!









Step 1!! Attach the Field of View and the flashlights to each enemy!!






 Then i encountered my big problem, right where i thought i would encounter it. Trying to figure out how to tell the engine to ONLY teleport the player back to the spawn point if he WASN'T in cover. I needed to make it easy though, so it wouldn't look like ... well a Huge disgusting impossible to manage Spiderweb, which Kismet can have quite a tendency to become, if not watched carefully!! I came up with this! (don't worry, i put little explanations of what is what in the images!)
















Once i set up seperate branches to manage each of the conditions, i took care of the flashlight part of the kismet, and set it up quite simply like this!
































And now for the final product!!

No comments:

Post a Comment