AI patrol
Moderator: Moderators
-
Darth_Squoobus
- General

- Posts: 760
- Joined: Mon Aug 03, 2009 3:21 am
- Projects :: No Mod project currently.
- Location: over the hills and far away
AI patrol
If I wanted AI to patrol an area, should I just set up a path that connects back to itself or would I have to do something else?
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: AI patrol
Source:...
...
Patrol hints are used by most unit types. Upon reaching a command post, units will move between patrol hints at random.
...
...
The following properties need to be set in the editor for each patrol hint:
CommandPostName - the command post this hint is associated with.
Primary Stance - what stance the scout will be in when it reaches the patrol hint.
http://www.secretsociety.com/forum/down ... _notes.txt
EDIT:
According to THIS hint nodes aren't used for AI patrol anymore.
^Thanks to Skyhammer_216 for pointing this out
Have a look at THIS document on how it should be done now.
-
Recon Trooper
- Command Sergeant Major

- Posts: 285
- Joined: Fri Sep 11, 2009 5:36 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Muhamid Ant Farm ???
- Contact:
Re: AI patrol
The easy way that I would do is place heaps of hubs next to each and form a filled circle shaped of hubs and connect them. Sounds weird but works.
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: AI patrol
Using patrol nodes would be much easier.
EDIT: Paths, not nodes. See Sky's post.
EDIT: Paths, not nodes. See Sky's post.
Last edited by Xavious on Sun Oct 04, 2009 1:09 pm, edited 1 time in total.
-
Recon Trooper
- Command Sergeant Major

- Posts: 285
- Joined: Fri Sep 11, 2009 5:36 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Muhamid Ant Farm ???
- Contact:
Re: AI patrol
Yeah, do thatUsing patrol nodes would be much easier.
- Sky_216
- Droid Pilot Assassin

- Posts: 2086
- Joined: Mon Feb 13, 2006 3:28 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: AI patrol
Ummm....guys? From psych0fred's site.....
Hidden/Spoiler:
Hidden/Spoiler:
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: AI patrol
Does that mean the code for them is broken or just that it's better to use patrol paths?
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: AI patrol
It sounds like the code was removed and replaced with a better system.
