How do u make the AI not run into stuff? *solved*
Moderator: Moderators
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
How do u make the AI not run into stuff? *solved*
hmm once again im not Silas im BaRn the Elite and id like to know how to make AI not run into stuff on ur map. when i add stuff, the AI just try to get somewere by running into the wall. Anyone know how to fix this?
Last edited by Silas on Wed Nov 28, 2007 7:02 pm, edited 1 time in total.
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: How do u make the AI not run into stuff like they're morons?
You need to set up barriers and planning, take a look at one of the shipped maps using ZE and you'll get an idea as to what is needed. Word of caution with barriers and planning they cannot cross each other they are also infinite height meaning there is really no way to do multi-level planning or barriers. Just some things to keep in mind as you proceed.
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: How do u make the AI not run into stuff like they're morons?
mm so what u do is just that u make a barrier? it means the AI wont run into a frikin wall right?
hmm il try it out and tell u f it works. but still if anyone can give out a better explenation please do so
hmm il try it out and tell u f it works. but still if anyone can give out a better explenation please do so
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: How do u make the AI not run into stuff like they're morons?
The AI doesn't really detect geometry when pathfinding. Barriers tell the AI where not to go. There should be further explanations in the documentation, and the "Everything you need" thread.
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: How do u make the AI not run into stuff like they're morons?
so barriers tell the AI were not to go? workd for me ! i hope it works.
il signal if it worked or not
wait ... do barriers block from ANYTHING goin there.. like its a wall...like when u go to it ur walking into and invisible wall...if thats it the plz i need another way...
il signal if it worked or not
wait ... do barriers block from ANYTHING goin there.. like its a wall...like when u go to it ur walking into and invisible wall...if thats it the plz i need another way...
- authraw
- 1st Lieutenant

- Posts: 445
- Joined: Mon Jun 26, 2006 3:45 pm
Re: How do u make the AI not run into stuff like they're morons?
The only thing that barriers do is tell the AI what to avoid--the player can still walk through barriers without a problem. They're the best way to get the AI to do what you want. If you want some more complicated AI behaviour (taking alternative routes to various places) you're going to have to put in bot pathing.
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: How do u make the AI not run into stuff like they're morons?
well the only prob with the barriers is in one place the AI still go in the barrier , however all the other barriers work good
very good
i think i have this problem fixed....but dont lock this topic until i can report back
- :clone:
very good
i think i have this problem fixed....but dont lock this topic until i can report back
- :clone:
-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
Re: How do u make the AI not run into stuff like they're morons?
This might help with hubs, etc.
http://www.gametoast.com/forums/viewtop ... 27&t=10314
http://www.gametoast.com/forums/viewtop ... 27&t=10314
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: How do u make the AI not run into stuff like they're morons?
Well, the AI will still run up to the barrier on occasion, but they won't go past it unless they're dodging.
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: How do u make the AI not run into stuff like they're morons?
caleb ur forum helped!!!! thx problem solved
