View Single Post
Author Message
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 08-02-2009 , 07:26   [ZP] Extra Item: Dispenser v2.3(Updated 11.10.2009)
Reply With Quote #1

Cost: 25 Ammo Packs
Teams: Human

--- Intro ---
I took this idea from Team Fortress Classic.
Dispenser is buidling which can give ammo or HP/AP or ammo.To get all this stuff
you must touch Dispenser.To see Dispenser menu press 'X' key.Also there is
ML support.From version 2.2 you can choose what you want gain
from Dispenser(Health/Armor) and plugin type (Extra Item/Addon).

--- Credits ---
NiHiLaNTh - plugin
Kukulis_:* - Lithuanian translation
denwer/MmikiM - Polish translation
Javivi - Spanish translation
Johhny Got His Gun - his Sentry Gun plugin
tempito - Suggestions
Arkshine - Breakmodel flags
D o o m - German translation
crazyeffect- Dutch translation
i.898.i - Slovak translation/Lithuanian translation(3 lines)
Dark_Menace - Danish translation


--- CVARs ---
zp_dispenser 1 - enables mod
zp_dispenser_health 500 - his health
zp_dispenser_maxbuilt 5 - how many Dispensers player gain
zp_dispenser_one_round 1 - if set to 1 Dispenser will disappear when round ends, in other cases it will disappear at mapchange
zp_dispenser_give 1 - If this cvar set to 1 Dispenser will give Ammo; If 2 - Health, If 3 - Armor, If 4 - Ammo packs

-- Changelog ---
Code:
v2.0 - First release
v2.1 - Added HP/AP 
v2.2 - Added some new Cvars
      - Fixed bug where dispenser can be destroyed no matter of Dispenser health
             cvar value
      - Added limit of dispensers
      - Minor optimizations
      - New features(Give ammo/health/armor..)
v.2.3 - Added ammo pack gain feature
      - Fixed 'unknown command' when Dispenser menu appeared
      - Fixed bug with admin access if addon was enabled
Screeshots:



Also there is Multi-Lingual support.Available are English, Russian ,and Latvian, Dutch, German, Lithuanian, Slovak, Polish, etc. translations

You can choose how do you want to see Dispenser mod in your server:
As admin only command or Extra Item.
To do this open sma and find. And uncomment/comment needed line
Code:
// What do you want?Uncomment/Comment ONE of the following
//#define ADDON // Admin only thing(server addon?)
#define EXTRA_ITEM // or Extra Item
If you want to change admin access needed to build dispenser, open sma and find
Code:
#define ACCESS_FLAG    ADMIN_CVAR // Admin access needed to build Dispenser
Attached Files
File Type: zip resources.zip (20.3 KB, 3247 views)
File Type: txt zp_dispenser.txt (5.2 KB, 2409 views)
__________________


Last edited by bibu; 08-21-2011 at 12:15. Reason: Update to 2.3
NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh