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 Technical / Map Design »AI issues

Author Topic: AI issues (7 messages, Page 1 of 1)
Moderators: Dennis

UnevenElefant5
Joined: May 3, 2008

its been fun yall, i'll never forget this site :')


Posted: Dec 9, 2009 11:04 PM    Msg. 1 of 7       
*sigh*

Here we go.
Basically, I've got some AI squads. The one I'm particularly looking at has 12 enemies.
4 squads.
"sniper" has 1 actor
"rocket_dude" has 1 actor
"baddies" has 8 actors
"rock_ambushers" has 2 actors
I counted, I killed all 12 of them. But when I type in ai_living_count "encounter name"
it returns 1 (sometimes 2) but mostly 1. This happens with other encounters as well every now and then. It's not consistent, I can play through the level fine once, but then the next time, none of the squads will work. The reason this is a problem is because I need a sound to play once the living count equals 0, and if it's still returning 1 or 2, then the sound can't play, obviously.

Any ideas?


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Dec 9, 2009 11:43 PM    Msg. 2 of 7       
Sleep until ai living count is less than 2. Problem solved.


UnevenElefant5
Joined: May 3, 2008

its been fun yall, i'll never forget this site :')


Posted: Dec 9, 2009 11:49 PM    Msg. 3 of 7       
Yes but sometimes the squads work, and then you'd have the last guy of every encounter randomly dying. Yes it would solve the problem for the times it DIDN'T work, but then it would look wierd when it DID work.


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Dec 10, 2009 12:11 AM    Msg. 4 of 7       
If player can't see the last guy, ai_erase


UnevenElefant5
Joined: May 3, 2008

its been fun yall, i'll never forget this site :')


Posted: Dec 10, 2009 01:14 AM    Msg. 5 of 7       
Yeah, that works when the count is incorrect, but if the count is correct, and the count is 1 when there really is 1 guy left, that person will just disappear and that will look wierd.


CorruptedHalo
Joined: May 18, 2009


Posted: Dec 10, 2009 01:24 AM    Msg. 6 of 7       
Better weird than nothing, right?
And, just out of curiosity: What are you doing with the sound?
Or is it super seecrit?


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Dec 10, 2009 01:47 AM    Msg. 7 of 7       
It's a sound that he plays. And note the key phrase: IF THE PLAYER CAN'T SEE HIM.

 

 
Previous Older Thread    Next newer Thread







Time: Sat January 21, 2023 5:39 AM 141 ms.
A Halo Maps Website