Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: WMCoolmon on July 30, 2005, 08:58:48 am

Title: AI is broken
Post by: WMCoolmon on July 30, 2005, 08:58:48 am
Sometime in the last few days the fighter AI has been broken...it appears that when they're assigned more than one target to attack, fighters will merely spin in circles constantly.
Title: AI is broken
Post by: BlackDove on July 30, 2005, 09:03:12 am
...so basically, everything's the same?
Title: AI is broken
Post by: General Freak on July 30, 2005, 09:34:02 am
We gotta teach the AI to aim with primaries at one ship and fire guided missiles at a different target. :P
Title: AI is broken
Post by: WMCoolmon on July 30, 2005, 09:49:37 am
Well, I'm also getting a really bizarre bug where everything disappears and the screen goes black.
Title: AI is broken
Post by: Bobboau on July 30, 2005, 04:21:12 pm
I starting to feel glad I haven't commited anything in a long time :)
Title: AI is broken
Post by: phreak on July 30, 2005, 04:48:08 pm
me too :p
Title: AI is broken
Post by: WMCoolmon on July 30, 2005, 05:15:09 pm
Bah, that turret code thing I commited still needs to come out.
Title: Re: AI is broken
Post by: Goober5000 on July 31, 2005, 01:56:15 pm
Quote
Originally posted by WMCoolmon
Sometime in the last few days the fighter AI has been broken...it appears that when they're assigned more than one target to attack, fighters will merely spin in circles constantly.
Which build does it first show up in?
Title: AI is broken
Post by: BlackDove on July 31, 2005, 02:30:32 pm
Quote
Originally posted by WMCoolmon
Well, I'm also getting a really bizarre bug where everything disappears and the screen goes black.


That actually sounds eerie (good) :nervous:
Title: Re: Re: AI is broken
Post by: WMCoolmon on July 31, 2005, 03:06:48 pm
Quote
Originally posted by Goober5000
Which build does it first show up in?


Probably the newest one. But I've been using builds compiled exclusively from CVS. Cedega doesn't seem to like fs2_open, either.
Title: AI is broken
Post by: Goober5000 on August 08, 2005, 11:25:56 pm
Can someone post a test mission where this happens, or instructions to reproduce it?
Title: AI is broken
Post by: Fury on August 09, 2005, 12:50:31 am
Quote
Originally posted by Goober5000
Can someone post a test mission where this happens, or instructions to reproduce it?

Well I would but I need to get this (http://www.hard-light.net/forums/index.php/topic,34428.0.html) solved somehow first. :sigh:
But well basically, create a mission, put in eight fighters and assign them to two friendly and two hostile wings. Order each wing to attack the two opposing wings, priority 80 and 50 for example. The fighters just keep spinning around. And the build's fs2_open_G-20050728.exe.

In any case, I will dig more details out of this problem when I've solved the nagging shockwave problem (link above).
Title: Mutiny supressed....for now
Post by: Slasher on August 09, 2005, 08:42:03 am
I'm having the same exact problem.  I was beginning to fear my wingmates had finally gotten fed up with my suicidal orders after all these years and were refusing to execute them.  What a travesty we'd be in then. :nervous:
Title: AI is broken
Post by: Goober5000 on August 09, 2005, 10:21:01 am
Hmm.  Does it appear in the 0722 build or any earlier builds?
Title: AI is broken
Post by: Slasher on August 10, 2005, 03:34:23 am
I switched to the July 22nd build and noticed that wingmen that are assigned orders in FRED2 don't seem to carry them out, but when I give them a command in game they don't do too bad.  When given an order with the ai-attack SEXP they move for the target but when they get in range they just fly around idly in the vicinity.  

That was just one test run and I'm in the process of more.
Title: AI is broken
Post by: taylor on August 10, 2005, 03:45:53 am
Slahser, try to reproduce those results with the 20050807 build so we'll know if it ended up being fixed shortly after 20050728 was release.  Also, try setting MISSION_FLAG_AI_NEW for the mission (not sure what it is in FRED2) and try again with the 0722 and/or 0728 builds.  You can add that flag outside of FRED2 if you want, just add 4096 to whatever +Flags: is set to.