Raised This Month: $ Target: $400
 0% 

[solved] Change Blood Color


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
stupok
Veteran Member
Join Date: Feb 2006
Old 07-03-2009 , 00:23   [solved] Change Blood Color
Reply With Quote #1

I want to change the blood color for a particular player or group of players, not all players.

I'm having trouble doing this properly. Right now, I'm doing it in a very "hackish" way and the results are bad.

I'm hooking TE_BLOODSTREAM, TE_BLOOD, TE_BLOODSPRITE, reading the coordinates, finding the ent at the coords, and then checking if the ent is the right one. It's not precise and it doesn't work well.

I only found two relevant threads on the forum:
https://forums.alliedmods.net/showthread.php?t=61812
https://forums.alliedmods.net/showthread.php?t=3464

I didn't have any success playing with pdata, but maybe I'm doing it wrong. Has anyone done this properly?
__________________

Last edited by stupok; 07-03-2009 at 14:00.
stupok is offline
 



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 15:39.


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