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
-
Build is based on C08042008 and most recent trunk, plus...
New Stuff:
- Fixed set-fov and reset-fov with new camera code
- Fixes FRED texture replacement freeze bug when updating replacement textures
- Enabled texture replacement for glow, shine, normal, and height maps
- Enabled animated textures with texture replacement
(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
-
... This is awesome!
I'll PM you about something related now. ;)
-
See what I mean!
anyway great work :yes:
-
This almost seems like a bugfix on texture replacement code, hopefully this can make it into 3.6.10.
-
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
-
WMC, can you post up an example script of how you got those glow maps replaced?
-
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:
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.
-
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.
-
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.
-
I think it depends on the possibility of creating substantially more severe bugs in the process.