Page 1 of 1
Smart AI
Posted: Sun Aug 23, 2009 9:07 pm
by Fierfek
How do I make one team's AI super-smart?
I am using setteamagressiveness, but it isn't doing much. I tried setplayerteamdifficulty, but that didn't do anything (actually, it crashed the map).
What other codes are there for smart AI?
Re: Smart AI
Posted: Sun Aug 23, 2009 9:10 pm
by bobfinkl
The info here is gonna make your AI as good as possible without some pretty major scripting.
http://www.secretsociety.com/forum/down ... F2Docs/AI/
Re: Smart AI
Posted: Sun Aug 23, 2009 9:50 pm
by Xavious
Set up good planning and use hint nodes. The lua changes will only make the AI more accurate, which can make the game very irritating.
Re: Smart AI
Posted: Sun Aug 23, 2009 10:10 pm
by Eggman
There's really no way to make the AI "smarter." Xavious pretty much hit the nail on the head - all you can do is set up good planning, barriers, and hint nodes.
Re: Smart AI
Posted: Tue Aug 25, 2009 2:52 pm
by Fierfek
I have one problem with my AI - they are unequally stupid.
I placed a mine hintnode. One of the AI walks up to it, and places a detpack. Then, he blows himself up, and damages his allies around him too.
How do I fix this? Is it possible?
Re: Smart AI
Posted: Tue Aug 25, 2009 3:16 pm
by mswf
Place them better. Have you edited the detpack that you used?
Re: Smart AI
Posted: Tue Aug 25, 2009 3:18 pm
by Fierfek
mswf wrote:Place them better. Have you edited the detpack that you used?
No.
Re: Smart AI
Posted: Tue Aug 25, 2009 3:20 pm
by mswf
Is the detpack in the direct path of the AI that places them? Are there enemy units/object near when they are being placed?
Re: Smart AI
Posted: Tue Aug 25, 2009 4:00 pm
by Fierfek
mswf wrote:Is the detpack in the direct path of the AI that places them? Are there enemy units/object near when they are being placed?
No, I don't think so.
I'm just removing the node. I'll live.
Re: Smart AI
Posted: Wed Aug 26, 2009 2:23 am
by AQT
You can fix the suicide bomber problem by adding this line to the detpack's ODF
somewhere under
[Properties].
Re: Smart AI
Posted: Fri Aug 28, 2009 5:58 pm
by Fiodis
And speaking of ODF codes, there's a code you can put in weapon ODFs to make the AI more accurate with them (that's how the game makes sniper AI more accurate than riflemen, etc.). I can't recall it off the top of my head, but I think it's something along the lines of SetBubbleSize. Not sure; you may want to check some weapon parent ODFs. It's in there.
Re: Smart AI
Posted: Fri Aug 28, 2009 6:10 pm
by RogueKnight
Fiodis wrote:And speaking of ODF codes, there's a code you can put in weapon ODFs to make the AI more accurate with them (that's how the game makes sniper AI more accurate than riflemen, etc.). I can't recall it off the top of my head, but I think it's something along the lines of SetBubbleSize. Not sure; you may want to check some weapon parent ODFs. It's in there.
Hm... I always thought it was odd how all the AI's shots seem to go around me, then BAM! right in the middle of a killing spree, a random AI headshots me with a sniper.
Re: Smart AI
Posted: Fri Aug 28, 2009 6:50 pm
by Fiodis
Yes, I had always thought it odd how the riflemen always miss me and then I'm sniped in the toe by an AI half a map away. This is the reason why.