It is currently Sat May 19, 2012 10:25 pm

All times are UTC


How to make a hunter move
This tutorial will teach you how to make a hunter move from one spot to another. By: The Punisher

  

 

Author: The Punisher]
Since some people don't know how to make their Hunter
move so I decided to make a little tutorial for them. ^^

Okay, as always make a new map or load a map then find a nice place for your Hunter and place it.
(If you don't know how to spawn people/aliens etc see this tutorial.)

Now that you got your own nice Hunter make a TagPoint.

Image

Place it somewhere on the map, but try not to place it in small areas or 1337
miles away from the Hunter.Here's how I placed it.

Image

Now comes the "hard" part, left click on the Hunter then on your left panel go
down till you see Flow Graph, then click on Create.

Image

Then a new window comes up asking for a name write HunterWalk or something else it doesn't really matter.
Now right click on the empty space in the middle and choose Add Node > Misc > Start now you should see this:

Image

...If you don't, right click and choose Fit Graph to View then if needed use the mouse wheel to zoom in/out.
Right click on the empty space again and choose Add Node > Movement > MoveEntityTo,
right click again and choose Add Node > Entity > EntityPos and you should see this:

Image

Lets look at our nodes, both MoveEntityTo and EntityPos has a red field that says Choose Entity.
First we "fix" EntityPos, resize the Flow Graph window so you can see your map behind it.
Left click on your TagPoint and go back to your Flow Graph window and then right click
on the EntityPos' Choose Entity field and select "Assign selected entity" now it
should say "TagPoint1" instead of "Choose Entity" if it says 2 or 3 instead of 1
don't worry, you probably just placed another TagPoint in your map.
Now do the same thing on MoveEntityTo but this time select the Hunter instead of the TagPoint.Now you should have this infront of you:

Image

We're almost there!
Now hold down your left mouse button on the EntityPos' pos field and drag it over to MoveEntityTo's Destination field, do the
same thing with Start's output and MoveEntityTo's Start. Only one thing left,change EntityMoveTo's Speed
to 2 or whatever you want! Now you should see this, and you're kinda done!

Image

*NOTE* He will get to his destination but he won't face it unless you put the
TagPoint infront of him. To fix this follow the next couple of steps.

Making a Hunter turn
Make a new node: AI > AILookAt make it's entity the Hunter then drag
Start's output to AILookAt's Sync, and then drag EntityPos' pos to AILookAt's Point, 'n you're done.
At the end you'll get this:

Image

If you have any problems or anything please post them in the sandbox forum.

Author: The Punisher]


Add Comment:
You must be logged in to place a comment!
Page 1 of 1
maxim123 maxim123
Fri May 20, 2011 12:23 pm

wake how hunter can fire then more fun! :)

xxxgamer xxxgamer
Sat Apr 23, 2011 12:04 am

Added to featured items to get some of the old tutorials seen a bit more.

Page 1 of 1

Return back to the Tutorials
Powered by phpBB® Forum Software © phpBB Group