Raised This Month: $ Target: $400
 0% 

How to set a sprite to not be a temporary entity?


Post New Thread Reply   
 
Thread Tools Display Modes
z0mbiland
Senior Member
Join Date: Jan 2013
Old 05-14-2015 , 15:08   Re: How to set a sprite to not be a temporary entity?
Reply With Quote #11

Quote:
Originally Posted by aron9forever View Post
if you make blood sprites remnant , your server will crash very fast with a num_edicts erorr

What i want to know is what functions use these sprites. I found something in hamsandwich but i don't konw if they are the real functions.

Ham_Killed,

/**
* Description: Normally returns the blood color of the entity.
* Forward params: function(this)
* Return type: Integer.
* Execute params: ExecuteHam(Ham_BloodColor, this)
*/
Ham_BloodColor,

/**
* Description: Traces where blood should appear.
* Forward params: function(this, Floatamage, Floatirection[3], trace_handle, damagebits);
* Return type: None.
* Execute params: ExecuteHam(Ham_TraceBleed, this, Float:damage, Float:direction[3], trace_handle, damagebits);
*/
Ham_TraceBleed,

/**
* Description: Returns whether an entity is activated.
* This function is not supported by Day Of Defeat.
* This function has different version for Team Fortress Classic, see Ham_TFC_IsTriggered instead.
* Forward params: function(this, idActivator);
* Return type: Integer.
* Execute params: ExecuteHam(Ham_IsTriggered, this, idActivator);
*/

Last edited by z0mbiland; 05-14-2015 at 15:09.
z0mbiland is offline
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 05-15-2015 , 02:09   Re: How to set a sprite to not be a temporary entity?
Reply With Quote #12

they are real functions
with bloodcolor you can change blood color
with tracebleed, I have no idea (tried looking inside this but can't get the purpose)

can you just try to explain, with as much detail as you can, what you want to achieve? I can't really understand.
What's the final product supposed to be?
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever 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 07:53.


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