Broken everything [SOLVED]
also I'm trying to make a glass shatter effect
Thanks that worked perfectly
@MasterLagger
Actually, I mean't the door that still has the stick figure, but the only one side opens and sparks fly( env_spark or something like that)
Vordwann wrote:
I think you're going to need an env_spark and a prop_dynamic with the door model that has a timer randomly triggering the broken close/open animation.
Ok, I'll try
Edit: nope, no animation in the prop_dynamic (testchamber_door) that shows only one side opening, only open and close
MasterLagger wrote:
The one I said is the one with the one side opening. Look for a door in prop_dynamic with a gray stick figure. Right side of the door only opens with that particular model.
Yes, you are correct, but the prop doesn't have animation, just idle, how do you make it move?
Or you can use the "models\props\portal_door_bits_" models and move them manually. And yeah, accompany the effect with an env_spark.
EDIT: are you looking at the same thing we are? For example, "models\props\portal_door.mdl" is full of animations, ii isn't idle.
Random wrote:
Both the greyed out and regular door models has an animation that only opens/closes the right side. It's called rightopen/rightclose. Nothing for the left side, though.
Or you can use the "models\props\portal_door_bits_" models and move them manually. And yeah, accompany the effect with an env_spark.
Really, I never seen it, hmm, maybe I never notice it? Anyway, I'll check
BTW: The reason why I suggested the "gray" door is that it would fit your "broken" theme. But use whatever door you want, no pressure.
MasterLagger wrote:
Just took another look through Hammer, it seems certain doors have the "rightopen" animation with it. Not sure if the prop_testchamber_door has it.
Yes, I found a model that has rightopen, but it is not the ones that have a stick figure or a grayed out one
I actually like the stick figure because It gives you a light.
-Make a door that's composed of three prop_dynamics, all with "portal_door_bits" in the name (so search for that in the model browser): the frame, the left door, and the right door (which will open). Even though the frame and left door won't move, they still have to be prop_dynamic as they won't render if they're set to prop_static.
-Make a func_door occupying a space the same size or smaller than the inner half of the opening door (if it is much larger than this, the door may move too far for your liking), setting the move direction to be towards the direction you want the door to open - into the wall, most likely. Be sure to turn up the move speed - I'm using 300 while testing these steps, and that seems pretty good. Make sure to set the render mode to "Don't Render" to make it invisible.
-Name the func_door something, and set the "Parent" parameter for the moving door prop to the name of your func_door.
-Make a logic_timer that's set to fire at random intervals, and set the min/max random time to a reasonable range of time to have your door flying open/closed (e.g. 0.2 seconds min, 0.8 seconds max - it will open and close at random intervals between 0.2 and 0.8 seconds).
-Have the timer send an output OnTimer to a logic_branch telling it to "ToggleTest."
-On the logic_branch, tell it to open the func_door OnTrue and close it OnFalse.
-Use an env_spark to make the spark effect.
Hope that helps! I built a quick test map using these steps, and it seems to work fine for me.
Play around with it, see if you can make it better suited to your specific needs.
Will T. wrote:
Try the following:-Make a door that's composed of three prop_dynamics, all with "portal_door_bits" in the name (so search for that in the model browser): the frame, the left door, and the right door (which will open). Even though the frame and left door won't move, they still have to be prop_dynamic as they won't render if they're set to prop_static.
-Make a func_door occupying a space the same size or smaller than the inner half of the opening door (if it is much larger than this, the door may move too far for your liking), setting the move direction to be towards the direction you want the door to open - into the wall, most likely. Be sure to turn up the move speed - I'm using 300 while testing these steps, and that seems pretty good. Make sure to set the render mode to "Don't Render" to make it invisible.
-Name the func_door something, and set the "Parent" parameter for the moving door prop to the name of your func_door.
-Make a logic_timer that's set to fire at random intervals, and set the min/max random time to a reasonable range of time to have your door flying open/closed (e.g. 0.2 seconds min, 0.8 seconds max - it will open and close at random intervals between 0.2 and 0.8 seconds).
-Have the timer send an output OnTimer to a logic_branch telling it to "ToggleTest."
-On the logic_branch, tell it to open the func_door OnTrue and close it OnFalse.
-Use an env_spark to make the spark effect.Hope that helps! I built a quick test map using these steps, and it seems to work fine for me.
Play around with it, see if you can make it better suited to your specific needs.
Wow, great tut!