
textures script
Moderator: Core Staff
-
- CJ Spammer!
- Posts: 605
- Joined: March 7th, 2011, 5:54 pm
- Location: Brescia, Italy
-
- CJ Fan
- Posts: 170
- Joined: April 18th, 2011, 3:48 pm
Re: textures script
changing textures would be awesome, it might work with a fx changing decal,
but Im pretty sure its just moving textured brushes.
So just take some brush_models and keep moving them in an infinite loop
but Im pretty sure its just moving textured brushes.
So just take some brush_models and keep moving them in an infinite loop
-
- CJ Worshipper
- Posts: 414
- Joined: July 22nd, 2009, 3:02 am
- Location: Russia, Vladivostok
Re: textures script
it would be better to have just one brushmodel made out of multiple frame-brushes.
-
- CJ Fan
- Posts: 170
- Joined: April 18th, 2011, 3:48 pm
Re: textures script
Could you explain that?
Now I'm interested
Now I'm interested

-
- CJ Spammer!
- Posts: 605
- Joined: March 7th, 2011, 5:54 pm
- Location: Brescia, Italy
-
- CJ Fan
- Posts: 132
- Joined: January 17th, 2010, 9:26 pm
- Location: Germany/Bavaria
- Contact:
Re: textures script
i used brushes with different textures.
Code: Select all
texture_switch()
{
brush_1 = getent("brush_1",targetname");
brush_2 = getent("brush_2",targetname");
while(1)
{
brush_1 hide();
brush_2 show();
wait 5;
brush_1 show();
brush_2 hide();
wait 5;
}
}
-
- CJ Spammer!
- Posts: 605
- Joined: March 7th, 2011, 5:54 pm
- Location: Brescia, Italy
Re: textures script
oh my god u proOi!mel wrote:i used brushes with different textures.
Code: Select all
texture_switch() { brush_1 = getent("brush_1",targetname"); brush_2 = getent("brush_2",targetname"); while(1) { brush_1 hide(); brush_2 show(); wait 5; brush_1 show(); brush_2 hide(); wait 5; } }
ah and good job for monkeys home...for me the best map ever done

-
- CJ Worshipper
- Posts: 414
- Joined: July 22nd, 2009, 3:02 am
- Location: Russia, Vladivostok
Re: textures script
that way is good but i had 200 frames for my movie, so having a single brushmodel was the best choice.
i wrote a post a year ago, read it through:
http://codjumper.com/forums/viewtopic.p ... 69#p125669
i wrote a post a year ago, read it through:
http://codjumper.com/forums/viewtopic.p ... 69#p125669
-
- CJ Spammer!
- Posts: 605
- Joined: March 7th, 2011, 5:54 pm
- Location: Brescia, Italy
Re: textures script
thx megazor but i used oimel's code...i think it's easier than ur(i'm little noob with with script)megazor wrote:that way is good but i had 200 frames for my movie, so having a single brushmodel was the best choice.
i wrote a post a year ago, read it through:
http://codjumper.com/forums/viewtopic.p ... 69#p125669

