Rotating wall

Avatar
KFredje
55 Posts
Posted Jun 04, 2012
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?

Advertisement
Registered users don’t see ads! Register now!
Avatar
Logic
298 Posts
Posted Jun 04, 2012
Replied 15 minutes later
Fail! I did not read the tread properly.

The other have answered it though...

Avatar
josepezdj
2,386 Posts
Posted Jun 04, 2012
Replied 6 minutes later
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.

Avatar
KFredje
55 Posts
Posted Jun 04, 2012
Replied 4 minutes later
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?
Avatar
Brainstone
401 Posts
Posted Jun 04, 2012
Replied 6 minutes later
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.

Avatar
KFredje
55 Posts
Posted Jun 04, 2012
Replied 1 minutes later
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 :smile:

Avatar
Vordwann
767 Posts
Posted Jun 04, 2012
Replied 22 minutes later
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.
Avatar
josepezdj
2,386 Posts
Posted Jun 04, 2012
Replied 4 minutes later
Well, first of all sorry, I mentioned that of hammer units, but for the func_door_rotating the "distance" is expressed in degrees indeed :biggrin:.

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!

Avatar
KFredje
55 Posts
Posted Jun 04, 2012
Replied 40 minutes later
You won't be pressing a button to rotate it only 5? :wink:

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 :sad:

But tnx for the help :smile:

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

Avatar
josepezdj
2,386 Posts
Posted Jun 04, 2012
Replied 25 minutes later

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

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 :sad:

But tnx for the help :smile:

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

... my God!...

Avatar
ChickenMobile
2,460 Posts
Posted Jun 04, 2012
Replied 7 hours later

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

Burn him! Burn him with fire!

Avatar
Paradoxic R3mix
87 Posts
Posted Jun 05, 2012
Replied 1 hour later
............................................____
....................................,.-'"...................~., .............................,.-"..................................."-., .........................,/...............................................":, .....................,?......................................................, .................../...........................................................,} ................./......................................................,:`^`..} .............../...................................................,:"........./ ..............?.....__.........................................:`.........../ ............./__.(....."~-,_..............................,:`........../ .........../(_...."~,_........"~,_....................,:`........_/ ..........{.._$;_......"=,_......."-,_.......,.-~-,},.~";/....} ...........((.....*~_......."=-._......";,,./`..../"............../ ...,,,___.`~,......"~.,....................`.....}............../ ............(....`=-,,.......`........................(......;_,,-" ............/.`~,......`-...................................../ .............`~.*-,.....................................|,./.....,__ ,,_..........}.>-._...................................|..............`=~-, .....`=~-,__......`,................................. ...................`=~-,,.,............................... ................................`:,,...........................`..............__ .....................................`=-,...................,%`>--==
...................................................,-%.......`
...................................,
Avatar
El Farmerino
393 Posts
Posted Jun 05, 2012
Replied 30 minutes later
:lol:
Avatar
Lpfreaky90
2,842 Posts
Posted Jun 05, 2012
Replied 5 hours later

chickenmobile wrote:
KFredje wrote:

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

Burn him! Burn him with fire!

world portals are often just a small gimic. Most maps would do fine without them. If you insist you can add one or two worldportals to your map but since they're quite buggy I would recommend you not to do that.

Avatar
msleeper
4,136 Posts
Admin
Posted Jun 06, 2012
Replied 18 hours later
I would use a momentary_rot_button, maybe a math_counter and a math_remap, and override the rot_button's angles using the SetPosition Input.

Paradoxic R3mix -
You realize we have an emote for that, right? We don't need your 4chan ascii bullshit.

:sigh:

Advertisement
Registered users don’t see ads! Register now!
Avatar
josepezdj
2,386 Posts
Posted Jun 06, 2012
Replied 43 minutes later

msleeper wrote:
We don't need your 4chan ascii bullshit.

:exclaim: