A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »AI in sapien

Author Topic: AI in sapien (9 messages, Page 1 of 1)
Moderators: Dennis

CuthbertAllgood1
Joined: Mar 26, 2008

because when your this close you know your dead


Posted: Sep 9, 2009 06:02 PM    Msg. 1 of 9       
ok i have been working on adding ai to various maps and for some reason they wont move unless they see an enemy. i can make them and place their starting and return states to moving randomly and place move positions and yet for some reason they still wont move, they will attack but they wont move, i got them to respawn but still no moving, so far they only move in combat, basically i just want them to charge a specific spot but they just stand there. any ideas?


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Sep 9, 2009 06:20 PM    Msg. 2 of 9       
Set firing positions all over the combat area. In the squad, set the initial and return state to "Guarding at Guard position".


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Sep 10, 2009 06:19 PM    Msg. 3 of 9       
Guarding at guard position makes the AI guard at the firing positions. That's what I use to make AI run and fight. I put firing positions over a central battle area, set it to guarding at guard position, so they run to the firing positions, and then they fight naturally. If you did some command list or move position stuff, the AI won't act natural at all.


CuthbertAllgood1
Joined: Mar 26, 2008

because when your this close you know your dead


Posted: Sep 10, 2009 10:59 PM    Msg. 4 of 9       
ok but how do i make it so that they charge and fight? like run from blue base to red base in blood gulch for instance?


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Sep 10, 2009 11:32 PM    Msg. 5 of 9       
For the AI encounter at red base, put firing positions on blue base, and set the squad's initial and return state to "Guarding at guard position". Repeat.


sargejohnson
Joined: Apr 20, 2009

Shall we play a game?


Posted: Sep 11, 2009 09:07 AM    Msg. 6 of 9       
Quote: --- Original message by: Gamma927
For the AI encounter at red base, put firing positions on blue base, and set the squad's initial and return state to "Guarding at guard position". Repeat.


Oh, that reminds me. Script them to "magically" see each other too.


CuthbertAllgood1
Joined: Mar 26, 2008

because when your this close you know your dead


Posted: Sep 11, 2009 09:53 AM    Msg. 7 of 9       
it still didnt work this time i added about 9 firing positions at the opposite base and set both sections, the character and its spawn point to guarding at guard position and still it did not work i tried reinstalling and it still doesnt work. i also tried a few tutorials in case i missed anything and so far i dont think i have any ideas whats wrong? i have also tried kornman00's sapien and the normal one.


sos
Joined: Aug 8, 2008

Getting my legal team, brb


Posted: Sep 13, 2009 04:43 PM    Msg. 8 of 9       
Dont set the spawn point to as i never and mine worked.


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Sep 13, 2009 04:46 PM    Msg. 9 of 9       
If the bases aren't too far apart, it works. However, for larger maps, I resort to scripts to make the AI see each other, and thus, rush to defend their firing positions.

The script looks something like:

(script continuous see
(ai_magically_see_encounter ENCOUNTER1 ENCOUNTER2)
(ai_magically_see_encounter ENCOUNTER2 ENCOUNTER1)
)


Replace ENCOUNTER1 and ENCOUNTER2 with your encounters.

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 7:12 AM 282 ms.
A Halo Maps Website