OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods Beta Testing => Topic started by: Grey Wolf on 28 Mar 2005, 08:14:18
-
I need help with a gui i am making for my clan's unit replacement mod( i dont know where this really goes). I have images i have converted to .paa files and put them in the bin folder, and the game cannot locate them at all. Can some one plz help me?
-
Why have you put them in the bin folder?
Planck
-
yes i tried puting them in all the folders and it still doesnt work for some reason.
-
What exactly are these pictures?
Post an example.
Planck
-
Ok let me explain, i used this tutorial http://www.mindwavemedia.com/warchamber.shtml
here it is on the right side bar
but i used that tutorial to teach me to edit the gui, like moving around the stuff and changing other things. I got every thing moved around to where i wanted it but the picutres i converted from jpg to paa cant be found when i start up my game to see if i got it working right.
inserting pictures into the gui is the only problem i have had with the thing.
-
Presumably you have constructed a custom resource file to display your GUI.
You should check the paths to any picture file, make sure they are correct.
For example:
text = "MyPicture.paa";
If the picture is PBO'ed along with the rest of your pictures and the PBO is put in the Addons folder, that line should read :
text = "Mypbo\MyPicture.paa";
or possibly
text = "\Mypbo\MyPicture.paa";
Planck