Please or Register to create posts and topics.

Broken box dropper

Page 1 of 2Next

How can I make a box dropper that breaks?, I'm having troubles with the ragdolled arms, I'm trying doing stuff with prop_dynamic and animations but nothing seems to work, Is there a tutorial out there maybe, I couldn't find anything.
Thanks.

What I found working was the following:

Place the four arms and the four cover parts as they should. Make all the arms prop_dynamic and the cover parts prop_physics. Give the arms the same name, and the covers the same for each other but a different than the arms. Check the flag "motion disabled".

Place a trigger_multiple inside the tube, just over the box dropper.
When it's triggered, let it do the following:

Code: Select all
OnTrigger  [Cover Names]   Enable Motion                   0.00   Only Once
OnTrigger  [Arm Names]     SetDefaultAnimation   ragdoll   0.00   Only Once

For the cover models, you should probably experiment with the settings to get a good effect (I'm not sure about which flags to use). You might also wanna try the Start Asleep-flag instead of Motion Disabled, and then use a Wake-input, but that's all up to you to decide.
You could also time the trigger so that the cover first falls apart after some time, like it does in the game.

Note that this technique is not perfect (the physic box covers might hurt you), and I have no idea how they did this ingame. This is just how I once did it when I was experimenting in Hammer.

Image

"Duct Tape is the answer."
Ricotez wrote:
For the cover models, you should probably experiment with the settings to get a good effect (I'm not sure about which flags to use). You might also wanna try the Start Asleep-flag instead of Motion Disabled, and then use a Wake-input, but that's all up to you to decide.

Note that this technique is not perfect (the physic box covers might hurt you), and I have no idea how they did this ingame. This is just how I once did it when I was experimenting in Hammer.

The cover shouldn't hurt enough to kill. About the start asleep, I think this option is made to disable the automatic fall of the object on spawn, so then, on touch, the cover will automatically wake up. It's not start asleep you should use.

Made Logic Portals in early 2008. Making diportals in 2011.
Author of Minecraft mods (MAtmos, Minaptics, NoteSlider) and Garry's Mod addons (Gunstrumental, SharpeYe, GarryWare, DepthHUD).
Quote:
OnTrigger [Arm Names] SetDefaultAnimation ragdoll 0.00 Only Once

I did that before I posted this topic and it didn't worked, they arms just become straight and didn't moved.
Would you mind uploading a VMF with an example?

Well, of course they just become straight, but isn't that what you want? This is the way I did it and it didn't really bother me. To tell you the truth, I didn't really notice it.

Hmm... maybe you should try making them prop_ragdoll instead of prop_dynamic.

Image

"Duct Tape is the answer."
Quote:
Well, of course they just become straight

Well thats the point, I want them to be ragdoll , I also tried to kill the prop_dynamic and then spawn a prop_ragdoll using point_template, but again, It's really buggy.

Well, more than this I cannot help you with. Maybe you must make the arms prop_ragdoll, start out with default animation Idle, and once the trigger is triggered set the default animation to Ragdoll. You could also try to make them asleep or immobile untill the trigger is triggered, though I would do that together with the animations.

Image

"Duct Tape is the answer."

Why don't you decompile the original map to understand how it works ?
Shouldn't it supposed to be used for that ? (waw, lol @ that sentence)

Quote:
Well, more than this I cannot help you with. Maybe you must make the arms prop_ragdoll, start out with default animation Idle, and once the trigger is triggered set the default animation to Ragdoll. You could also try to make them asleep or immobile untill the trigger is triggered, though I would do that together with the animations.

Did it before, didn't worked. :)
NykO18, I don't have a decompiler and I don't want get one and everything just for that. :? [/code]

Hen7 wrote:
NykO18, I don't have a decompiler and I don't want get one and everything just for that. :?

Yeah, I can understand that a 55 KB download is really painful, lol.
:roll:

Page 1 of 2Next