Page 1 of 1

Moving brushes with a twist!

Posted: June 4th, 2010, 10:25 am
by Rezil
A question: Is it possible to move brushes in one direction and cycle the texture in the other?

Re: Moving brushes with a twist!

Posted: June 4th, 2010, 10:29 am
by waywaaaard
with script or in radiant?

Re: Moving brushes with a twist!

Posted: June 4th, 2010, 10:30 am
by Rezil
With a script.

Re: Moving brushes with a twist!

Posted: June 4th, 2010, 10:41 am
by waywaaaard
Hm the move-functions can't be altered. I would suggest to do it yourself:

1. start the moving and thread a function that cycles the texture
2. when the movement is done notify the texture thread

function(){

brush thread texture();

brush moveX(...);
brush waittill("movedone")

notify("endtexture");
}

texture(){

self endon("endtexture");

while(1){
self moveTexture...;
}
}

Re: Moving brushes with a twist!

Posted: June 4th, 2010, 11:19 am
by Rezil
Yeah but is there a command that lets me move the actual texture on a brush? For now the only thing I can think of is having multiple brushes at the same spot with the texture a bit off in each one of them, moving the whole thing and hiding individual brushes to give a feeling of a moving texture.

Re: Moving brushes with a twist!

Posted: June 4th, 2010, 9:55 pm
by Drofder2004
CoD1 you could use animated textures, I believe it was removed in CoD2.

Re: Moving brushes with a twist!

Posted: June 4th, 2010, 11:28 pm
by megazor
if you want to make an animation, it is possible. that is not the way of using one animated texture. in detail, find my post: viewtopic.php?f=11&t=9599

Re: Moving brushes with a twist!

Posted: June 5th, 2010, 4:27 am
by Rezil
I know about using a bunch of brushes that's not how I want it done. It seems it's the only way tho.

Re: Moving brushes with a twist!

Posted: June 5th, 2010, 5:57 am
by Soviet
Like Drofder said, it was possible in CoD1 using a certain type of scripting, but I don't think it's possible in later CoDs due to the addition of the AssMan which automates the whole process.

Re: Moving brushes with a twist!

Posted: June 5th, 2010, 6:01 am
by Rezil
Soviet wrote:Like Drofder said, it was possible in CoD1 using a certain type of scripting, but I don't think it's possible in later CoDs due to the addition of the AssMan which automates the whole process.
Post number 6666. :O