PDA

View Full Version : Odd ai problem...



Dwood
December 16th, 2009, 10:10 PM
Okay so no matter what I do I absolutely cannot get the ai to ally with the player via the default means of setting the ai to human team and the player to player team... what on earth is going on?

I've checked the units' bipeds, and they're all set to 'human'. I've tried everything I could short of rewriting my tagset... in guerilla the map is set to solo...

I'm seriously at a loss for words here :saddowns:

S3anyBoy
December 16th, 2009, 10:29 PM
You are using the "ai_allegiance player human" script command right?

chrisk123999
December 16th, 2009, 10:31 PM
There is a command for it. (ai_allegiance <team> <team>)

Edit: Ninja'ed.

Dwood
December 17th, 2009, 05:44 AM
You are using the "ai_allegiance player human" script command right?

That shouldn't be necessary. player and human should, by default, be allies.

L0d3x
December 17th, 2009, 07:53 AM
It's necessary.

JackalStomper
December 17th, 2009, 10:40 AM
That shouldn't be necessary. player and human should, by default, be allies.

Every time I make a little single player level for myself, that seems to NOT be the case. I keep forgetting that they aren't allied by default, and get shot up by them... but some times they do become allies and I get rather confused about what exactly is happening to make this possible.

Inferno
December 17th, 2009, 01:10 PM
Ugh.

Set the AI team to 0.

Dwood
December 17th, 2009, 01:18 PM
here's what happens:

http://www.xfire.com/video/1ba78e/

S3anyBoy
December 17th, 2009, 01:41 PM
here's what happens:

http://www.xfire.com/video/1ba78e/
I'm not sure what the problem is, they weren't shooting at you before you removed the allegiance. Were they supposed to be doing something?

Dwood
December 17th, 2009, 02:56 PM
I'm not sure what the problem is, they weren't shooting at you before you removed the allegiance. Were they supposed to be doing something?

Yeah I have a script that tells the ai to run a command list...

Dwood
December 17th, 2009, 05:55 PM
Script and ai fixed- guard at guard position.