Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Spoon on April 18, 2010, 06:12:23 pm

Title: Player mounted beams do not cause traitor
Post by: Spoon on April 18, 2010, 06:12:23 pm
As the title says, if the player has beam weapons he can spam friendly targets endlessly and will never turn traitor
Is this intended behavior or a bug?
Title: Re: Player mounted beams do not cause traitor
Post by: Aardwolf on April 18, 2010, 07:32:51 pm
Maybe this has to do with the way damage from beam weapons (typically) doesn't count toward kills? I think there's a flag you can set (possibly an ai_profiles flag though) that changes it... which might also change this.
Title: Re: Player mounted beams do not cause traitor
Post by: FUBAR-BDHR on April 18, 2010, 07:50:58 pm
Player beams have always counted toward kills (at least as long as I've been around) if they are mounted on fighters or bombers.  The only issues were with Gunships like the Whitestar and Drakh Raider.  I'm pretty sure these even count now by default if fired from a player ship.  The flag controls if beams from cap ships count toward the kills so that you can't destroy a Ravana by firing one Treb at it and it getting annihilated by beams from friendly caps. 
Title: Re: Player mounted beams do not cause traitor
Post by: Nuke on April 18, 2010, 07:52:33 pm
i find rapid fire weapons that cause little damage tend to cause traitor faster than hitting a ship with a big warhead every once and awhile.
Title: Re: Player mounted beams do not cause traitor
Post by: Solatar on April 18, 2010, 08:04:59 pm
Yeah; is it even based on damage caused?  I kind of figured it was by individual hits.  I've hit ships with big weapons, no big deal.  Fire off a few seconds of morning star though and you're hosed.
Title: Re: Player mounted beams do not cause traitor
Post by: Nuke on April 18, 2010, 08:08:47 pm
thats because you spilled the admiral's coffee :D
Title: Re: Player mounted beams do not cause traitor
Post by: karajorma on April 18, 2010, 08:20:09 pm
It's definitely not intentional but I'd need a player beam I can use with retail data in order to solve the issue. If someone will stick the bug in Mantis along with a tbm for a beam that only uses files available in retail data I'll fix this one pretty quickly.
Title: Re: Player mounted beams do not cause traitor
Post by: Goober5000 on April 18, 2010, 10:00:40 pm
Indeed.  It's definitely a bug.
Title: Re: Player mounted beams do not cause traitor
Post by: Spoon on April 19, 2010, 02:18:02 pm
It's definitely not intentional but I'd need a player beam I can use with retail data in order to solve the issue. If someone will stick the bug in Mantis along with a tbm for a beam that only uses files available in retail data I'll fix this one pretty quickly.
use cheats to give yourself a beam?
Title: Re: Player mounted beams do not cause traitor
Post by: Bob-san on April 19, 2010, 03:06:18 pm
Are we talking about having a beam cannon as your primary or as a turret mounted on the ship (for example, replacing the Kayser on the Ursa)?
Title: Re: Player mounted beams do not cause traitor
Post by: Spoon on April 19, 2010, 04:38:01 pm
primary
Title: Re: Player mounted beams do not cause traitor
Post by: karajorma on April 19, 2010, 06:21:04 pm
It's definitely not intentional but I'd need a player beam I can use with retail data in order to solve the issue. If someone will stick the bug in Mantis along with a tbm for a beam that only uses files available in retail data I'll fix this one pretty quickly.
use cheats to give yourself a beam?

That may not trigger the bug due to the fact I was using cheats. For a proper test I need proper conditions.
Title: Re: Player mounted beams do not cause traitor
Post by: Shivan Hunter on April 20, 2010, 12:53:41 am
hmm. Well, I tested it using cheats (with Spoon on IRC)... I'll slap a "player allowed" flag on an AAA and test it tomorrow. Need some sleep now though.
Title: Re: Player mounted beams do not cause traitor
Post by: Spoon on April 21, 2010, 04:33:04 am
Well apparantly Geek is nub and forgot his mantis password, guess I'll stop being lazy and throw it on mantis then.
Title: Re: Player mounted beams do not cause traitor
Post by: Shivan Hunter on April 21, 2010, 10:15:50 pm
I said I'd test it, not mantis it. Besides, I've got so much stuff to do between now and next Tuesday I shouldn't even be posting.

It still happens with the beam mounted without cheats btw
Title: Re: Player mounted beams do not cause traitor
Post by: Spoon on April 22, 2010, 06:45:38 am
threw it on mantis