How do I yank a ragdoll out of view (Fix'd, solution inside)

Any aspects of level design for the Source engine.

How do I yank a ragdoll out of view (Fix'd, solution inside)

Postby boj on Sun Jan 12, 2014 7:33 pm

Sorry for the thread spam... I was just wondering how I would solve this problem:

What I have is a corpse in a vent and I want it to be pulled round the corner but I have no idea how to do it... I tried everything from parenting it to a door to using a muscle to using balljoints.
Whatever I tried just made the ragdoll sort of jiggle a little.

Does anyone know how to do this?

A picture of the corpse in question:
Image
Last edited by boj on Mon Jan 13, 2014 5:23 pm, edited 1 time in total.
User avatar
boj
Member
Member
 
Joined: Mon Dec 30, 2013 12:12 am

Re: How do I yank a ragdoll out of view?

Postby marnamai on Sun Jan 12, 2014 8:59 pm

parent the ragdoll to a func_tracktrain on a path, by using a phsy_ragdollcontraint

ragdoll contraint settings

entity 1: name of the tracktrain
entity 2: name of the ragdoll
User avatar
marnamai
Veteran
Veteran
 
Joined: Thu Nov 10, 2005 12:17 pm
Location: Belgium

Re: How do I yank a ragdoll out of view?

Postby Dives on Sun Jan 12, 2014 9:12 pm

Easier to use a func_movelinear than a tracktrain.
User avatar
Dives
May Contain Skills
May Contain Skills
 
Joined: Sat Feb 28, 2009 9:54 pm
Location: Moorpark, CA

Re: How do I yank a ragdoll out of view?

Postby boj on Mon Jan 13, 2014 12:12 am

hmm... I couldnt get either of those to work... would either of you like me to send you my bsp files to try and fix it?
User avatar
boj
Member
Member
 
Joined: Mon Dec 30, 2013 12:12 am

Re: How do I yank a ragdoll out of view?

Postby marnamai on Mon Jan 13, 2014 1:12 am

I can't do anything with a bsp file, a vmf however that's a different story :p

feel free to pm a link
User avatar
marnamai
Veteran
Veteran
 
Joined: Thu Nov 10, 2005 12:17 pm
Location: Belgium

Re: How do I yank a ragdoll out of view?

Postby boj on Mon Jan 13, 2014 1:36 am

woops, that's what i meant.
User avatar
boj
Member
Member
 
Joined: Mon Dec 30, 2013 12:12 am

Re: How do I yank a ragdoll out of view?

Postby TechieUK on Mon Jan 13, 2014 3:32 pm

Couldn't you stick a trigger_push set to only push physics objects on the ragdoll and enable it when you get to the place where you see it? Then just have a trigger_once that kills it or something.

marnamai wrote:I can't do anything with a bsp file, a vmf however that's a different story :p

feel free to pm a link


Decompile it? :smt023
Also know as WILLAM; TechieUK is my old name. If you see WILLAM on Steam or ModDB, it's me.
User avatar
TechieUK
Regular
Regular
 
Joined: Sat Apr 13, 2013 4:29 pm

Re: How do I yank a ragdoll out of view?

Postby marnamai on Mon Jan 13, 2014 3:52 pm

decompiling is messy
User avatar
marnamai
Veteran
Veteran
 
Joined: Thu Nov 10, 2005 12:17 pm
Location: Belgium

Re: How do I yank a ragdoll out of view?

Postby TechieUK on Mon Jan 13, 2014 4:06 pm

True.
Also know as WILLAM; TechieUK is my old name. If you see WILLAM on Steam or ModDB, it's me.
User avatar
TechieUK
Regular
Regular
 
Joined: Sat Apr 13, 2013 4:29 pm

Re: How do I yank a ragdoll out of view?

Postby boj on Mon Jan 13, 2014 5:20 pm

Ah, Marnamai fixed my problem, here's what he said:

marnamai wrote:Its pretty much the same setup as you had, however you didn't have any paths for the tracktrain.

I replaced the func_tracktrain with a func_movelinear (its a simpler entity)
Used the phys_ragdollcontraint to contrain the prop_ragdoll to the func_movelinear
I unchecked the debris option on the ragdoll (not sure if required?)
The trigger_once sends an input to the func_movelinear to open and then the func_movelinear sends a break input to the contrains and then with a small delay, kills both the ragdoll and itself.
User avatar
boj
Member
Member
 
Joined: Mon Dec 30, 2013 12:12 am

Return to Hammer Editor Help

Who is online

Users browsing this forum: Bing [Bot]