Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Test Builds => Topic started by: WMCoolmon on December 23, 2005, 04:15:47 am

Title: Oi, not another feature!
Post by: WMCoolmon on December 23, 2005, 04:15:47 am
From Feature Requests (http://www.hard-light.net/wiki/index.php/Feature_Requests):
Quote
Ability to set detonation range/time for flak shots so that flak weapons could fire at approaching ships beyond their 'detonation range' thus generating a flak screen in front of the approaching ships with the flak explosions. Preferably with little variance in the exact detonation time as there is always a little variance in normal flak explosions. Beams already support this sort of firing with +range: option.
Wanderer 10:56, 9 Dec 2005 (GMT)

http://fs2source.warpcore.org/exes/latest/C23122005.zip (shiptypes.tbl is necessary, included in ZIP)

The field is "$Detonation Range:", after "$Arm Radius:" but before the shockwave stuff.

Still one spot of backwards compatibility danger
Title: Re: Oi, not another feature!
Post by: Wanderer on December 23, 2005, 04:29:12 am
Great! Now i better go testing. I'm not too competent with fred though :( But i'm sure i can cook up someting.
Title: Re: Oi, not another feature!
Post by: WMCoolmon on December 23, 2005, 10:50:06 am
This is actually the one feature that I tested. :nervous:
Title: Re: Oi, not another feature!
Post by: Wanderer on December 23, 2005, 01:36:41 pm
Have you by any chance changed the animation code syntax? I'm getting some errors related to standard barrel alignment things.
Title: Re: Oi, not another feature!
Post by: WMCoolmon on December 23, 2005, 02:37:57 pm
Yes. I swapped out the "=" with ":" like the rest of the table values.
Title: Re: Oi, not another feature!
Post by: Wanderer on December 23, 2005, 03:02:56 pm
Just tested it and detonation range works fine. Prob was that i couldn't use command console (c-2-0) as there were no active items (with normal builds i am ordering two wings of fighters). It has propably something to do with the shiptypes.tbl..
Title: Re: Oi, not another feature!
Post by: WMCoolmon on December 23, 2005, 03:17:53 pm
Probably...I tried it on "Mystery of the Trinity" and didn't seem to have problems, maybe on one of the later missions...
Title: Re: Oi, not another feature!
Post by: WMCoolmon on December 24, 2005, 12:11:29 am
Ahh, figured it out. It should be fixed in the next build, along with a whole host of problems thanks to a silly mistake on my part.