Smart AI
Moderator: Moderators
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Smart AI
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?
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?
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Re: Smart AI
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/
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Smart AI
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.
- Eggman
- Master Bounty Hunter

- Posts: 1516
- Joined: Mon Jul 16, 2007 1:30 pm
- Projects :: Battlefront Chronicles
- Location: Las Vegas
Re: Smart AI
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.
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Re: Smart AI
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?
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?
-
mswf
- Master Bounty Hunter

- Posts: 1674
- Joined: Tue Mar 31, 2009 3:40 pm
- Location: Twello, The Netherlands
- Contact:
Re: Smart AI
Place them better. Have you edited the detpack that you used?
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Re: Smart AI
No.mswf wrote:Place them better. Have you edited the detpack that you used?
-
mswf
- Master Bounty Hunter

- Posts: 1674
- Joined: Tue Mar 31, 2009 3:40 pm
- Location: Twello, The Netherlands
- Contact:
Re: Smart AI
Is the detpack in the direct path of the AI that places them? Are there enemy units/object near when they are being placed?
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Re: Smart AI
No, I don't think so.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?
I'm just removing the node. I'll live.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Smart AI
You can fix the suicide bomber problem by adding this line to the detpack's ODF
somewhere under [Properties].
Code: Select all
TargetEnemy = "1"- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Smart AI
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.
-
RogueKnight
- Space Ranger
- Posts: 2512
- Joined: Sat Nov 22, 2008 1:50 pm
- Projects :: Life. Work.
- xbox live or psn: No gamertag set
- Location: Washington, US
Re: Smart AI
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.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.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Smart AI
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.
