AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Bloodthirsty (https://forums.alliedmods.net/showthread.php?t=53767)

Alka 04-10-2007 14:15

Bloodthirsty
 
1 Attachment(s)
BloodThirsty v1.2
Updated

Author:Alka
Version:v1.2


Descritpion:

*When a player hit another player with knife...the victim starts bleeding and have some effects!(see effects list)
*Some kind of knife realism.


Cvar:

bt_healthreduction "num" (Default:2) - Number of health reduction per second.
bt_mod "1/0" (Default:1) - Toggle plugin on/off

Changelog:
v1.0 - First release.
V1.1 - Optimized code.
v1.2
- Fixed ResetHud.
-Changed sound.
v1.2 Updated
-Rewrited.
-Fixed bug.

Effects:
*Victim is bleeding(Visual effect + health reduction(Cvar)).
*Victim screen is flicker*fade in red.
*On victim screen an Hud icon is displayed with orange color for advertise.

Credits:
SAMURAI16
teame06

Required modules:
-Fun

Pictures:
-See video...(above)

Previous downloads : 1764

neogeo 04-10-2007 14:19

Re: Bloodthirsty
 
Quote:

Originally Posted by godlike (Post 463030)
whats this?


godlike 04-10-2007 14:24

Re: Bloodthirsty
 
Seems ok to me maybe add a beter discription and a video . Also place in your thread that you need the csx and fun module

Alka 04-10-2007 14:25

Re: Bloodthirsty
 
sorry! I press "post" button! Some knife realism but with more effects...test it yourself :P :wink:

manchimocyrus 04-10-2007 15:17

Re: Bloodthirsty
 
GJ man.

Brad 04-10-2007 16:39

Re: Bloodthirsty
 
Don't ever post RAR's. Post ZIP's. Not everyone can extract from a RAR but almost every can extract from a ZIP.

Code:
register_event("ResetHUD","resetstuff","b");
This can be exploited by a player to stop their bleeding on command by using the fullupdate command.

Alka 04-10-2007 16:44

Re: Bloodthirsty
 
and i should use... =>>
register_event[/code][code]("HLTV", "event_new_round", "a", "1=0", "2=0") ?

Voi 04-10-2007 16:58

Re: Bloodthirsty
 
Alka, you allways have good ideas for plugins :) btw saw the video, looks cool

Emp` 04-10-2007 20:48

Re: Bloodthirsty
 
...why not just use the damage event (so you don't have to use csx >.>)

also why have a download when you can use the default HL heart beat sound.

and finally i don't see the point of the display, if anything it just confuses me.

Alka 04-11-2007 02:36

Re: Bloodthirsty
 
1.Dunno...i like csx! but...what is rong with csx?
2.I find that heartbeat1 sound but how to play it? Is in valve dir.(you must to copy...in cs)
3.what do you mean? :/

regalis 04-11-2007 08:19

Re: Bloodthirsty
 
Hi, found this in kz_jump_plugin from teame06...
On finishing climb you hear a "woop" sound ;)

client_cmd(id, "spk woop");


greetz regalis

Alka 04-11-2007 08:32

Re: Bloodthirsty
 
Thanks...but i have a sound,and is playing but..i allude at something else...nvm!

Brad 04-11-2007 09:33

Re: Bloodthirsty
 
Quote:

Originally Posted by Alka (Post 463083)
and i should use... =>>
register_event[/code][code]("HLTV", "event_new_round", "a", "1=0", "2=0") ?

http://forums.alliedmods.net/showthread.php?t=42159

Quote:

Originally Posted by Alka (Post 463263)
1.Dunno...i like csx! but...what is rong with csx?

There's nothing wrong with CSX but by requiring it, you're just adding complexity and unnecessarily limiting your plugin to CS.

Quote:

Originally Posted by Alka (Post 463263)
2.I find that heartbeat1 sound but how to play it? Is in valve dir.(you must to copy...in cs)

Look at the code for my Bad Camper plugin to see how I did it.

Mini_Midget 04-11-2007 10:58

Re: Bloodthirsty
 
Would be better to use the damage event IMO and add something like the effects will stop after a certain period of time.

Also, what part of this is to change the amount of blood being spilled?
PHP Code:

public fx_bleed(origin[3])
{
    
message_begin(MSG_BROADCAST,SVC_TEMPENTITY);
    
write_byte(TE_BLOODSTREAM);
    
write_coord(origin[0]);
    
write_coord(origin[1]);
    
write_coord(origin[2]+10);
    
write_coord(random_num(-360,360));
    
write_coord(random_num(-360,360));
    
write_coord(-10);
    
write_byte(70);
    
write_byte(random_num(50,100));
    
message_end()



Voi 04-11-2007 11:31

Re: Bloodthirsty
 
how about decreasing hp(1hp for 0.3-4 sec) without damage event? its kinda weird that player is constantly moaning

Alka 04-14-2007 03:34

Re: Bloodthirsty
 
@Mini_Midget
1."Stoping efect" ->
Code:

  if(health < 10) {
  remove_task(victim+35435);
 }

just chage this! :wink:
2.You can't...!

@Voi - this is just fine! no changes momentary...

@Hawk552 - Thanks...

manchimocyrus 04-14-2007 07:41

Re: Bloodthirsty
 
Alka make the blood remain on the ground to the end of the round.

Alka 04-14-2007 07:49

Re: Bloodthirsty
 
I tried that but don't work! dunno why...:| it's showing "numbers" instead of blood slop!

manchimocyrus 04-14-2007 12:32

Re: Bloodthirsty
 
The problem is this "decals.wad"

manchimocyrus 04-14-2007 12:45

Re: Bloodthirsty
 
1 Attachment(s)
Use the right name of the pictures.

Ultimate100 04-21-2007 02:28

Re: Bloodthirsty
 
Quote:

Don't ever post RAR's. Post ZIP's. Not everyone can extract from a RAR but almost every can extract from a ZIP.
Well it dosent hurts to think on their own and download WinRAR

ali_zkz 05-05-2007 05:33

Re: Bloodthirsty
 
cool +karma

PpZ | Iconoclast 02-24-2008 16:17

Re: Bloodthirsty
 
Is it possible at all to have the blood effects without the flashing red screen? Any chance we could get a cvar to enable/disable that? Thanks!

Reks 06-25-2014 10:32

Re: Bloodthirsty
 
The HUD effect seems to work, but the damage over time does not work. I'm using this for zombie plague 4.3. Sorry for necro.


All times are GMT -4. The time now is 22:46.

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