Rotating wall
Quote from KFredje on June 4, 2012, 2:18 pmHi,
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?
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?
Quote from Logic on June 4, 2012, 2:34 pmFail! I did not read the tread properly.
The other have answered it though...
Fail! I did not read the tread properly.
The other have answered it though...

Quote from josepezdj on June 4, 2012, 2:40 pmWouldn'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.
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.
Quote from KFredje on June 4, 2012, 2:44 pmThis 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?
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?
Quote from Brainstone on June 4, 2012, 2:51 pmCreate 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.
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.
Quote from KFredje on June 4, 2012, 2:53 pmIf 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
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
Quote from Vordwann on June 4, 2012, 3:15 pmThis 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.
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.
[spoiler][SP] Alternate[/spoiler]

Quote from josepezdj on June 4, 2012, 3:19 pmWell, first of all sorry, I mentioned that of hammer units, but for the func_door_rotating the "distance" is expressed in degrees indeed
.
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!
Well, first of all sorry, I mentioned that of hammer units, but for the func_door_rotating the "distance" is expressed in degrees indeed .
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:
Indeed btw!
Quote from KFredje on June 4, 2012, 4:00 pmYou 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?
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?

Quote from josepezdj on June 4, 2012, 4:26 pmKFredje 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!...

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!...