Moving brushes with a twist!

Have questions about CoD2 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Moving brushes with a twist!

Post by Rezil » June 4th, 2010, 10:25 am

A question: Is it possible to move brushes in one direction and cycle the texture in the other?
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

User avatar
waywaaaard
Core Staff
Core Staff
Posts: 2214
Joined: February 6th, 2006, 3:18 pm
Location: Germany/Bayern

Re: Moving brushes with a twist!

Post by waywaaaard » June 4th, 2010, 10:29 am

with script or in radiant?
THAT HANDS WERE NOT TRACED!
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality :roll:

User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Re: Moving brushes with a twist!

Post by Rezil » June 4th, 2010, 10:30 am

With a script.
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

User avatar
waywaaaard
Core Staff
Core Staff
Posts: 2214
Joined: February 6th, 2006, 3:18 pm
Location: Germany/Bayern

Re: Moving brushes with a twist!

Post by waywaaaard » June 4th, 2010, 10:41 am

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...;
}
}
THAT HANDS WERE NOT TRACED!
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality :roll:

User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Re: Moving brushes with a twist!

Post by Rezil » June 4th, 2010, 11:19 am

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.
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Moving brushes with a twist!

Post by Drofder2004 » June 4th, 2010, 9:55 pm

CoD1 you could use animated textures, I believe it was removed in CoD2.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

megazor
CJ Worshipper
CJ Worshipper
Posts: 414
Joined: July 22nd, 2009, 3:02 am
Location: Russia, Vladivostok

Re: Moving brushes with a twist!

Post by megazor » June 4th, 2010, 11:28 pm

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

User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Re: Moving brushes with a twist!

Post by Rezil » June 5th, 2010, 4:27 am

I know about using a bunch of brushes that's not how I want it done. It seems it's the only way tho.
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

Soviet
Core Staff
Core Staff
Posts: 7760
Joined: April 23rd, 2005, 9:12 pm
Location: Plano, Texas
Contact:

Re: Moving brushes with a twist!

Post by Soviet » June 5th, 2010, 5:57 am

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.
Image
ImageImageImage
Image
"Zaitsev is a cunt." - Pedsdude

User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Re: Moving brushes with a twist!

Post by Rezil » June 5th, 2010, 6:01 am

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
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

Post Reply

Who is online

Users browsing this forum: No registered users and 40 guests