Moving Brushes

DucatiBon

L2: Junior Member
Jan 28, 2009
71
0
Hello BTW,

I'm working on my first map ever, and i was wondering, can brushwork (ie a gear i made) have dynamic properties....

For example, I have a clock tower and gears and a pole, The Pole is a cylinder,
the gear is made out of obviously a bunch of brushes, and i want them to move,
Iv looked at tutorials but there all for prop_phys entities, so I'm starting to think my dream isn't going to be possible in source engine, please prove me wrong.
:blushing:

EDIT: okay, well just searching around i saw the balloon map thread and then i remembered in that map, the balloons are brushes at least they look like they are. so i'm starting to feel a little more confident..
 
Last edited:

Sgt Frag

L14: Epic Member
May 20, 2008
1,443
710
This seems to be a topic that doesn't get discussed much.

What I do know, you can make brushes doors. Either sliding or rotating.

For arena_medieval I made gate doors (with spikes) that slide and a treasure chest (with round lid, lots of brushes) that rotates open.

To have a rotating door that never stops would work, but I don't know if it's possible. Don't have Hammer right here either.
I imgine with some tricky entity set-up you could start the door rotating on map start (easy), then the trick is to tell it to keep opening 360 degrees each time it finishes (if you can't make it rotate more than 360).
Would probably be better to rotate it 720 each time (send trigger half as much...) or more.
 

DucatiBon

L2: Junior Member
Jan 28, 2009
71
0
Yea, Im not really too knowledgeable when it comes to linking entities together.
you said making it start rotating on map start is easy, explain that to me, because that just might work.... since so far iv noticed NO limitation on the rotation degrees
 

Gadget

aa
Mar 10, 2008
531
527
To trigger something on map start you need to add an logic_auto (which you'll need anyway for HDR settings and more). Go to the Output tab of that logic_auto and add a new one that triggers your door "OnMapSpawn". For constantly rotating objects you better use the search function in the forum because we had a thread that covers how to do that (without doors) but I don't have the link right now.
 

Sgt Frag

L14: Epic Member
May 20, 2008
1,443
710
I'm sure someone else can explain that much better. I have used entities very little.

I think there's a round timer or something that triggers game start, or the spawn doors or something.

Add an output from that to the 'door'. That should trigger a rotation.

My problem with only using degrees even if it can turn 1 billion degrees, eventually it'll stop rotating. And who knows how long the game will go on.

That's why I think it needs to be more of a open X degrees, trigger something that in turn triggers the door rotation again. So maybe once per 5 minutes it stops and restarts.

Sorry I can't help more than that, someone more familiar with entities should be able to connect the dots for you.
 

DucatiBon

L2: Junior Member
Jan 28, 2009
71
0
Thanks I'll try out that tutorial when i get home from work,
as for now, expect to see alot of me asking questions, my first map is very ambitious
for someone just starting out (might not seem like the right thing to do but that's how i learn)