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

[L4D2] Restore Ragdolls (1.3.0 2014-01-10)


Post New Thread Reply   
 
Thread Tools Display Modes
s.m.a.c head
Senior Member
Join Date: Apr 2012
Location: Liverpool
Old 11-04-2012 , 14:34   Re: [L4D2] Restore Ragdolls (2012-10-21 Version 1.1)
Reply With Quote #11

awesome plugin well done ))
s.m.a.c head is offline
Pikarikku
Junior Member
Join Date: Nov 2010
Old 01-26-2013 , 03:19   Re: [L4D2] Restore Ragdolls (2012-10-21 Version 1.1)
Reply With Quote #12

Question, am I doing something wrong? I downloaded the smx and dragged it to the plugins folder, but it doesn't work?
Pikarikku is offline
Tibbar
New Member
Join Date: Feb 2013
Old 02-03-2013 , 21:04   Re: [L4D2] Restore Ragdolls (2012-10-21 Version 1.1)
Reply With Quote #13

How do you install l4dstocks? i really want this plugin, but i don't know how....
Tibbar is offline
Pikarikku
Junior Member
Join Date: Nov 2010
Old 02-16-2013 , 04:06   Re: [L4D2] Restore Ragdolls (2012-10-21 Version 1.1)
Reply With Quote #14

Okay, so i figured out that this plugin only loads on dedicated servers. this is gonna be really strange, but i like to just start up singleplayer on l4d with sourcemod. is there anyway to get the plugin to load there?
Pikarikku is offline
Mr. Zero
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 02-18-2013 , 06:58   Re: [L4D2] Restore Ragdolls (2012-10-21 Version 1.1)
Reply With Quote #15

Quote:
Originally Posted by Pikarikku View Post
Okay, so i figured out that this plugin only loads on dedicated servers. this is gonna be really strange, but i like to just start up singleplayer on l4d with sourcemod. is there anyway to get the plugin to load there?
Remove lines 113 to 117 (or search for IsDedicatedServer and remove the whole if statement) and recompile it for the plugin to load on client listen servers. However any errors you may find is up to yourself to fix, I only support dedicated servers.
Mr. Zero is offline
scarface50
Junior Member
Join Date: Mar 2014
Old 03-16-2014 , 20:53   Re: [L4D2] Restore Ragdolls (1.3.0 2014-01-10)
Reply With Quote #16

Why doesn't it work for me?? I host a dedicated l4d2 server and it wont work on there. I installed this mod by putting "restoreragdolls.smx" into plugins foldier, i put ""restoreragdolls.sp" into scripting foldier, then i installed l4dstocks by putting l4d_stocks.inc and l4d_weapons_stocks.inc into sourcemod/scripting/include. Then after that i compiled the plugin, start up l4d2 go into server and doesnt work. D: Did i miss something??

Last edited by scarface50; 03-16-2014 at 20:54.
scarface50 is offline
spike10164
New Member
Join Date: Jul 2014
Old 07-24-2014 , 20:07   Re: [L4D2] Restore Ragdolls (1.3.0 2014-01-10)
Reply With Quote #17

can you upload a version for singleplayer use?
spike10164 is offline
Xaflu
New Member
Join Date: Sep 2014
Old 09-24-2014 , 07:42   Re: [L4D2] Restore Ragdolls (1.3.0 2014-01-10)
Reply With Quote #18

Quote:
Originally Posted by spike10164 View Post
can you upload a version for singleplayer use?
Just use a local server.

Also, there are 3 instances where you don't ragdoll on death.
1. If you type kill in console
2. If sm_cvar survivor_death_anims is 1
3. If a charger knocks you off an edge while plowing through you while they're already holding a survivor.

Other than those 3, it's great!
Xaflu is offline
DeathChaos25
Senior Member
Join Date: Jan 2014
Location: Puerto Rico
Old 09-24-2014 , 13:44   Re: [L4D2] Restore Ragdolls (1.3.0 2014-01-10)
Reply With Quote #19

Quote:
Originally Posted by Xaflu View Post
Just use a local server.

Also, there are 3 instances where you don't ragdoll on death.
1. If you type kill in console
2. If sm_cvar survivor_death_anims is 1
3. If a charger knocks you off an edge while plowing through you while they're already holding a survivor.

Other than those 3, it's great!
For Number 2;
[L4D2] Restore Death Animations

For Number 1, In the plugin code for whatever command you want, look for ForcePlayerSuicide() and on the line above add the following, and you should get the desired results.

PHP Code:
SetEntProp(targetProp_Send"m_isFallingFromLedge"1); 
Let's look at slay.sp for example;
PHP Code:
PerformSlay(clienttarget)
{
    
LogAction(clienttarget"\"%L\" slayed \"%L\""clienttarget);
    
ForcePlayerSuicide(target);

Should be;
PHP Code:
PerformSlay(clienttarget)
{
    
LogAction(clienttarget"\"%L\" slayed \"%L\""clienttarget);
    
SetEntProp(targetProp_Send"m_isFallingFromLedge"1);
    
ForcePlayerSuicide(target);

Save slay.sp, Recompile PlayerCommands, and whenever someone is slain via !slay, they will now ragdoll.

This means the only possible scenario where you won't ragdoll is when you either, use ForcePlayerSuicicide() without adding the above and re-compiling, kill cmd from console, or when you fall from a Reasonable height that would insta-kill you.

__________________
DeathChaos25 is offline
Chronemic
New Member
Join Date: Sep 2014
Old 09-29-2014 , 23:01   Re: [L4D2] Restore Ragdolls (1.3.0 2014-01-10)
Reply With Quote #20

how do I install this? I got it downloaded, but how do I put it into L4D2?
Chronemic is offline
Reply


Thread Tools
Display Modes

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 12:16.


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