Supply Crate
Description
This plugin adds a menu from where you can choose different crate types, it got "Ammo Crates" for supplying ammunition, "Grenades Crates" for supplying grenades, and Market Crates for selling items.
All crates are fully customizable with settings like Capacity, Mode (How it acts), Rate (Cooldown and Framerate)
Players can interact with crates by pressing E (IN_USE) while being in the distance range set in g_eSetting[SETTING_CRATE_RANGE]
Don't forget to check the "Main Settings" in configs/SupplyCrate.ini if you wanna tweak something up.
I mean we can tweak that plugin up making it only for serving grenades, if that's a good idea ?
Commands
say /sc -- Opens the crate menu.
say_team /sc -- Opens the crate menu.
say /supplycrate -- Opens the crate menu.
say_team /supplycrate -- Opens the crate menu.
crate_reload -- Reloads the configuration file.
Adding Crates
Crates can be added in the config file "configs/SupplyCrate.ini" by placing the crate name in square brackets on a new line.
Example: [Ammo Crate]
To create a custom crate, add a new entry in configs/SupplyCrate.ini using the format below
# [Crate Name]
# CRATE_MODEL = Path of crate's model.
# CRATE_CLASS = 0 -Ammo Crate, 1 -Grenades Crate, 2 -Market Crate.
# CRATE_MODE = (Ammo Crate) 0 -AMMO_ONLY 1 -AMMO_VEST, 1 -AMMO_VEST, 2 -AMMO_VESTHELM, 3 -VEST_ONLY, 4 -VESTHELM_ONLY
# = (Grenades Crate) 0 -GRENADES_HE 1 -GRENADES_FB, 2 -GRENADES_SG, 3- GRENADES_HE_FB, 4- GRENADES_HE_SG, 5 -GRENADES_FB_SG, 6 -GRENADES_ALL
# CRATE_RATE = -2 -Very Slow, -1 -Slow, 0 -Normal, 1 -Fast, 2 -Very Fast
# CRATE_CAPACITY = Maximum amount of uses this crate can give.
# CRATE_SOUND_FLAGS = a -Placed Sound, b -Removed Sound, c -Opening Sound, d -Empty Sound, e -Get Sound, f -Sell Sound
# CRATE_FACTOR = Market price factor for Market Crates (1.0 = full price, 0.5 = half price, 2.0 = double price and so on)
Alliedmodders POST
DOWNLOAD SupplyCrate v1.0