Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: ShadowWolf_IH on February 02, 2014, 12:52:44 pm

Title: replace texture - sexp
Post by: ShadowWolf_IH on February 02, 2014, 12:52:44 pm
Yeah...a feature request.

The sexp would do just what you think it would.  It will replace the existing texture with another one.  This would allow us to create "scorch maps" to allow for showing damage in flight.  ie at 85% hull remaining replace with AuroraD1.dds, at 70% hull remaining replace with AuroraD2.dds.  The target of the change would be either a non player ship, or the player's ship.  That way we can show damage to the cockpit textures as well as to the exterior of the ship.
Title: Re: replace texture - sexp
Post by: headdie on February 02, 2014, 12:58:25 pm
Yeah...a feature request.

The sexp would do just what you think it would.  It will replace the existing texture with another one.  This would allow us to create "scorch maps" to allow for showing damage in flight.  ie at 85% hull remaining replace with AuroraD1.dds, at 70% hull remaining replace with AuroraD2.dds.  The target of the change would be either a non player ship, or the player's ship.  That way we can show damage to the cockpit textures as well as to the exterior of the ship.

WC 1-2 esque cockpit damage would be cool
Title: Re: replace texture - sexp
Post by: zookeeper on February 02, 2014, 01:53:27 pm
Scriptable already, for what it's worth.