Page 1 of 1

Scripting - Texture change

Posted: Fri Jan 07, 2005 1:13 am
by HDL_CinC_Dragon
Is it possible to make a brush change textures? i know you can make em scroll but i dont want that lol.

Posted: Fri Jan 07, 2005 1:34 am
by wacko

Code: Select all

textures/movie/king01
{
	qer_editorimage textures/movie/king01.tga
	surfaceparm nomarks
	surfaceparm wood
	q3map_lightimage textures/shopp/movie/king01.tga
	q3map_surfacelight 100
	cull none
	{
		animmap 5 textures/movie/king01.tga textures/movie/king02.tga textures/movie/king03.tga textures/movie/king04.tga textures/movie/king03.tga textures/movie/king02.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
} 
for example does change the texture. is this what u need? like a movie? 'animmap 5 texture1 texture2' does change from texture1 to texture2 and again, i think 5 pics/second.

Posted: Fri Jan 07, 2005 1:55 am
by HDL_CinC_Dragon
its what im looking for thnx.... anyway to simplify it tho?... lol

Posted: Fri Jan 07, 2005 2:25 am
by wacko
[HDL]-{Gen} Dragon wrote:any way to simplify it tho?
u could send me the images u want to use and I'll do it 4u :wink: That would be quite simplified?!

Posted: Fri Jan 07, 2005 3:25 am
by HDL_CinC_Dragon
... thatd work lol... i forget what i wanted it to be................. lol, ill come to you if it ever comes into mind lol.