PDA

View Full Version : Getting the textures to show up in ofp



vonoben1944
Jun 8 2002, 20:25
Ok, so I got a model through o2 and into ofp. *celebrating* But it didnt take its textures with it. They dont show up in-game. I find this strange since the textures work fine in o2 and buldozer... I based my model on an existing add-on and just swiched out the model and textures. Does this maybe have anything to do with it? Anyone had this problem?

Colonel_Klink
Jun 9 2002, 06:49
Hi mate.
I've just finished answering a post to do with the same problem with my skyhawk models. Its seems OFP looks for the folder with textures when OFP loads an addon pbo.
When you compress a folder with stuffPBO or other PBO tool you need to ensure the texture folder is compressed as well.
For example:
my folder with the p3d model would look something like this
Main folder: CWKSkyhawk (contains the CWKSkyhawk.p3d model)
Sub folder: Textures (contains the paa and pac files)

Now in Oxygen you must make sure the path to the textures is within the main folder. If you've put your textures in the default Data folder you'll need to move them into the Texture sub folder then reset the paths for each texture from within Oxygen. The method for doing that is in a thread here somewhere.
Now if anyone knows of a simpler way, or alternate way please comment.
Anyway I hope that is of some help.
Cheers http://www.flashpoint1985.com/ikonboard301/iB_html/non-cgi/emoticons/wink.gif
BTW the textures of the missiles on the skyhawk didn't show because the folder for them was within another skyhawk model  version on my harddrive.

vonoben1944
Jun 9 2002, 10:33
http://www.flashpoint1985.com/ikonboard301/iB_html/non-cgi/emoticons/biggrin.gif Solved! It turned out the paths were not correct after all. I thought no prefix on the texture would point to the "root" folder of the add-on, when it in fact points to the folder one step up in the hierarchy. (Where I had an old copy of the texture lying around that kept fooling me into thinking I was doing everything right...) Thank for replying.

vonoben1944
Jun 9 2002, 10:35
Oh, and yeah. Is there a way to change the prefix on a texture without re-importing the entire model? I havnt found anything on that...