Page 1 of 1
flip image script????
Posted: Mon Oct 16, 2006 11:05 am
by chrisredfield003
is it possible to flip a skin or image thru scripting
i made a jetpack kind of mod i added fire coming
form one of the tubes and the fire should be upside down
since i turned the model of the fire upsidedown..........but sadly thats not the case so my question is thru scripting it should be possible to flip a texture
for example like this
without having to go thru all 25 images of the fire and manualy turning them myself and than having to make a totaly new fire script of my own and all the steps of manualy doing that...........
Posted: Mon Oct 16, 2006 11:11 am
by jv_map
tcMod scale 1.0 -1.0
In the shader (inside a texture stage)
Oh btw many graphic programs (even
free ones) come with batch processing tools that can perform the same operation on many images in no time.
Posted: Mon Oct 16, 2006 1:17 pm
by chrisredfield003
i notice alot of scripts are asked to be fixed here but rarely is it understood or fixed first post after question so ill get my script here in a sec and hopefuly u can take a look......
flip image script????
Posted: Mon Oct 16, 2006 1:25 pm
by chrisredfield003
fire_front
{
qer_editorimage textures/effects/flamer_01.tga
nopicmip
nomipmaps
deformVertexes autosprite
cull none
{
animMapPhase 15 0 textures/effects/flamer_01.tga textures/effects/flamer_02.tga textures/effects/flamer_03.tga textures/effects/flamer_04.tga textures/effects/flamer_05.tga textures/effects/flamer_06.tga textures/effects/flamer_07.tga textures/effects/flamer_08.tga textures/effects/flamer_09.tga textures/effects/flamer_10.tga textures/effects/flamer_11.tga textures/effects/flamer_12.tga textures/effects/flamer_13.tga textures/effects/flamer_14.tga textures/effects/flamer_15.tga textures/effects/flamer_16.tga textures/effects/flamer_17.tga textures/effects/flamer_18.tga textures/effects/flamer_19.tga textures/effects/flamer_20.tga textures/effects/flamer_21.tga textures/effects/flamer_22.tga textures/effects/flamer_23.tga textures/effects/flamer_24.tga textures/effects/flamer_25.tga
blendfunc add
}
}
thats the script that needs to be fliped
obviously im gonna change the directories and scriptname to w/e but the actual texture stage that i need to add wher to add it =/
Posted: Mon Oct 16, 2006 2:09 pm
by chrisredfield003
to give another idea of what im looking for
that flame is a model and no matter wichway i turn the model itself the image keeps coming up right side up =/
what i need is for the textures to show up upside down =/
Posted: Mon Oct 16, 2006 2:22 pm
by jv_map
Hehe nice pic.. gonna have to sit on blisters now
Does
Code: Select all
fire_front
{
qer_editorimage textures/effects/flamer_01.tga
nopicmip
nomipmaps
deformVertexes autosprite
cull none
{
animMapPhase 15 0 ...blablabla... :P
tcMod scale 1.0 -1.0
blendfunc add
}
}
do what you want?
Posted: Mon Oct 16, 2006 2:36 pm
by chrisredfield003
jeez u fixed it first try ^^ you saved me from having to make....
1.3 new scripts
2.touch up 25 diffrent img's
3.new texture foldier
basicly saved me from a whole mess of work ^^ ty much
Posted: Mon Oct 16, 2006 2:59 pm
by chrisredfield003
i got the effect i was looking for thanks to you
its not as clean as it will be but this is the basic idea of the gearmodel.
Posted: Mon Oct 16, 2006 5:17 pm
by Green Beret
Nice MoD

Posted: Mon Oct 16, 2006 11:42 pm
by GiffE1118
chrisredfield003 wrote:to give another idea of what im looking for
that flame is a model and no matter wichway i turn the model itself the image keeps coming up right side up =/
what i need is for the textures to show up upside down =/
Beans?
why is his ass on fire
new pic looks nice u should add another fire to the send one.
Posted: Mon Oct 16, 2006 11:52 pm
by chrisredfield003
yup the second pic is just showing i got my small problem out of the way it
was causing a creators block LoL
how the fire has perfect placing and thers been model added to the pack
the jet is in its rough draft steps just gettin the basic idea together befor i put
a decent model together
i have more to come tomorow im not dead yet ^^