UNOFFICIAL RELEASE UPDATE.
VERSION 5.0.
Changes:
- Created 4 types of medkits (low, medium, high, extra) and their drop probability.
- Added probability of medkit glow colours.
- Created 4 modes of medkit drop and random of these modes.
- Added lifetime and animation for step drop (by
MayroN).
- Fixed small bugs.
New cvars added and fixed:
kit_pick (0-4):
0 - random selection of 4 modes in every round. The chat message informs player about selected mode.
1 - medkits can be picked by opposite team only (
red /
blue medkit glow + team colour fadescreen)
2 - medkits can be picked by partner team only (
red /
blue medkit glow + team colour fadescreen)
3 - medkits can be picked by anyone (
white medkit glow +
white colour fadescreen)
4 - random pickup rules for every medkit (glow colour shows what team can take the medkit:
red for T,
blue for CT or
white for both teams)
kit_prob (0-1): turn on / off probability of medkits in 4th kitpick mode.
kit_prob_pc
a b c: nums of that probability in percents (
a - for T;
b - for both teams;
c - for CT).
kit_res (0-1): turn on / off 4 medkit types for healing HP. If off-mode activated, there's only 1 type of medkit.
kit_res_pc
a b c d: nums of that probability in percents:
1st type - low (healing - 0,01-25,00 % HP; probability - a %);
2nd - medium (healing - 25,01-50,00 % HP; probability - b %);
3rd - high (healing - 50,01-100,00 % HP; probability - c %);
4th - extra (healing - 100 % HP; probability - d %).
kit_hp
a b: min (a) and max (b) healing HP in percents for kit_res 0 (off-mode).
kit_msg (0-1): turn on / off HUD-message of healing information.
kit_tc (0-1): turn on / off team glow colour for fadescreen and HUD-message in 3rd and 4th medkit mode when player take
medkit with white glow.
kit_lifetime: timelimit of medkit staying on the map (in seconds). For value 0 the medkit lies for the specified deadline by the kit_del_resp.
kit_drop_step: radius of medkit drop.
Replacing cvars:
kit_del → kit_del_resp.
Thanks
MayroN, sites
amx-x.ru,
c-s.net.ua for the great help in finding models, bug fixing and optimizing code.