AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP] Extra Item: Dispenser v2.3(Updated 11.10.2009) (https://forums.alliedmods.net/showthread.php?t=99164)

NiHiLaNTh 08-02-2009 07:26

[ZP] Extra Item: Dispenser v2.3(Updated 11.10.2009)
 
4 Attachment(s)
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:
http://forums.alliedmods.net/%5BURL=...G%5D%5B/URL%5D http://forums.alliedmods.net/%5BURL=...G%5D%5B/URL%5Dhttp://i048.radikal.ru/0908/a7/ea586c4f7455t.jpg


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

ifx 08-02-2009 09:12

Re: [ZP] Extra Item: Dispenser
 
can you modify your plugin, so players can gain armor + health from dispenser, not the ammo. Cause in my server all players have unlimited ammo.
----------
upd: thank you so much!

upd2:
zp_extra_dispenser_hp&ap.sma failed to compile.

Kukulis :* 08-02-2009 13:00

Re: [ZP] Extra Item: Dispenser
 
Lithuanian translation.
Code:

[lt]
NOTICE1 = [ZP] Jus nupirkote 2 Farmacininkus
NOTICE2 = [ZP] Norint pamatyti Farmacininko meniu reikia spausti 'X' mygtuka
WARN_DEAD = Negyvi zmonės negali panaudoti Farmacininko!
WARN_ZOMB = Zombiai negali panaudoti to!
WARN_WATER = Jus negalite pastatyti Farmacininko po vandeniu!
WARN_BUY = Nupirkite Farmacininka is pradziu!
WARN_DUCK = Jus negalite pastatyti Farmacininko sokinedami
WARN_WALL = Jus norite, kad pastatytu Farmacininka sienoje?


denwer 08-02-2009 13:52

Re: [ZP] Extra Item: Dispenser
 
Polish translation:
Code:

[pl]
NOTICE1 = [ZP] Kupiles 2 Dyspensery
NOTICE2 = [ZP] Zeby zobaczyc menu Dyspensera wcisnij klawisz 'X'
WARN_DEAD = Umarli nie moga uzywac Dyspensera!
WARN_ZOMB = Zombi nie moga tego uzywac!
WARN_WATER = Nie mozesz wybudowac Dyspensera pod woda!
WARN_BUY = Najpierw kup Dyspenser!
WARN_DUCK = Nie mozesz wybudowac Dyspensera kucajac.
WARN_WALL = Chcesz wybudowac Dyspenser na scianie?


Darjto 08-02-2009 14:29

Re: [ZP] Extra Item: Dispenser
 
Spanish translation.

Code:

[es]
NOTICE1 = [ZP] Usted compró 2 dispensadores
NOTICE2 = [ZP] Para ver el menu del dispensador presione la letra 'X'
WARN_DEAD = Los muertos no pueden utilizar el dispensador!
WARN_ZOMB = Los zombies no pueden utilizar el dispensador!
WARN_WATER = No se puede construir un dispensador bajo el agua!
WARN_BUY = Primero compra un dispensador!
WARN_DUCK = No se puede construir un dispensador al mismo tiempo que se lo elude
WARN_WALL = Usted quiere construir un dispensador en la pared?

Thanks for the plugin.

tempito 08-02-2009 19:59

Re: [ZP] Extra Item: Dispenser
 
screenshots please

Clear 08-03-2009 13:57

Re: [ZP] Extra Item: Dispenser
 
is posible to make 2 in 1 ammo for gun and armor health then you press x you will get menu what station you can whant build
1 armor
2 ammo
3 health

lobopack23 08-03-2009 15:22

Re: [ZP] Extra Item: Dispenser
 
this is crazy dude...good work..best zp plugin so far xD

lobopack23 08-03-2009 15:24

Re: [ZP] Extra Item: Dispenser
 
Quote:

Originally Posted by Darjto (Post 888551)
Spanish translation.

Code:

[es]
NOTICE1 = [ZP] Usted compró 2 dispensadores
NOTICE2 = [ZP] Para ver el menu del dispensador presione la letra 'X'
WARN_DEAD = Los muertos no pueden utilizar el dispensador!
WARN_ZOMB = Los zombies no pueden utilizar el dispensador!
WARN_WATER = No se puede construir un dispensador bajo el agua!
WARN_BUY = Primero compra un dispensador!
WARN_DUCK = No se puede construir un dispensador al mismo tiempo que se lo elude
WARN_WALL = Usted quiere construir un dispensador en la pared?

Thanks for the plugin.

WARN_BUY = Se Necesita comprar un dispensador primero!

NiHiLaNTh 08-04-2009 03:58

Re: [ZP] Extra Item: Dispenser
 
Quote:

Originally Posted by lobopack23 (Post 889390)
this is crazy dude...good work..best zp plugin so far xD

Thank you all


All times are GMT -4. The time now is 04:43.

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