Other > Tools and Modifications
.PNG for sprite overwrite
Theta:
Hello, I'm trying to use .png files instead of .frm files to overwrite inventory sprites. I made a uzi.png along with a uzi.fofrm in "[Fonline directory]\data\art\inven" to replace the 10mm smg. It doesn't work, however. Just to make sure I was doing everything right, I converted the uzi.png to uzi.frm file and without any extra modification, it worked in the fonline client. Am I doing something wrong? If I use a .fofrm it will overwrite the original .frm files of the same name, right? Here's what I have in my uzi.fofrm:
--- Code: ---fps=10
count=1
offs_x=0
offs_y=0
[dir_0]
frm_0=UZI.PNG
--- End code ---
On top of this, I have another question about using .png instead of .frm. Right now my uzi.png uses the fallout pallete and "pure blue" as transparency. The .png files in the later faction004.zip don't use the fallout pallete, so they're higher resolution, and it also uses regular .png transparency instead of using "pure blue" for determining transparency. Is it possible to use .png files like this for replacing the old .frm files? That would make .png file replacements far superior imo since it's a much better transparency method.
Any help is appreciated, thanks.
Surf:
--- Quote from: Theta on August 17, 2011, 09:55:15 pm ---
On top of this, I have another question about using .png instead of .frm. Right now my uzi.png uses the fallout pallete and "pure blue" as transparency. The .png files in the later faction004.zip don't use the fallout pallete, so they're higher resolution, and it also uses regular .png transparency instead of using "pure blue" for determining transparency. Is it possible to use .png files like this for replacing the old .frm files? That would make .png file replacements far superior imo since it's a much better transparency method.
Any help is appreciated, thanks.
--- End quote ---
The engine "eats" native .png transparency just fine, yes. You don't need to set the blue stuff in those files.
Doctor Eex:
AFAIK engine will not use *.fofrm instead of *.frm automatically
Theta:
Ah. In that case, how do I tell it to use those files?
Crazy:
Go to FO2238config.exe, Data Files.
Navigation
[0] Message Index
[#] Next page
Go to full version