Scripting - Texture change

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
HDL_CinC_Dragon
Brigadier General
Posts: 574
Joined: Mon Dec 22, 2003 8:32 pm

Scripting - Texture change

Post 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.
Image
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post 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.
User avatar
HDL_CinC_Dragon
Brigadier General
Posts: 574
Joined: Mon Dec 22, 2003 8:32 pm

Post by HDL_CinC_Dragon »

its what im looking for thnx.... anyway to simplify it tho?... lol
Image
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post 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?!
User avatar
HDL_CinC_Dragon
Brigadier General
Posts: 574
Joined: Mon Dec 22, 2003 8:32 pm

Post 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.
Image
Post Reply