AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   No blood from cycler entity (https://forums.alliedmods.net/showthread.php?t=117986)

lazarev 02-06-2010 18:27

No blood from cycler entity
 
1 Attachment(s)
No blood from cycler entity
author: Juice (me)

Description:
When we shoot "cycler" entity, with "takedamage" parameter value more than 0, we have this:

[IMG]http://img341.**************/img341/6161/notkzsupermario0001.jpg[/IMG]
This plugin solves it ^^

Zombiezzz 02-06-2010 22:54

Re: No blood from cycler entity
 
ok cool

doroemon 02-06-2010 23:02

Re: No blood from cycler entity
 
Very nice plugin :)

fezh 02-13-2010 18:12

Re: No blood from cycler entity
 
Code:
        if( entity_get_float( iEnt, EV_FL_takedamage ) != 0.0 )         {             entity_set_float( iEnt, EV_FL_takedamage, 0.0 );         }
Why don't you set the value directly? I find useless your check.

crazyeffect 02-13-2010 18:23

Re: No blood from cycler entity
 
Short but nice :D

orange 02-14-2010 02:35

Re: No blood from cycler entity
 
good stuff.

lazarev 02-14-2010 04:11

Re: No blood from cycler entity
 
Quote:

Originally Posted by fezh (Post 1087925)
Why don't you set the value directly? I find useless your check.

fix'd :crab:

Alucard^ 03-10-2010 20:52

Re: No blood from cycler entity
 
When you say "this plugin solves it", what you mean? The entity don't blood, or change the color or what?

EDIT: Well, i saw the title now so... i think the entity don't blood anymore with this plugin.

Exolent[jNr] 03-10-2010 20:53

Re: No blood from cycler entity
 
Quote:

Originally Posted by Alucard^ (Post 1114080)
When you say "this plugin solves it", what you mean? The entity don't blood, or change the color or what?

EDIT: Well, i saw the title now so... i think the entity don't blood anymore with this plugin.

The entity doesn't show blood.

Alucard^ 03-10-2010 21:30

Re: No blood from cycler entity
 
Yep, and now i see the code so i can understand that technically the plugin remove the damage of the entity (or takedamage, don't know what is the correct to say in english). So, ofcourse if takedamage is blocked (or seted to 0.0) the blood dissapear.


All times are GMT -4. The time now is 18:20.

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