Raised This Month: $51 Target: $400
 12% 

Its just NOT possible no matter what... right?


Post New Thread Reply   
 
Thread Tools Display Modes
Circusbrain
Junior Member
Join Date: Apr 2014
Old 04-29-2014 , 09:50   Re: Its just NOT possible no matter what... right?
Reply With Quote #11

I guess my simplest method of dropping a noclip ragdoll is how i'll try it. I just can't seem to find the right settings for the entity to make it not react with players.
Circusbrain is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-29-2014 , 09:56   Re: Its just NOT possible no matter what... right?
Reply With Quote #12

Quote:
Originally Posted by Oshizu View Post
Or just nobody was interesed in doing so
That and ragdoll's are expensive, so why bother with them?
plus i have played with a similar method in tf2, for my murder at the manor gamemode.

heres how to make it not solid to anything but trace rays and the world:
Code:
		SetEntProp(iEnt, Prop_Send, "m_usSolidFlags", 8);
		SetEntProp(iEnt, Prop_Send, "m_CollisionGroup", 11);

Last edited by Mitchell; 04-29-2014 at 09:58.
Mitchell is offline
Circusbrain
Junior Member
Join Date: Apr 2014
Old 04-29-2014 , 10:02   Re: Its just NOT possible no matter what... right?
Reply With Quote #13

Quote:
Originally Posted by Mitchell View Post
That and ragdoll's are expensive, so why bother with them?
plus i have played with a similar method in tf2, for my murder at the manor gamemode.

heres how to make it not solid to anything but trace rays and the world:
Code:
		SetEntProp(iEnt, Prop_Send, "m_usSolidFlags", 8);
		SetEntProp(iEnt, Prop_Send, "m_CollisionGroup", 11);
Are you suggesting I do it some other way then prop_ragdoll or just not bother because of the latency expense?
Circusbrain is offline
Circusbrain
Junior Member
Join Date: Apr 2014
Old 04-29-2014 , 10:13   Re: Its just NOT possible no matter what... right?
Reply With Quote #14

Heres' the code as they spawn... it doesn't make them "noclip"d

PHP Code:
new xEntity CreateEntityByName("prop_ragdoll");
        
DispatchKeyValue(xEntity"model""models/player/t_phoenix1_dc.mdl");
        
SetEntProp(xEntityProp_Send"m_usSolidFlags"8);
        
SetEntProp(xEntityProp_Send"m_CollisionGroup"11);
        
DispatchSpawn(xEntity);
        
TeleportEntity(xEntityfOriginFrontNULL_VECTORNULL_VECTOR); 
Circusbrain is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-29-2014 , 10:36   Re: Its just NOT possible no matter what... right?
Reply With Quote #15

Quote:
Originally Posted by Circusbrain View Post
Heres' the code as they spawn... it doesn't make them "noclip"d

PHP Code:
        new xEntity CreateEntityByName("prop_ragdoll");
        
DispatchKeyValue(xEntity"model""models/player/t_phoenix1_dc.mdl");
        
DispatchKeyValue(xEntity"disableshadows""1");
        
DispatchSpawn(xEntity);
        
SetEntProp(xEntityProp_Send"m_usSolidFlags"8);
        
SetEntProp(xEntityProp_Send"m_CollisionGroup"11);
        
TeleportEntity(xEntityfOriginFrontNULL_VECTORNULL_VECTOR); 
try that (disabled shadows for better performances.)
I'd also do this in player_death event:
HookEvent("player_death", Event_Death, EventHookMode_Pre);

Last edited by Mitchell; 04-29-2014 at 10:37.
Mitchell is offline
Circusbrain
Junior Member
Join Date: Apr 2014
Old 04-29-2014 , 10:42   Re: Its just NOT possible no matter what... right?
Reply With Quote #16

That did it, so it was a matter of the order? I didn't think it mattered... jeez. Thank you very much, just have to work out the model positioning now. I really appreciate this, makes me silly happy.
Circusbrain is offline
Circusbrain
Junior Member
Join Date: Apr 2014
Old 04-29-2014 , 13:05   Re: Its just NOT possible no matter what... right?
Reply With Quote #17

Ok I have the location worked out now, I guess the last question is posing. IS posing a ragdoll possible based on players last pose on death? IE, player is looking in X direction at location Y and in position Z, capture that and set ragdoll to same?
Circusbrain is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode