Can't get my custom fire animation to work just right
BeigeAlert
Texas Join Date: 2013-08-08 Member: 186657Members, Super Administrators, Forum Admins, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, NS2 Map Tester, Reinforced - Diamond, Reinforced - Shadow, Subnautica Playtester, Pistachionauts
Texas Join Date: 2013-08-08 Member: 186657Members, Super Administrators, Forum Admins, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, NS2 Map Tester, Reinforced - Diamond, Reinforced - Shadow, Subnautica Playtester, Pistachionauts
So I've painstakingly made a custom fire sheet of my own, here:
And this is what I get in the cinematic editor:
My "CookFire.material" file is as follows:
And my "CookFire.material.polygons" file is like this:
...and that large section beginning with "row" repeats for a total of 16 entries, each, where row is 0, and col is the frame number starting at 0.
I'm really puzzled here, because all I really did was just copy what UWE did with their fireball vfx materials.
Does anybody know what it is I'm doing wrong?
EDIT: Let me point out that in that second screenshot, the texture IS animating... just not properly... (ie it's NOT a static image, so it's obviously got it figured out as much that I'd like it animated, it just doesn't know how to go about it.)

And this is what I get in the cinematic editor:

My "CookFire.material" file is as follows:
shader = "cinematics/vfx_materials/Emissive_glow.surface_shader" numFrames = 16 frameRate = 24 emissiveMap = "materials/beige/CookFire.dds"
And my "CookFire.material.polygons" file is like this:
vertsPerPoly = 6
atlasCols = 16
atlasRows = 1
polygons = [
{
row = 0
col = 0
vertices = [
0.000000 0.000000
1.000000 0.000000
1.000000 1.000000
0.000000 1.000000
0.000000 1.000000
0.000000 1.000000
]
}
...and that large section beginning with "row" repeats for a total of 16 entries, each, where row is 0, and col is the frame number starting at 0.
I'm really puzzled here, because all I really did was just copy what UWE did with their fireball vfx materials.
Does anybody know what it is I'm doing wrong?
EDIT: Let me point out that in that second screenshot, the texture IS animating... just not properly... (ie it's NOT a static image, so it's obviously got it figured out as much that I'd like it animated, it just doesn't know how to go about it.)
Comments