Aligning func_brushes
Quote from Dafflewoctor on June 22, 2013, 7:13 pmSo I'm using wall panels for a map, but it's a Wheatley chamber so they're all misaligned and angular. I'm struggling to get func_brushes flush against the panels because of this. Is there any easy way to do this besides dragging it with the circles on the different views?
So I'm using wall panels for a map, but it's a Wheatley chamber so they're all misaligned and angular. I'm struggling to get func_brushes flush against the panels because of this. Is there any easy way to do this besides dragging it with the circles on the different views?
Quote from srs bsnss on June 23, 2013, 5:53 amDo you mean that it's hard to align the brushes to the panel faces because the panels have destroyed animations? Well, I happen to have written a guide on that on the VDC: https://developer.valvesoftware.com/wik ... rup_Panels
Your animations may vary, but the main idea is using "idleend" animations in Hammer. The idle powerup animations are horribly off-grid in Hammer, and are therefore impossible to correctly parent the brush to. By using this method, you can align the brush to the panel face in Hammer on-grid, but when the map spawns, it will move into an idle powerup animation, with the brush perfectly parented.
Do you mean that it's hard to align the brushes to the panel faces because the panels have destroyed animations? Well, I happen to have written a guide on that on the VDC: https://developer.valvesoftware.com/wik ... rup_Panels
Your animations may vary, but the main idea is using "idleend" animations in Hammer. The idle powerup animations are horribly off-grid in Hammer, and are therefore impossible to correctly parent the brush to. By using this method, you can align the brush to the panel face in Hammer on-grid, but when the map spawns, it will move into an idle powerup animation, with the brush perfectly parented.
Quote from Brainstone on June 23, 2013, 6:36 amHm. Correct me if I'm wrong, but I always thought, when you
1. chose "setParentAttachment" instead "setParentAttachmentMaintainOffset" with a logic_auto
and 2. place the brushes NOT on the arms but aligned in the wall (sometimes 90? rotated)
and 3. chose any idle animation as default animationyou would get a thing that works. In fact, I'm very sure I've done that before.
(That would mean Skotty said it just the worng way around)
Hm. Correct me if I'm wrong, but I always thought, when you
1. chose "setParentAttachment" instead "setParentAttachmentMaintainOffset" with a logic_auto
and 2. place the brushes NOT on the arms but aligned in the wall (sometimes 90? rotated)
and 3. chose any idle animation as default animation
you would get a thing that works. In fact, I'm very sure I've done that before.
(That would mean Skotty said it just the worng way around)
Quote from srs bsnss on June 23, 2013, 6:56 amBrainstone wrote:Hm. Correct me if I'm wrong, but I always thought, when you1. chose "setParentAttachment" instead "setParentAttachmentMaintainOffset" with a logic_auto
and 2. place the brushes NOT on the arms but aligned in the wall (sometimes 90? rotated)
and 3. chose any idle animation as default animationyou would get a thing that works. In fact, I'm very sure I've done that before.
(That would mean Skotty said it just the worng way around)Actually, yeah, I'm pretty sure that works as well. Personally, I prefer my method because I feel like it's more organized, but whatever floats your boat I guess.
1. chose "setParentAttachment" instead "setParentAttachmentMaintainOffset" with a logic_auto
and 2. place the brushes NOT on the arms but aligned in the wall (sometimes 90? rotated)
and 3. chose any idle animation as default animation
you would get a thing that works. In fact, I'm very sure I've done that before.
(That would mean Skotty said it just the worng way around)
Actually, yeah, I'm pretty sure that works as well. Personally, I prefer my method because I feel like it's more organized, but whatever floats your boat I guess.
Quote from Dafflewoctor on June 23, 2013, 9:00 amI'm not sure if you people are misunderstanding me or if I'm misunderstanding you. I'm using idle animations for these panels and they aren't moving, so I don't think it's a problem with parenting. It's just very very difficult to drag the brushes to the perfect angle against the wall panel using the circles and double clicking it.
Also, the anim_wproom_transformarm64x64_interior_animation isn't showing up in the model browser or in Hammer at all. The file is in the model browser but when I click on it it just shows an empty grid where the model should be. It even shows all the animations under the sequence tab.
I'm not sure if you people are misunderstanding me or if I'm misunderstanding you. I'm using idle animations for these panels and they aren't moving, so I don't think it's a problem with parenting. It's just very very difficult to drag the brushes to the perfect angle against the wall panel using the circles and double clicking it.
Also, the anim_wproom_transformarm64x64_interior_animation isn't showing up in the model browser or in Hammer at all. The file is in the model browser but when I click on it it just shows an empty grid where the model should be. It even shows all the animations under the sequence tab.
Quote from zivi7 on June 23, 2013, 9:08 amNot sure if I understand the problem. Do you mean you have the panels as static models and placed them in an angle already so that now you are struggling to get func_brushes on them in the same angle?
If so, next time first leave the panel straight, create the func_brush and then select both to drag them in the angle you want.
Not sure if I understand the problem. Do you mean you have the panels as static models and placed them in an angle already so that now you are struggling to get func_brushes on them in the same angle?
If so, next time first leave the panel straight, create the func_brush and then select both to drag them in the angle you want.
Quote from Brainstone on June 23, 2013, 9:31 amJust follow srs bsnss' tutorial on the bottom of the VDC page and leave out step 4. (the logic relay) and you should be fine. As for the model browser: You could your viewset have at strange angles. Try rightclicking+dragging to zoom in/out and leftclicking + dragging to change angles.
Just follow srs bsnss' tutorial on the bottom of the VDC page and leave out step 4. (the logic relay) and you should be fine. As for the model browser: You could your viewset have at strange angles. Try rightclicking+dragging to zoom in/out and leftclicking + dragging to change angles.
Quote from Dafflewoctor on June 23, 2013, 10:56 am@Zivi7: I can't believe I didn't think of that, yes you understood the problem.
@Brainstone: I tried changing the angles and zooming in and out with no avail. Also, when I set this panel to the world model and place it in the world, it appears invisible. I can move it around, but it just appears invisible.
@Zivi7: I can't believe I didn't think of that, yes you understood the problem.
@Brainstone: I tried changing the angles and zooming in and out with no avail. Also, when I set this panel to the world model and place it in the world, it appears invisible. I can move it around, but it just appears invisible.

Quote from josepezdj on June 23, 2013, 1:25 pmDr.Toaster Waffles wrote:Also, the anim_wproom_transformarm64x64_interior_animation isn't showing up in the model browser or in Hammer at all. The file is in the model browser but when I click on it it just shows an empty grid where the model should be. It even shows all the animations under the sequence tab.Man, the animation models aren't intended to be used in game, they are simply the animations of a model, you should be using the model arm64x64_interior instead
Man, the animation models aren't intended to be used in game, they are simply the animations of a model, you should be using the model arm64x64_interior instead