FOnline Development > Questions and Answers

Modding - Alpha transparency; AP & Button Sprites

(1/1)

phatskat:
So, I'm working on some interface mods to bring in more of a "New Vegas" UI feel and I had a couple questions:

#1 - Transparency: So, pure blue is transparent. Is there any "crossfade" supported in the engine? Currently, I'm getting something like this:

As you can see, the borders fade to a blue-ish color. Is it possible to use a "true" transparent layer for PNG to fix this?

#2 - Button and AP counter sprite locations. I tried leftbutton_on and rightbutton_on, as well as smallbutton_on and none of them seem to affect any of the buttons in the UI for the "on" state. Also, I have no idea where the green AP dots come from.

Any help would be appreciated.

John Porno:
fonline uses png just fine, alpha channel fully supported, no need to apply the fallout palette. For the interface, you should be able to handle everything with just png's or fofrm's where needed. fofrm's are simple textfiles that save the extra information a .frm would save, like the number of frames. You would find some examples in the sdk.

Wipe:

--- Quote from: phatskat on December 13, 2013, 05:21:22 pm ---I have no idea where the green AP dots come from

--- End quote ---
Wasn't it IntApGreenPic?

phatskat:

--- Quote ---Wasn't it IntApGreenPic?
--- End quote ---

I don't see that in the art folder...or in the unpacked reloaded0001.zip in general. That and the button depressed sprites elude me, me I'll keep digging after work. Oh, and as far as transparency...I haven't been able to get it to work with pure PNG transparency - it still fades to blue. Edit: Nevermind. Someone didn't zip things up properly...

Wipe:

--- Quote from: phatskat on December 16, 2013, 04:04:15 pm ---I don't see that in the art folder...or in the unpacked reloaded0001.zip in general.

--- End quote ---
It's a property in default.ini/faction.ini which by default points to .frm file packed inside master.dat.

Navigation

[0] Message Index

Go to full version