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

Dissolve (player ragdolls)


Post New Thread Reply   
 
Thread Tools Display Modes
Kigen
BANNED
Join Date: Feb 2008
Old 07-03-2008 , 18:41   Re: Dissolve (player ragdolls)
Reply With Quote #41

Quote:
Originally Posted by Cooltad View Post
So this will make it work with faster respawns?
Yes.

Last edited by Kigen; 07-03-2008 at 18:55.
Kigen is offline
Cooltad
Veteran Member
Join Date: Apr 2008
Old 07-03-2008 , 19:34   Re: Dissolve (player ragdolls)
Reply With Quote #42

Quote:
Originally Posted by Kigen View Post
Yes.
I do not know how to implement your code, mind uploading your sp file?
__________________
Please, give me some rep if you found what I posted useful. :]
Cooltad is offline
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 07-03-2008 , 21:03   Re: Dissolve (player ragdolls)
Reply With Quote #43

Hey LDuke,
First of all, awesome plugin

Here's a bit of advice to make it even better, though. If a player respawns before their ragdoll is dissolved, their m_hRagdoll prop will be reset back to -1, and since you retrieve that data in you timer callback, itll end up printing "[DISSOLVE] Could not get ragdoll for player!" in console.

If you find the ragdoll entity on player_death and then pass that into your timer callback it should work 100% of the time, even in DM servers etc

I ran into this problem in a plugin of mine that respawns players before their ragdoll was removed, and doing what I suggested is a solid solution
__________________
Greyscale is offline
Box Cutter
SourceMod Donor
Join Date: Dec 2006
Location: Arizona
Old 07-03-2008 , 22:51   Re: Dissolve (player ragdolls)
Reply With Quote #44

Thanks Greyscale. I hope L Duke can update the plugin to work with CSSDM.

-BC
__________________
Box Cutter is offline
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 07-03-2008 , 23:26   Re: Dissolve (player ragdolls)
Reply With Quote #45

Now that I think about it, it all depends on if the body is there to begin with, if CSSDM had a cvar to disable the removal of ragdolls, then it'd be a lot more compatible with this plugin
__________________
Greyscale is offline
Cooltad
Veteran Member
Join Date: Apr 2008
Old 07-03-2008 , 23:27   Re: Dissolve (player ragdolls)
Reply With Quote #46

I just wish I could make this work with my fast respawn.
__________________
Please, give me some rep if you found what I posted useful. :]
Cooltad is offline
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 07-03-2008 , 23:30   Re: Dissolve (player ragdolls)
Reply With Quote #47

If LDuke makes that change it will (as long as the body isn't being deleted before it can be dissolved)
__________________
Greyscale is offline
Cooltad
Veteran Member
Join Date: Apr 2008
Old 07-03-2008 , 23:38   Re: Dissolve (player ragdolls)
Reply With Quote #48

Since he doesn't come on as often, do you mind pming me a fixed version? =D
__________________
Please, give me some rep if you found what I posted useful. :]
Cooltad is offline
Box Cutter
SourceMod Donor
Join Date: Dec 2006
Location: Arizona
Old 07-05-2008 , 03:11   Re: Dissolve (player ragdolls)
Reply With Quote #49

Greyscale I know you are probably busy with other things, but it would be awesome if you could make the adjustment so it works on CSSDM and post it here.

-BC
__________________
Box Cutter is offline
curlefry
Senior Member
Join Date: Jun 2008
Location: Georgia, USA
Old 07-05-2008 , 11:51   Re: Dissolve (player ragdolls)
Reply With Quote #50

Hilarious! Thanks!
__________________
curlefry is offline
Send a message via MSN to curlefry
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 00:11.


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