Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Topgun on August 06, 2008, 03:47:02 pm

Title: small feature request involves no beam pierce
Post by: Topgun on August 06, 2008, 03:47:02 pm
can you make a -no beam pierce  flag for individual ships? like you specify it in the tables.
it isn't that hard is it?
Title: Re: small feature request involves no beam pierce
Post by: colecampbell666 on August 09, 2008, 07:23:32 pm
it isn't that hard is it?
Protip: NEVER SAY THAT. I have incurred the wrath of several coders for meekly suggesting that something might be easy.
Title: Re: small feature request involves no beam pierce
Post by: WMCoolmon on August 09, 2008, 07:35:48 pm
-nobeampierce no longer exists in SVN. It looks like it was replaced with a "pierce shields" weapon flag.

Will that work for what you want?
Title: Re: small feature request involves no beam pierce
Post by: Solatar on August 09, 2008, 08:43:36 pm
I think he wants to be able to set on individual ships whether or not beams will pierce.

Maybe a better way to do this would be to extend the armor system to shields? I can't see as much use for it as hull armor though, as really the only difference between different fighters' shields is their strength. If a laser can pierce one fighter's shields, why shouldn't it pierce others?
Title: Re: small feature request involves no beam pierce
Post by: Dark RevenantX on August 09, 2008, 08:52:07 pm
Is it possible to make a ship not receive the pierce-through-hull effect from beams that knock it to 10%?
Title: Re: small feature request involves no beam pierce
Post by: Topgun on August 10, 2008, 05:17:54 pm
-nobeampierce no longer exists in SVN. It looks like it was replaced with a "pierce shields" weapon flag.
that *might* work for what I want it. can I make a beam that does not pierce shields? I don't need a laser or missile that ignores shields, I need a beam that doesn't.
Title: Re: small feature request involves no beam pierce
Post by: WMCoolmon on August 10, 2008, 06:02:31 pm
Yeah, there's also a "no pierce shields" flag that will remove the beam pierce flag that "beam" adds. Just make sure that you put "no pierce shields" after "beam" or else it won't work.
Title: Re: small feature request involves no beam pierce
Post by: Topgun on August 11, 2008, 08:24:38 am
thanks.
Title: Re: small feature request involves no beam pierce
Post by: Topgun on August 13, 2008, 10:43:30 am
Maybe a better way to do this would be to extend the armor system to shields? I can't see as much use for it as hull armor though, as really the only difference between different fighters' shields is their strength. If a laser can pierce one fighter's shields, why shouldn't it pierce others?
that might be necessary now.
you see, me and a friend are making a mod that has capitol ships with shields. but the fighters can ignore cap shields while big ship weapons cannot.
it might be able to be done if we have all the fighter weapons beam-pierce-able but the capship one non.
we still need to test the concept a little. mostly to make sure the fighter won't ram into the capshield.
Title: Re: small feature request involves no beam pierce
Post by: WMCoolmon on August 13, 2008, 07:30:53 pm
You could use surface shields (http://www.hard-light.net/wiki/index.php/Ships.tbl#.22surface_shields.22).