Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Black Wolf on November 17, 2011, 04:21:51 pm

Title: 2 Sexp Requests
Post by: Black Wolf on November 17, 2011, 04:21:51 pm
Not sure if there's a pre 3.6.14 code freeze in place, but if not, I'd like to request 2 (hopefully simple) additional sexps.

1) Fire-turret - pretty much what it says, fire-beam, except for missile and blob type turrets.

2) Set-support-repair-threshhold - Again, pretty self explanatory, the ability to alter the support ship repair hull value in mission - this could be done by adding an additional (optional) field to set-support-ship, or with a new sexp. Basically, I want the ability to define how much your ship can be repaired based on the class - I could do this with a table entry as well, but I can see potential uses for this sexp in other situations, so the less specific approach may be preferable.

Possible?
Title: Re: 2 Sexp Requests
Post by: zookeeper on November 18, 2011, 01:05:52 am
Not sure if there's a pre 3.6.14 code freeze in place, but if not, I'd like to request 2 (hopefully simple) additional sexps.

1) Fire-turret - pretty much what it says, fire-beam, except for missile and blob type turrets.

Considering that there's a scripting function for that, shouldn't be particularly difficult to add a similar SEXP.

AFAIK no new features are going in 3.6.14 anymore, though.
Title: Re: 2 Sexp Requests
Post by: Nuke on November 18, 2011, 02:00:20 am
i dont think fire turret ever worked all the way in scripting. granted it works but i dont think it makes use of the firing points correctly.
Title: Re: 2 Sexp Requests
Post by: zookeeper on November 18, 2011, 02:13:11 am
i dont think fire turret ever worked all the way in scripting. granted it works but i dont think it makes use of the firing points correctly.

Really? I'm not aware of any problems with it currently, but I haven't used the optional weapon index and flak range params at all.
Title: Re: 2 Sexp Requests
Post by: Goober5000 on November 18, 2011, 03:42:00 am
#1 is harder than it looks.  I checked it out once before and ran into some obstacle that I can't recall.

#2 would be pretty easy.
Title: Re: 2 Sexp Requests
Post by: Black Wolf on December 18, 2011, 04:04:51 pm
:bump:

An chance of the support ship thing getting thrown in any time soon, if it is as easy as it seems? It'd be a cool way of distinguishing the various generations of fighters - newer fighters being more receptive to whatever new tech the GTVA are employing to fix their hulls, hence getting a higher hull boost from the support ship, basically.
Title: Re: 2 Sexp Requests
Post by: Goober5000 on December 18, 2011, 05:01:36 pm
I kinda want to move us away from chasing down every request that's thrown onto the public board.  But project requests are a different matter.  Is this something that will be used in TI?
Title: Re: 2 Sexp Requests
Post by: Black Wolf on December 18, 2011, 05:11:20 pm
Yeah, that's the general plan. Pre-Capella get 40%, Post-Capella get 50%. I can fake it at the moment by setting the allowable repair threshold based on the player's default ship, but if the player chooses to change to a different fighter, it messes up the system.