Page 1 of 1

[CS:GO] Drop Random Package

Posted: Thu Jan 23, 2020 11:32 am
by Andreeas
Description:

This Plugin drops random or every "X" Deaths a "PACKAGE OF SPEED , HEALTH or HEGrenades" after a player dies.
You can select for every Package Type a Model from the list. (see picture)
MODELS LIST: 0=ChiantiBottle;1=chicken;2=LifeRing;3=Mushro omSmall;4=MushroomLarge;5=HEGrenade;6=CardBoa rd;7=Skull;8=CS_Gift

You also can enable a custom Player Model when a Player picks up a Speed Pack.
The Model I have used therefore is the Grunt Model from Morell. thanks a lot! (see picture)

Image
Image

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


UPDATED 30.01.2013: Version 2.3
changed soundpath - you can use any MP3 file you want.

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

CVARLIST:

Code: Select all

// This file was auto-generated by SourceMod (v1.5.0-dev+3687)
// ConVars for plugin "csgo_drop_random_package_1.9.smx"


// max. Amount of HP a Player can have to pickup a Healthpack
// -
// Default: "200"
// Minimum: "100.000000"
// Maximum: "600.000000"
csgo_drop_health_maximum "200"

// Enable (1) or disable(0) Drop a HEgrenade with Health & Speed Pack
// -
// Default: "0"
csgo_drop_random_HEgrenade "0"

// <#> = Amount of HP to add to a player when pick up a Healthpack
// -
// Default: "40"
// Minimum: "5.000000"
// Maximum: "300.000000"
csgo_drop_random_health_amount "40"

// <#> = number of seconds a dropped Package stays on the map
// -
// Default: "20"
// Minimum: "10.000000"
// Maximum: "60.000000"
csgo_drop_random_lifetime "20"

// Enable(1) or disable(0) message when a Pack was dropped
// -
// Default: "0"
csgo_drop_random_message_dropped "0"

// Enable (1) or disable(0) message when Pickup a Pack
// -
// Default: "1"
csgo_drop_random_message_pickup "1"

// Model for Grenade:0=ChiantiBottle;1=chicken;2=LifeRing; 3=MushroomSmall;4=MushroomLarge;5=HEGrenade;6 =CardBoard;7=Skull;8=CS-Gift
// -
// Default: "6"
// Minimum: "0.000000"
// Maximum: "8.000000"
csgo_drop_random_model_grenade "6"

// Model for Health:0=ChiantiBottle;1=chicken;2=LifeRing;3 =MushroomSmall;4=MushroomLarge;5=HEGrenade;6= CardBoard;7=Skull;8=CS-Gift
// -
// Default: "4"
// Minimum: "0.000000"
// Maximum: "8.000000"
csgo_drop_random_model_health "4"

// Model for Speed:0=ChiantiBottle;1=chicken;2=LifeRing;3= MushroomSmall;4=MushroomLarge;5=HEGrenade;6=C ardBoard;7=Skull;8=CS-Gift
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "8.000000"
csgo_drop_random_model_speed "0"

// Enable (1) or disable(0) Player Model change when pickup a Speedpack
// -
// Default: "0"
csgo_drop_random_own_model "0"

// Enable (1) or disable(0) your own PickUp Soundfile
// -
// Default: "0"
csgo_drop_random_own_pickup_sound "0"

// Own Sound played when Pickup Health or Speed(must be MP3 and in Sound Folder)
// -
// Default: "darky/mario_powerup.mp3"
csgo_drop_random_pickup_sound "darky/mario_powerup.mp3"

// Speed for the Player when picking up a Pack
// -
// Default: "1.5"
// Minimum: "1.000000"
// Maximum: "2.000000"
csgo_drop_random_speed "1.5"

// drop 2 HEgreandes every X deaths! 0=disable - if greater 0 random is disabled! use uneven numbers! and dont use same numbers!
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "200.000000"
csgo_drop_random_xgrenade_counter "0"

// drop a Health Package every X deaths! 0=disable - if greater 0 random is disabled! use uneven numbers! and dont use same numbers!
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "200.000000"
csgo_drop_random_xhealth_counter "0"

// drop a Speed Package every X deaths! 0=disable - if greater 0 random is disabled! use uneven numbers! and dont use same numbers!
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "200.000000"
csgo_drop_random_xspeed_counter "0"
Requirements:
SDK HOOKS

Notes:

Please upload all content to your Server and FastDownload!
thanks to Feuersturm for helping!
thanks to Morell for the Model: http://mapeadores.com/topic/5002-ser...h__1#entry7089

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

Servers running plugin:
Game-Monitor
GameTracker

PLEASE DOWNLOAD THE ZIP PACKAGE! IT HAS ALL THE MODELS!
you can download the whole package with all the files for fastdownload too from my website:
DOWNLOAD COMPLETE PACKAGE HERE

csgo_drop_random_package_2.3.zip
Get Plugin or Get Source
csgo_drop_random_package_2.3.smx
translations.zip