Garry's Mod

Garry's Mod

View Stats:
Hammer problem
Good evening, my doors in my map hammer, when I run my map, the doors are totally moved in any other direction, I put buttons for the activated if it can help you, thank you for helping me
< >
Showing 1-8 of 8 comments
lorjason34 Apr 6, 2019 @ 7:21pm 
Are you using a prop_door_rotating entity, func_door, or func_door_rotating?
If it's a func_door_rotating, make sure the origin point is set correctly as if you were to rotate a door. If it's a prop_door_rotating, use the door01_left model as I know that has special properties to be a functional door. Any other model will result in the door rotating by its center mass.

If it's func_door, make sure in move direction, the door slides correctly based upon your 2d views, the top view, front, and side. Experiment direction and use values like 90, 180, 270, and etc (you may need to use some trig if you're trying for a specific diagonal angle).
Hope this helps.
hello, I use the prop_door, on the game they are like his https://www.noelshack.com/2019-14-7-1554634331-unknown.png and the picture it's on Hammer https://www.noelshack.com/2019-14-7-1554634655-unknown.png
lorjason34 Apr 7, 2019 @ 2:57pm 
Toy around with the "move direction" in the properties to get the door to look correct, as for the origin, that should be in the center of the doors. From the screenshot, the entire thing looks like it was messed around with in the editor. Eventually, it will function correctly somehow.
I'll give you some examples for the move direction row, according to the top view in Hammer:

Move Direction (Pitch Yaw Roll): 0 0 0 - Moves to the right
Move Direction (Pitch Yaw Roll): 0 90 0 - Moves to the top
Move Direction (Pitch Yaw Roll): 0 180 0 - Moves to the left
Move Direction (Pitch Yaw Roll): 0 270 0 - Moves to the bottom
Move Direction (Pitch Yaw Roll): -90 0 0 - Moves up
Move Direction (Pitch Yaw Roll): 90 0 0 - Moves down

In game, when you stand in front of the doors:
1. Door will slide to the right
2. Door will slide forward, as if you were to push it.
3. Door will slide to the left.
4. Door will slide back towards you, as if it was trying to push you off.
5. Door will slide up, as if you were in a laboratory.
6. Door will slide down, as if a large solid gate would for an underground bunker.

Hope this helps.
Good evening, it did not work, but if you want I can you sent my door parameter and boutton, thank you for helping me!
lorjason34 Apr 8, 2019 @ 11:28am 
That's okay, but I won't download it. The only thing I can recommend now are these videos of how to make a door properly. I hope you invest your time to seeing these videos and starting them completely from scratch.
https://www.youtube.com/watch?v=D8rlcXdAgrs
https://www.youtube.com/watch?v=jYiNIVGpMB8
Chumbis20 Dec 21, 2019 @ 2:46pm 
If anyone needs a map done in hammer, i make maps any type. it doesn't matter how big.

If you have an questions about the price i do, Contact me!

Chumbis19#1870
Günther Müller May 4, 2023 @ 1:38pm 
In the actual version of the Hammer-Editor you have no blue circle to set the position for the Rotation-Point. On the Top-View of the door you need to switch into Mesh-Mode and than move th object to the left. Than the violett text "func_door_rotation" will not move with the mesh an the rotation-point turns from the middle to the right.
Günther Müller May 4, 2023 @ 1:45pm 
spawnflags check: toggle, Use Opens
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Apr 6, 2019 @ 11:34am
Posts: 8