How to add fuel and flares?


(D-Eagle) #1

I need to get new chargebar or something for my jetpack. I also need help with adding flamethrower flames to come out of those “pipes” or whatever they are.
http://img95.imageshack.us/my.php?image=flames6fv.jpg


(FREAK!!!) #2

well i won’t use flamethrower flames, because they’re linked with damage.
it might be easier the use smoke from the special-ability grenades (like air support).
and so you don’t need the pay attation to the vector of flames.


(D-Eagle) #3

That’s a good idea…but i still need help doing this.


(Jaquboss) #4

lol : if you want fire , look at torches : just two crossed two-sided planes, flare can be square with autosprite shader or done with corona source…


(D-Eagle) #5

Huh…?


(Jaquboss) #6

well : Flames - do two crossed two-side planes and texture them with wills flame texture ( shouldnt be hard , just look in ET shaders to find it )
Smoke : you can simply use built in particle generators ( like barrel smoke for sten )
Flare : add there quad and texture it ,.use shader similar to this ( just change names )

ui/assets/bigglow
{
	polygonOffset
	deformVertexes autosprite
        {
                map ui/assets/bigglow.tga
                blendFunc GL_SRC_ALPHA  GL_ONE
        }
}

OR: use trap_R_AddCoronaToScene , dont forget about visibility checking
Whole rendering should use some information
well , you need to add something to check it…
for example pushing button will add EF_JETPACK flag for 2 seconds
and then render this stuff while you have that flag…


(D-Eagle) #7

Errhh… I still dont get it :S Can someone please do this to me?


(P4nth3r) #8

I think the flamer flame would be better (cause a flame causes damage if touched)
So, when you take of with your jetpack, you have to be carefull not to hurt your team mates.
But then you might have the problem that it can be used as a weapon (which might not be a bad thing)

Greetz Panther


(LION) #9

you could check for teammates and dont let the flame take damage on them


(D-Eagle) #10

But the problem is i dont know how to do add these flames