Healthkit from dead
5 Attachment(s)
Drop health kit from dead player.
(At least works in Counter-Strike:Source, maybe other mods) cvars (plugin not generate config file) Quote:
Simple, if you want use another model (1), dissolve effect (2) and play sound that only picker can hear it (16). 1 + 2 + 16 = 19 Set hfd_mode "19" modes 1 = You can change to another healthkit model (looks like flashbang) 2 = Enable dissolve effect 4 = Healthkit will drop when player suicide 8 = Healthkit will drop when teamkill (HL2MP use this when deathmatch "1", if I remember right) 16 = Picker can hear sound only, not others. 32 = No block to healthkits, players can walk trough them. (Can't kick kits anymore) 64 = Print hint text to player who pick healthkit 128 = Bots can't pick healthkits 256 = Bots don't drop healthkits How hfd_heal works ? hfd_heal "20" = healthkit will give +20HP to picker. hfd_heal "5 , 20" = will give +?HP between min. and max. randomly. Installation - This plugin needs SDKHooks extension to get work !! - Move healthkit_from_dead.smx your server ...addons/sourcemod/plugins/ -folder Compile plugin source code *.sp - Required SDKHooks For CSGO default medkits from HL2, are packed in zip. Credits to original plugin by Knagg0 Healthkit On Death env_entity_dissolver by altex KnifeFight PS. Tell if you get any wierd bug
UPDATE healthkit_from_dead.smx
I want another healthkit model, buuhuu! read me!
To change model, edit plugins source code and compile yourself
*IMG made by GrO |
Re: Healthkit from dead
Taken from the SDK in regards to your comment.
PHP Code:
|
Re: Healthkit from dead
thanks Kyles
|
Re: Healthkit from dead
Nice Work Bacardi. Will test this asap.
One Question: Quote:
Is it possible to set a third model, which will fit more into the WW2 scenario of Day of Defeat:Source, or the western scenario of FoF. I am aware, that this is a Modspecific thing, but maybe a cvar for a custom model would be my suggestion for this case. I am using the old Plugin and my clients get used to the HalfLife model, but I think, that a Healthpack that fits more into WW2-Style would be nice ^^ |
Re: Healthkit from dead
I'll try add this feature
|
Re: Healthkit from dead
Good job, man :up: Went test it...
|
Re: Healthkit from dead
Bacardi,
Just installed this in my HL2DM win2008 server ... appears to work great !!! "GOOD WORK !!" will let you know in a few days if any problems come up , and we thank you :up: |
Re: Healthkit from dead
I noticed this is marked as All games. However, it would seem to me that the HL2 medkits would look out of place in TF2.
TF2 has its own models for health kits: models/items/medkit_medium.mdl and models/items/medkit_small.mdl for the two smallest, although you could be fancy and use the TF Birthday models instead: models/items/medkit_medium_bday.mdl and medkit_small_bday.mdl For that matter, TF2 doesn't cap HP at 100, but deal in percents instead (iirc)... 25% of max HP for the small medkit, 50% of max HP for the medium medkit, and 100% of max HP for the large medkit. |
Re: Healthkit from dead
Powerlord,
I think he had it default to 100 Health for a starting point .. I have it set for 250 and its working fine so its not a cap of 100 . Also i have it 100 Health per pickup too :mrgreen: |
Re: Healthkit from dead
@Powerlord
Your "Problem" with the models is the same as mine here. And I think a cvar to set custommodels would be the best solution. With this cvar the plugin will stay modindependend. |
All times are GMT -4. The time now is 23:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.