Game Development Community

A simple AI editor

by Gianfranco Barone · 01/26/2007 (5:32 am) · 14 comments

AISCE (AI simple character editor) is an attempt to provide a simple AI system in a plug & play fashion.
Basically it's a simple editor that let the user to modify some value of the
AI character such as field of vision, detect distance and so on.

digilander.libero.it/gbntec/screenshoot.jpg
AI in torque is a eternal issue and certainly AISCE is not the solution,
because allow just tinkering with some variables. More easy to use allways means a lost in flexibility and AISCE is in this trade.

Homever you can allways use the generated script as skeleton.


By now there is only one character: Guard.
This guard character is the exactly the same provided by Mark Holcomb in his AIGuard
code. It's possible there are some bugs, those are mine, and not related to the Mark's code.

On the Advanced section you will find console function generator
which can be invoked inside a .cs file.
By now only Random Normal function is implemented. This is 'cause before invest time in making function
I would know what torque community think are useful functions.
(homever I have some ideas such as arma model, exponetial smoothed moving avarage, etc.)

So feel free to post comments, critics, suggestions about everything: on how improve guard character making it better even with new behaviours, which can be possible behaviours for patroller, chaser and roamer, what console function do you like to see, report bugs etc.


Here the app link : http://digilander.libero.it/gbntec/AIASCE.rar

About the author

Recent Blogs


#1
01/26/2007 (5:43 am)
Looks useful - I'll check it out tomorrow, thanks for this.
#2
01/26/2007 (6:34 am)
I think this will be useful.

You should have it to where you can choose where you want to save the scripts to instead of the root of C:\
#3
01/26/2007 (5:34 pm)
This is an awesome idea. Thanks for sharing this.
#4
02/08/2007 (12:47 pm)
when do you think the other features will be available?
#5
02/12/2007 (5:19 am)
@All: Thanks for comments.

@Jason: Well, your are right, on the released version there will be common file dialog.

@David: I don't know, currently i'm working on expanding aiguard to have two mode: Hostile AI, that's basically dont' do nothing more is doing by now (shooting down the player), and Friend AI, a character that help player providing cover fire, guarding zone, etc.
When finished this two side mode will be applied to others characters (AIpatrol, Free roamer etc).

Looking forward for suggestions.
Bye
#6
02/12/2007 (6:59 am)
It's good to see other .NET developers around here.
#7
02/21/2007 (8:28 am)
this is cool looking I was just getting started on AI
#8
03/06/2007 (6:38 am)
Thanks Gianfranco!
This looks very cool~


always~
Vickie ;)
#9
03/23/2007 (3:32 am)
Hi Gianfranco ( o anche ciao :) )...
Happy to see another italian (it seems to me we're not so much, sigh!)
JoZ
#10
06/15/2007 (2:11 pm)
Got an update for us?
#11
07/30/2007 (12:33 pm)
Are you still working on this?
#12
07/31/2007 (9:42 am)
@David

Well, due to a HD problem, I lost all my data (included source code for the ai editor). So I think to re-engineer the editor instead to rewrite it, but don't know when will done, so stay tuned on this plan, if even I notify here all news.
#13
01/24/2009 (4:59 am)
what did you write it in and are you still working on this idea?
#14
01/28/2009 (10:01 am)
@Will (Sorry for late reply)

Basically I wrote it in order to (in sparse order):

1) Train a little with Vb.net 2005 express
2) Helping newbies to change the shape of kork, as this is one of first thing they ask for (as I asked when downloaded tge and wondering where the call to the shape was until discovered that was inherited from player.cs).
3) Helping newbies to setup a basic FPS very fast, as getting fast results keep costant enthusiams to learn more.
4) Even if I not wrote it for, later I used AISCE for a simple FPS I made and find it a time-save.
5) I feel better download someone's resource where I know I contributed to the community, even with a very simple tool.

On you second question: I got idea for a more ambitious (which in hobby-programming area means probably it will be never complete) AI editor. It's all visual, you connect blocks of code parametrized on a skeleton FSM. That's a block of code can be "Check for enemy" and you must fill it with some parameters like FOV, Max_Distance alertness etc. Homever it's still an idea in my mind and I haven't put hands on.