Author Topic: Idea: Texture replacement in Table  (Read 1992 times)

0 Members and 1 Guest are viewing this topic.

Idea: Texture replacement in Table
Hello guys and gals,
I've just come up with another idea.
I remembered that there is a mod for Star Trek: Bridge Commander, with which you can replace textures (like ship names and registries) on a ship without having duplicate models, saving lots of disc space. It's called the Skinning and Damaging tool.
And then I thought. Why not having something similar in Freespace?
My idea is, like BC's SDT, to put certain lines in a ship's table entry to replace textures. For example:

$Replace Textures:
     +texture1 to replace: Sathanas.dds
     +texture1 replacement: Sathanas_green.dds
     +texture2 to replace: ...
     +texture2 replacement: ...
     ......

Of course it would probably the best if FS2 would automatically replace the shine-, glow- and the other maps as well.

I think that if FS2 would have such a feature, we wouldn't have to have duplicate models with different textures and we would save a lot of disc space.

PS: If I made you curious about the SDT, you can inform youself about it there: http://bridgecommander.filefront.com/file/Skinning_and_Damaging_Tool_V20;30522
Audio Converter of Enigma Campaign 2666:
http://enigma.de.to/

German translator of WC: Hostile Frontier:
http://www.ciinet.org/kevin/wchf/

My Youtube Channel:
http://www.youtube.com/user/FekLeyrTarg?feature=mhee

 

Offline Kobrar44

  • On Suspended Sentence
  • 29
  • Let me tilerape it for you!
    • Steam
Re: Idea: Texture replacement in Table
Well, there is that thing, but I have no experience with it.
Oh guys, use that [ url ][ img ][ /img ][ /url ] :/

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: Idea: Texture replacement in Table
It doesn't work.. and many have hoped for it to be fixed.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 
Re: Idea: Texture replacement in Table
Odd. Looks like I missed it when checking the Ships.tbl entry of the wiki. Good to know that it's there already even though it needs to be fixed.
Audio Converter of Enigma Campaign 2666:
http://enigma.de.to/

German translator of WC: Hostile Frontier:
http://www.ciinet.org/kevin/wchf/

My Youtube Channel:
http://www.youtube.com/user/FekLeyrTarg?feature=mhee

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Idea: Texture replacement in Table
actually, if my memory is correct the cause of the issue was the misuse of a "memcpy" in FSO, and all the memcpy issues have been fixed recently so it might be worth another quick test to see if it's working now.
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

  

Offline Kopachris

  • 28
  • send penguins
    • Steam
    • Twitter
Re: Idea: Texture replacement in Table
And if that still doesn't work, there's always texture replacement available in FRED, iirc.  (Isn't that how we normally do Orion nameplates?)
----
My Bandcamp | Discord: Kopachris | My GitHub

 
Re: Idea: Texture replacement in Table
Would it be possible to implement the texture replacement with the team colours bar?
For example with the Orion, the nameplates are tabled and you use the drop down bar to select your desired nameplate.
Would this be possible or does the colours table only work with purely changing colours?
Just a thought
Too many ideas.....not enough FREDing time!

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: Idea: Texture replacement in Table
actually, if my memory is correct the cause of the issue was the misuse of a "memcpy" in FSO, and all the memcpy issues have been fixed recently so it might be worth another quick test to see if it's working now.

Nope, still not working.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Idea: Texture replacement in Table
actually, if my memory is correct the cause of the issue was the misuse of a "memcpy" in FSO, and all the memcpy issues have been fixed recently so it might be worth another quick test to see if it's working now.

Good thinking.  I would have to track down Taylor's original patch though; it was never committed.

 
Re: Idea: Texture replacement in Table
And if that still doesn't work, there's always texture replacement available in FRED, iirc.  (Isn't that how we normally do Orion nameplates?)
I also tried that one. I also doesn't seem to work.
Audio Converter of Enigma Campaign 2666:
http://enigma.de.to/

German translator of WC: Hostile Frontier:
http://www.ciinet.org/kevin/wchf/

My Youtube Channel:
http://www.youtube.com/user/FekLeyrTarg?feature=mhee