Healthkit on dead body
1 Attachment(s)
Kit on body by tuty Description: - when a player dies, on his body will appear a health-kit. You can pick it up to restore your HP Cvars: - kit_enable - 1 - plugin enabled, 0 - plugin disabled; - kit_glow - 1 - enable the kit glow, white glow is more realistic :D / 0 - disable glow - kit_fade - 1 - enable a red short screen fade when you take the kit, :) is cool try it :) - kit_remove - 1- remove or not kit on round start? 1 - enabled / 0 - disabled - kit_health - "20" - set here the life bonus when you pickup a kit - kit_limit_health - "100" - set here the health limit. ( you must have less health than this cvar to take the kit ) Modules: - fakemeta Note: - players with full HP can't take the kit :) also, the kit remain on ground - when dead body dissapear, the kit remain on ground - thanx to arkshine - added itempickup effect - fixed and optimized the code |
Re: Healthkit on dead body
Nice plugin :D
Is it the health pack from 28WL zombie mod? |
Re: Healthkit on dead body
|
Re: Healthkit on dead body
is mini medicinal kit from hl1 :-/
|
Re: Healthkit on dead body
http://forums.alliedmods.net/showthread.php?t=54967 Has nothing to do with it...
http://forums.alliedmods.net/showthread.php?t=24844 Looks me the same, but this has a model :D |
Re: Healthkit on dead body
Quote:
i understand..and look at this http://forums.alliedmods.net/showthr...t=24844&page=2 at knekter post o.Ohttp://forums.alliedmods.net/images/...ost_spacer.gif |
Re: Healthkit on dead body
- Don't use ResetHud... See the proper event in the tuto section.
- No need to include fm_ function, juste use #include <fakemeta_util> - MSG_ONE -> MSG_ONE_UNRELIABLE - equal i-> equal ( or better using Ham_Touch ) - You check the health but what about player who have its max health > 100 ? - You still use fm_give_item() but it should not need ( Not sure, I will test myself ) |
Re: Healthkit on dead body
Quote:
- You check the health but what about player who have its max health > 100 ? ---done :) - equal i-> equal ( or better using Ham_Touch )--- used equal - MSG_ONE -> MSG_ONE_UNRELIABLE --- thanx - No need to include fm_ function, juste use #include <fakemeta_util> ---------lol oke,..... |
Re: Healthkit on dead body
Just tested fastly a code. I hope you won't hate me. This code is enough to spawn and be able to touch an healthkit. No need to use FM_Touch, nor testing about the health or giving the item. By spawning this entity, the engine does what it needs.
Code:
Now, if you still want to add a screenfade, I recommend to use Ham_Touch. But I don't think it's really need since a sound is provided. Just my opinion. |
Re: Healthkit on dead body
and i change my code in your? ..and where is my plugin after? if is really bad unaprove it.... from mistake peoples learn :wink:
................. |
All times are GMT -4. The time now is 20:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.