Author Topic: bug in texture replacement  (Read 2387 times)

0 Members and 1 Guest are viewing this topic.

Offline redmenace

  • 211
bug in texture replacement
to whoever did the coding for the texture replacement. It isn't working in fred the when I select a texture and hit of it says missing however many texture files the model has. Also if I exit the ship editor and come back the textures i typed in float around. that is they are not where i wanted them. Also when I place a new ship of the exact same kind they have the same textures selected as the last one. Also are the textures supposed to show up in freD?
Government is the great fiction through which everybody endeavors to live at the expense of everybody else.
              -Frederic Bastiat

 

Offline diamondgeezer

bug in texture replacement
Which version of FRED are you using? When I tried loading a mission using texture replacements in version 2.4, FRED just crashed on me :sigh:

 

Offline redmenace

  • 211
bug in texture replacement
umm the unreleased one. I haven't yet taken it into FS2 but in Fred it doesn't seem to want to work right with it.
Government is the great fiction through which everybody endeavors to live at the expense of everybody else.
              -Frederic Bastiat

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
bug in texture replacement
Can you rewrite you first post? :wtf: I can't make heads or tails out of it.

Texture replacement wasn't added to FRED until after the 3.5 release, but what's there in the unofficial EXE ought to work.  Unless I uploaded a bugfix after you downloaded whatever you're using.

I'll check it out this weekend.

 

Offline redmenace

  • 211
bug in texture replacement
Ok first of all, when I go to replace one texture in fred(the unnoficial release) I go and I select the single texture i want to replace on that ship. I hit the ok button, then is says oh you are missing (#number of textures)-(the textures I have repleased). I am trying to replace the side texture of a NOVA from TBP inorder to get a name plate. when i get that message I hit ok. not if I place a second nova, the textures are replace on it also(the second nova). Now if go back into the editor(edit the NOVA) and hit texture replacement the textures that is matched with the textures before are not match with the texture I selected before to replace. On either I believe. Also can i have multiple ships(of the same POF) with different texture replacements? Second do these texture replacements show up in fred automatically? Also I have been modifying the textures from TBP by using gimp and creating a transparent layer over the PCX file then combining the layers when I am satisfied with the location. Is this right? Also, Goob, If I am not doing this right please tell me because I would like the beta test the Texture replacement for you and te community. also what is the difference between the two options I saw? on the screen? Regular and duplicate I think. I am sorry this is probably all my fault.
« Last Edit: April 04, 2003, 09:38:07 pm by 887 »
Government is the great fiction through which everybody endeavors to live at the expense of everybody else.
              -Frederic Bastiat

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
bug in texture replacement
Paragraphs are your friend...

Quote
Originally posted by redmenace
Ok first of all, when I go to replace one texture in fred(the unnoficial release) I go and I select the single texture i want to replace on that ship. I hit the ok button, then is says oh you are missing (#number of textures)-(the textures I have repleased).


Interesting.  I managed to get that also... I'll have to have a look.

Quote
I am trying to replace the side texture of a NOVA from TBP inorder to get a name plate. when i get that message I hit ok. not if I place a second nova, the textures are replace on it also(the second nova).


I tried doing this with two Orions, but FRED kept track of it correctly.  Not sure why you are getting this.

Quote
Now if go back into the editor(edit the NOVA) and hit texture replacement the textures that is matched with the textures before are not match with the texture I selected before to replace. On either I believe.


Well they should be, and they work for me.  I'll try and have another look at the code.

Quote
Also can i have multiple ships(of the same POF) with different texture replacements?


Yes.

Quote
Second do these texture replacements show up in fred automatically?


If you mean do they appear on the ship models, the answer is no.  I'm not quite sure how to do that.

Quote
Also I have been modifying the textures from TBP by using gimp and creating a transparent layer over the PCX file then combining the layers when I am satisfied with the location. Is this right?


I dunno.  I don't use Gimp.  If you use Photoshop, I wrote up a nifty tutorial for making Orion nameplates, available here.

Quote
Also, Goob, If I am not doing this right please tell me because I would like the beta test the Texture replacement for you and te community.


Well, thanks - I appreciate it. :) Beta testing is very useful.

Quote
what  also what is the difference between the two options I saw? on the screen? Regular and duplicate I think.


I should put this in the readme.  Regular means that just the texture is replaced.  Duplicate model means that the entire model is replaced, keeping the old textures except for the ones that are changed.  They're just two different ways of doing it.  "Regular" is better if you're just replacing one or two textures, but "Duplicate Model" is better if you're replacing a whole bunch of textures.

Quote
I am sorry this is probably all my fault.


I don't think so.  Just more bugs we need to track down. :)

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
bug in texture replacement
I am getting the same errors with the texture replacement feature. It also seems to have no effect in the game, at least with fs2_open 3.51. (I tried changing the textures on a cargo container to asteroid maps and saving despite the fred2 errors, but it looked normal in the game)

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
bug in texture replacement
The MOD itself works; the problem is getting FRED to work with it. :) If you edit the mission file directly, you should be able to see the results.  I'll go have another look at the FRED code.

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
bug in texture replacement
Cool, I tried doing that and it worked perfectly. As you said, it is probably some FRED2 issue.
« Last Edit: April 04, 2003, 10:59:47 pm by 296 »

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
bug in texture replacement
Fixed it; it was due to some obscure coding issue that I overlooked.  Works now. :)

  

Offline redmenace

  • 211
bug in texture replacement
umm ok thats good. But we still need the rest of the bugs(if in fact they are bugs) fixed. However, I don't mean to be pushy but it is probably very important to see the changes on the craft in FRED: in the 3d field or in a little window like model view 32, where we can rotate the craft with our mouse and zoom in. Also we need a browse window. to select the files.
Government is the great fiction through which everybody endeavors to live at the expense of everybody else.
              -Frederic Bastiat