Game Development Community

I want Kork to attack me

by Sri Ram · in Torque Game Engine · 04/05/2006 (12:35 am) · 7 replies

Hi guys,
I'm totally new to Torque and I wish to make a very simple Single Player FPS with it.The FPS Starter Kit that came with the 1.4 release looks like a good starting point but there is no "enemy AI" provided with it. I see that Kork simply runs around the map like a dummy....
Now my question is,how do I make him hunt me down and kill me ? A simple "huntdown player+attack till the player dies" is the sorta AI that I'm looking for...I searched the forums and the resources and found quite a few topics that describe what I need....but all of them have these "long" scripts quoted in them....thats good,but I'm more of an Artist than a porgrammer....In other words,I'd like to spend my time on making the levels,characters etc etc than on pulling my hairoff while trying to get the AI thing to work...

So,is there any "ready to use" example that has got the scripts required to add enemy bots ? A "Single Player FPS Starter Kit" ?? If yes,could someone please give me a link to it ?

I'm gonna get the 3DGPAIO book soon...but I'd like to get started right away and make a quick,short,simple FPS with enemy bots in it :)

So,if anyone has got a "starter" folder with the required scripts+complied exe stuff[I dunno much....that would work when placed in a fresh install of v1.4,please share it :D

Thank You

About the author

Recent Threads


#2
04/05/2006 (12:19 pm)
Thanks a ton Mike :) Thats EXACTLY what I wanted :)
#3
04/05/2006 (12:30 pm)
It works perfectly, but watch out, the "Death sequence" for your avatar gets messed up. I haven't attempted to fix that yet.
#4
04/06/2006 (7:01 am)
Yeah...the camera got all jaggy in the player's death sequence....not a big problem though..
BTW,what is the "Blue" bar for ? Also,I noticed that the "Health Pickup Kit" is not working..I mean,I can pickitup,but I cannot "use" it[I did assign a key for using it in the Options]...
#5
04/06/2006 (7:16 am)
Try this one, it work very well.
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=6773
#6
04/06/2006 (12:41 pm)
Quote:BTW,what is the "Blue" bar for ? Also,I noticed that the "Health Pickup Kit" is not working

The blue bar is the orcs life bar.

As for the health kit, I've never got them working either. I just add health patches in my games.
#7
04/07/2006 (10:11 am)
@Michael: Thanks dude,that script sounds a lot better[especially since the enemy hunts us down instead of running around a path]...but it said that we need to "recomplie" Torque....which I havent tried sofar...

@Mike: I got the Health Kit working ! Its binded to the "h" key by default[the binding that we make in the Options dialog doesnt work]....try the H key to use the health kit,it works.It can be changed in the \client\scripts\client\config.cs

I got my copy of 3DGPAIO !! Yay ! Just skimmed through the book,looks good...will start going through it now :)