FOnline Development > Questions and Answers

looking for fofrm examples.

(1/1)

Slowhand:
I want to see a fofrm file that has more than 1 frames (I got one from Cirn0) but also one that has X and Y offsets between each frame. Or at least I want to know if that exists and if so, then how is it used.

I checked 2238, it has only static (1 frame) fofrm animations, reloaded and fo2 the same results.

I want to know this, bc want to include the format into my frame viewer, which topic can be found at share work /tools.

Example:


--- Code: ---fps=30
count=9

offs_x=0
offs_y=25

[dir_0]
frm_0=NE0.png
frm_1=NE1.png

[dir_1]
frm_0=E0.png
frm_1=E1.png

[dir_2]
frm_0=SE0.png
frm_1=SE1.png

[dir_3]
frm_0=SW0.png
frm_1=SW1.png

[dir_4]
frm_0=W0.png
frm_1=W1.png

[dir_5]
frm_0=NW0.png
frm_1=NW1.png
--- End code ---

So my question is: can the NE0.png and NE1.png have different offsets? If so, what is the syntax? I just simply add a offs_x=, offs_y= , between the 2 images?

FrankenStone:
i dont think that they can have different offset, anyway for what would you need different offset within one object oO

Slowhand:

--- Quote from: FrankenStone on August 03, 2016, 11:13:54 pm ---i dont think that they can have different offset, anyway for what would you need different offset within one object oO

--- End quote ---

The FRM format uses different offset for each frame (well, not always, but most of the time)
What I need this information for, is to make the FOFRM format handling generic, so it can handle it, if anyone starts to use it. So far no one does, or at least there is no example in 2238, Reload, FO2 databases.

Skycast:
http://fonline.ru/forum/threads/1790/
I think you can easy understand, if something feel free to ask.

Slowhand:

--- Quote from: Skycast on August 04, 2016, 08:43:32 am ---http://fonline.ru/forum/threads/1790/
I think you can easy understand, if something feel free to ask.

--- End quote ---

Ty, I think this solved my issue.

Navigation

[0] Message Index

Go to full version