textures script
Posted: June 5th, 2011, 7:00 pm
someone can tell me how to change textures like at the end of monkeys_home?pls 

CoDJumper.com - For all your CoDJumping needs!
https://codjumper.com/forums/
AgreeNekoneko wrote:Could you explain that?
Now I'm interested
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;
}
}
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; } }
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