by date
AI Goodies (Part 1)
AI Goodies (Part 1)
| Name: | Daniel Delp | |
|---|---|---|
| Date Posted: | Jun 18, 2008 | |
| Rating: | Not Rated | |
| Public: | YES | |
| Comments: | YES | |
| RSS Feed: | or Subscribe with . | |
| Profile Page: | View profile page for Daniel Delp |
Blog post
I've been messing with Torque for a few years now, never done a whole lot with it, too much other stuff going on. Lately it has been consuming quite a bit of my time. I've always been interested in Game AI so decided to play with it in torque. Looked around at several ai examples and the immersive ai stuff intrigued me. I tried to get the stuff working right for a while and decided it would be best to rewrite the player code as it was taking quite a while to squash bugs. At this point I have Agents spawning (via the engine, not in script although scripts would be easy to create) and creating and following a* paths. I realized it really doesn't do a whole lot of good if I can't change the main pathmap they use to get around. So I created an editor that works like the terrain editor. I can now create node groups and set a weight ( 0-100(untraversable) )for that group. Then the file is saved and loaded in much the same way the terrain is.

The yellow is my Default Group (modifier 50), the green is my Paths Group (modifer 10) and the red is my Water Group (modifier 100). The colors represent the modifier; Green to red, Like a stop light! Also, the empty space are just areas where the terrain rises above connection line. The Agents traverse these areas just fine, it's just a display issue.
Yes the ss is from AFX. Yes the system works in Stock TGE.
Yes I am on a Mac. Yes the system works on Windows.
No I do not have RTS kit. No I do not have TGEA (stupid directX)
Short to do list:
Manual node creation
Manual Connection modifications
Interior Map creation

The yellow is my Default Group (modifier 50), the green is my Paths Group (modifer 10) and the red is my Water Group (modifier 100). The colors represent the modifier; Green to red, Like a stop light! Also, the empty space are just areas where the terrain rises above connection line. The Agents traverse these areas just fine, it's just a display issue.
Yes the ss is from AFX. Yes the system works in Stock TGE.
Yes I am on a Mac. Yes the system works on Windows.
No I do not have RTS kit. No I do not have TGEA (stupid directX)
Short to do list:
Manual node creation
Manual Connection modifications
Interior Map creation
Recent Blog Posts
| List: | 07/04/08 - AI Goodies (Part 2) 06/18/08 - AI Goodies (Part 1) |
|---|
Submit your own resources!| Niko Loeffelholz (Jun 18, 2008 at 17:48 GMT) |
| Bill Vee (Jun 18, 2008 at 17:50 GMT) |
Keep up the good work.
| Edward (Jun 18, 2008 at 19:58 GMT) |
| Ed Averill (Jun 18, 2008 at 20:30 GMT) |
You must be a member and be logged in to either append comments or rate this resource.


Not Rated


