Please or Register to create posts and topics.

Rotating wall

Page 1 of 2Next

Hi,

What I'm looking for is this:

Press a button and a wall turns 5?. Press the button again and the wall will turn again 5?. So in total it has turned 10? now, and so on. Is this possible?

Fail! I did not read the tread properly.

The other have answered it though...

Never use Logic to solve a puzzle, he's an idiot...

Wouldn't it be easier to simply make a wall brush tied to a func_door_rotatig plus 2 buttons?

Door settings should be set so the door moves the desired distance (in hammer units, not really degrees) and the value "-1" in "Delay before reset". Then the first button will send the output "open", and the other one will also fire the "open" output.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

This sounds like a ideal solution. It's just, I want it to rotate in steps of 5 the full 180?...so this will be a lot of work and won't the game start lagging with all these components?

Create a white brush, tie it to a func_rotating.
The speed of this func_rotating must be set to a certain number, a good one would be 5 degrees per second.
Now add a button, that has the following outputs:
-OnPressed-->func_rotating-->start -delay:0
-OnPressed-->func_rotating-->stop -delay:1 (To be exactly: The delay is (5 degrees) div (rotating speed))

The button has to have the reset time 1 second then of course. (Is the default value, so don't worry about this)

If you want to stop the door after being rotated 180 degrees, you need a math_counter, which disables the button on Hit Max, where Max equals 36.

The Aperture Alpha
A map pack coming soon. - click for more information
Image

If I go for the idea with the func_door_rotatig entities, is it possible to make these NOT solid?

Found there is a Flag "Non-solid to player", so it's fixed :)

This sounds really aggravating... the 5 degree rotations and all. If the player has to make it turn only 5 degrees every time they manually press a button... that's very annoying.

My Maps:
[spoiler][SP] Alternate[/spoiler]

Well, first of all sorry, I mentioned that of hammer units, but for the func_door_rotating the "distance" is expressed in degrees indeed :D.

If you want to make it not solid the easiest way is to use a func_brush with solidity set to "never solid" though. Then parent it to a func_rot_button (which is invisible to the player). Yeah, try that.

EDIT:

Vordwann wrote:
This sounds really aggravating... the 5 degree rotations and all. If the player has to make it turn only 5 degrees every time they manually press a button... that's very annoying.

Indeed btw!

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

You won't be pressing a button to rotate it only 5? ;)

But the thing I wanted to do appeared to fail...to many triggers (over 36 on a single map appear to be too much and the lightning got glitchy and triggers weren't working anymore...too bad :(

But tnx for the help :)

Also, it ain't possible to view trough more then 3-5 world portals at once?

KFredje wrote:
You won't be pressing a button to rotate it only 5? ;)

But the thing I wanted to do appeared to fail...to many triggers (over 36 on a single map appear to be too much and the lightning got glitchy and triggers weren't working anymore...too bad :(

But tnx for the help :)

Also, it ain't possible to view trough more then 3-5 world portals at once?

... my God!...

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
Page 1 of 2Next