AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Drop Random Health Pack (https://forums.alliedmods.net/showthread.php?t=193359)

darkranger 08-18-2012 15:56

[CS:GO] Drop Random Health Pack
 
4 Attachment(s)
Description:
THIS PLUGIN DROPS RANDOM OR EVERY "X" DEATHS A HEALTH PACKAGE AFTER A PLAYER DIES.
You can select 1 out of 6 available Props. (0=chianti bottle; 1=chicken; 2=Life Ring; 3=Mushroom_Small; 4=Mushroom_Large; 5=HL2 Medkit; 6=CS_Gift )

I use this on my ArmsRace (GunGame progressive Mode) Server and is only tested there!

UPDATED 30.01.2013: Version 2.8

Changelog:
Spoiler

CVars:
will be autogenerated after 1st plugin start in the cfg folder!
CVARLIST:
Spoiler


Requirements:
SDK HOOKS

Notes:
thanks to Feuersturm for helping!

Servers running plugin:
Game-Monitor
GameTracker

Notes2:
it uses SDKHOOKS. so it will not compile on the forum!

GameGuardG 08-24-2012 14:05

Re: [CS:GO]Drop Random Health Pack
 
doesnt work for me.
To load it needs SDK and SDK is not supported for CS:GO
correct?

darkranger 08-24-2012 14:28

Re: [CS:GO]Drop Random Health Pack
 
it is working :)

use latest sdkhook from here: http://users.alliedmods.net/~psychon.../sdkhooks/2.2/

greetz

karil 08-24-2012 15:26

Re: [CS:GO]Drop Random Health Pack
 
Very interesting plugin! Congratz.

FR0NTLINE 08-26-2012 13:28

Re: [CS:GO]Drop Random Health Pack
 
Yeah this is cool So say the person's health was 60 before you killed them they could drop a 60 health pack?

ltgenkd 08-26-2012 13:37

Re: [CS:GO]Drop Random Health Pack
 
See the config file in csgo\cfg\cso_drop_random_health\csgo_drop_ran dom_health.cfg.

//<#> = amount of HP to add to a player picking up a Healthpackage
//-
// Default: "80"
// Minimum: "25.000000"
// Maximum: "300.000000"
csgo_drop_health_amount "80" <------ Set what you want here.

darkranger 08-26-2012 14:55

Re: [CS:GO]Drop Random Health Pack
 
Quote:

Originally Posted by FR0NTLINE (Post 1783353)
Yeah this is cool So say the person's health was 60 before you killed them they could drop a 60 health pack?

i know what you mean.
but the plugin drops a healthpack NOT depending on the opponents health.
it always has the amount you set in the config!!

tpunkt 08-26-2012 15:13

Re: [CS:GO]Drop Random Health Pack
 
Request:
Maybe a max. limit for getting hp through picking up kits would be nice e.g. so that no player will get over xxx hp.

and well done ... good works +1

darkranger 08-27-2012 12:16

Re: [CS:GO]Drop Random Health Pack
 
1 Attachment(s)
Quote:

Originally Posted by tpunkt (Post 1783483)
Request:
Maybe a max. limit for getting hp through picking up kits would be nice e.g. so that no player will get over xxx hp.

and well done ... good works +1

OK. Please try the attached one. and tell me if its functional. i will then put it on first post.
new Cvars:
Code:

"csgo_drop_health_maximum", "150", "max. Amount of Health a player can have to pickup a Healthpackage"
"csgo_drop_health_maximum_var", "0", "what happens when max. Health is reached: 0 = delete Healthpackage , 1 = Healthpackage will dropped from next dead player


tpunkt 08-27-2012 16:05

Re: [CS:GO]Drop Random Health Pack
 
It works fine on my testsystem. If the players has less than 150hp I can pick up the pack, if the player has more than 150hp I can't pick up the pack.

Much thx to you !!!


All times are GMT -4. The time now is 11:16.

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