Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Test Builds => Topic started by: WMCoolmon on August 06, 2008, 04:39:46 am

Title: C08052008 - Diffuse Maps Are Not Enough
Post by: WMCoolmon on August 06, 2008, 04:39:46 am
Build is based on C08042008 and most recent trunk, plus...

New Stuff:

(http://fs2source.warpcore.org/temp/wmc/tex_rep_5s.jpg) (http://fs2source.warpcore.org/temp/wmc/tex_rep_5.jpg)

Screenies:
GTF Pegasus/Mara (http://fs2source.warpcore.org/temp/wmc/tex_rep_1.jpg)
GTF Pegasus/Mara (http://fs2source.warpcore.org/temp/wmc/tex_rep_2.jpg)
GTF Loki/Pegasus (http://fs2source.warpcore.org/temp/wmc/tex_rep_3.jpg)
GTF Loki/Mara (http://fs2source.warpcore.org/temp/wmc/tex_rep_4.jpg)

Light settings are from this post (http://www.hard-light.net/forums/index.php/topic,50645.msg1023288.html#msg1023288).

Build:
http://fs2source.warpcore.org/exes/latest/C08052008.zip
Title: Re: C08052008 - Diffuse Maps Are Not Enough
Post by: DaBrain on August 06, 2008, 06:25:34 am
... This is awesome!

I'll PM you about something related now. ;)
Title: Re: C08052008 - Diffuse Maps Are Not Enough
Post by: Topgun on August 06, 2008, 03:42:49 pm
See what I mean!
anyway great work :yes:
Title: Re: C08052008 - Diffuse Maps Are Not Enough
Post by: chief1983 on August 06, 2008, 04:27:25 pm
This almost seems like a bugfix on texture replacement code, hopefully this can make it into 3.6.10.
Title: Re: C08052008 - Diffuse Maps Are Not Enough
Post by: karajorma on August 06, 2008, 05:21:32 pm
As far as I'm concerned if the only sensible way to fix a bug is by adding a feature then it's still a bug fix. :D
Title: Re: C08052008 - Diffuse Maps Are Not Enough
Post by: Swifty on August 07, 2008, 12:15:51 pm
WMC, can you post up an example script of how you got those glow maps replaced?
Title: Re: C08052008 - Diffuse Maps Are Not Enough
Post by: WMCoolmon on August 07, 2008, 01:03:16 pm
I realized that there's a small issue with the scripting code when using names into the model as indices. However, for numbers, it looks like it still work, so:

Code: [Select]
for i=1, #ship.Textures do
     if ship.Textures[i]:lower():match("-glow", -5) then
         ship.Textures[i] = "newtex-glow"
     end
end

would replace every glow texture on the ship with "newtex-glow" (untested).

For the example I actually used FRED.
Title: Re: C08052008 - Diffuse Maps Are Not Enough
Post by: Bobboau on September 03, 2008, 08:01:45 am
As far as I'm concerned if the only sensible way to fix a bug is by adding a feature then it's still a bug fix. :D

that's not the way goober feels about it.
Title: Re: C08052008 - Diffuse Maps Are Not Enough
Post by: karajorma on September 03, 2008, 09:57:13 am
Well not all bug fixes can be added to SVN straight away. Taylor's new pilot code sounds like a very big bug fix to me and we're not adding it in for at least one more public release.
Title: Re: C08052008 - Diffuse Maps Are Not Enough
Post by: chief1983 on September 03, 2008, 10:56:49 am
I think it depends on the possibility of creating substantially more severe bugs in the process.