Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Petrarch of the VBB on March 19, 2006, 04:29:48 pm

Title: Another small problem.
Post by: Petrarch of the VBB on March 19, 2006, 04:29:48 pm
I assume it's a problem anyway.

The thing is, have friendly capital ships always fired on friendly bombs? If not, then it's a bug and I'll put it on Mantis.
If they have, then I've never noticed.

You see, I was trying to take out a hostile Deimos with Cyclopses, and noticed a load of flak flying in from my left and bursting around my bombs. I turned to see where it was coming from, and it was a friendly Aeolus. Seems a bit off.
Title: Re: Another small problem.
Post by: Mars on March 19, 2006, 05:53:21 pm
Are you sure the Aeouls wasn't firing it's flak guns at the Deimos, that's how Aeoli take out enemy cap-ships normally, by revolving around their adversaries and fireing flak and AAA.
Title: Re: Another small problem.
Post by: StratComm on March 19, 2006, 08:06:14 pm
Sounds like it could be an IFF bug though.  I'd test it more to be sure it's an actual bug, and see if you can't find something besides flak (which is notorious for not being accurate or firing behind something at a distance) that behaves similarly.
Title: Re: Another small problem.
Post by: Petrarch of the VBB on March 20, 2006, 06:06:05 am
It was definitely firing at the bombs, and not the Deimos. I'm pretty sure if fired it's AAA beam at them as well, as the beam shot across my view almost as soon as I launched them, and there weren't any hostile fighters around.
Title: Re: Another small problem.
Post by: Petrarch of the VBB on March 20, 2006, 06:42:03 am
Tried it again, with just me, a Deimos, and an Aeolus in the mission. I'd locked all the turrets and beams on the Deimos to make sure it wasn't firing at the bombs, and as you can see from this screenshot, the Aeolus is.

(http://www.gbev.co.uk/gubbins/FriendlyBombFire.jpg)

I've tried it with a Leviathan in place of the Aeolus, and with Helioses rather than Cyclopses, and the same thing happens.

I'll put it on Mantis.
Title: Re: Another small problem.
Post by: StratComm on March 20, 2006, 10:50:00 am
Hey, someone's using my glowpoint missiles!  :p

Yeah, that's a bug.  Probably Goobs, since it's likely an IFF issue.
Title: Re: Another small problem.
Post by: taylor on March 20, 2006, 11:11:01 am
Already fixed, but I'm too tired to commit to CVS right now (been up for... 26+ hours :sigh:).

It wasn't an IFF issue, but it was Goober's fault. :)
Title: Re: Another small problem.
Post by: Goober5000 on March 20, 2006, 01:54:50 pm
:(
Title: Re: Another small problem.
Post by: taylor on March 20, 2006, 05:55:54 pm
;)
Title: Re: Another small problem.
Post by: Goober5000 on March 20, 2006, 09:54:52 pm
Actually, it was WMC's fault, since he's the one who shuffled the functions around in the first place. :D

And your fix wasn't quite complete, so I fixed it. :p
Title: Re: Another small problem.
Post by: Flipside on March 20, 2006, 11:46:00 pm
I blame video games....
Title: Re: Another small problem.
Post by: taylor on March 21, 2006, 12:18:46 am
Actually, it was WMC's fault, since he's the one who shuffled the functions around in the first place. :D

And your fix wasn't quite complete, so I fixed it. :p
You were still fixing your original bug actually. :p  I was just fixed the problem, your new fix essentially reverted your old "fix" so that it's now closer to WMCoolmon's original code. :)

http://fs2source.warpcore.org/cgi-bin/cvsweb/cvsweb.cgi/fs2_open/code/ai/aiturret.cpp.diff?r1=1.31&r2=1.32&f=h
Title: Re: Another small problem.
Post by: Goober5000 on March 21, 2006, 09:44:49 am
Ugh.  If that lssm stuff hadn't been there, my original commit would have worked. :(
Title: Re: Another small problem.
Post by: taylor on March 21, 2006, 10:28:00 am
Ugh.  If that lssm stuff hadn't been there, my original commit would have worked. :(
Yep. :)


Oh and did you get my e-mail?  After looking at the code again for the dot test I'm wondering if it wasn't actually a :v: bug that no one had noticed until now.  It just seems strange.

EDIT:  Nevermind, your response just came in.  Guess my e-mail is a bit slow today. :)
Title: Re: Another small problem.
Post by: Petrarch of the VBB on March 21, 2006, 10:53:57 am
I don't think it ever happened in FS2 retail.