AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP50] C.A.T Armor System (Update 1.1) (https://forums.alliedmods.net/showthread.php?t=215953)

Catastrophe 05-14-2013 11:25

[ZP50] C.A.T Armor System (Update 1.1)
 
1 Attachment(s)
Description:-

As we all know Armor is a very important part of zombieplague. For any version. It defends from infection and gives a chance for humans to survive. But on the Contrary , i'v also been to and seen servers where people buy lots of armor and become Invincible for zombies to kill them. So i developed this Advanced Armor System.

What it basically does is gives the players a chance to Earn Armor, and not buy it (I STRICTLY recommend removing armor from Extra Items Menu with this plugin). The Armor saves automatically which they have earned , and they can withdraw their armor. But for a twist , withdrawn armor can't be deposited back. It's basically a kind of an armor bank.

Players Earn armor by killing zombies(There will be more options with more updates) , They can withdraw armor by saying /ua <amount>. They can check armor that they have by saying /myarmor(for ppl who dont wanna use this command i have added an extra HUD system).

Almost everything is configurable by cvars . Also killing Nemesis will give u more armor than normal kills

This plugin is completely for humans. it has nothing to do with ZOMBIES !

Credits : -

Me entirely for code + Idea

To do :-

Nothing.

NOTE:-

I also recommend you to use this plugin and remove Armor from map armories so that there is absolutely no source for the players of armor but the system.

http://forums.alliedmods.net/showthread.php?p=458317

Known Bugs :-

None .... Be sure to report if u find any..... :)


At this point any suggestions are welcomed

CVARS : -


zp_cat_limit_armor - simple armor limit (def - 500)
zp_cat_savetype - save type (1- Authid, 2-Ip , 3-Nick)
zp_cat_zmkill_armor - how much armor per kill (def - 1)
zp_cat_nemkill_armor - how much armor on nemesis kill (def - 5)
zp_cat_show_hud - wether or not to show hud info of armor stock (def - 1 , 1 = yeah, 0 = no)
zp_cat_take_before_roundstart - If players are allowed to take armor only before round start (def - 1 , 1 = yeah , 0 = no)
zp_cat_least_take_armor - Least armor needed to be withdrawn for a transaction to take place ( def - 20)
zp_cat_infect_armor - How much to give armor for infecting players (def - 0 )
zp_cat_damage_required - How much damage required to gain 1 armor point (def - 600) (set it to zero to disable this feature)


Changelog:-
v1.0 - Release
v1.1 - Fixed a bug where the guy who is infected gets the bonus , and not the infector.... added the damage part.

Catastrophe 05-15-2013 08:35

Re: [ZP50] C.A.T Armor System
 
Can any1 help me with this ? "To do :-

Add a damage system where doing damage can earn u armor."

Egan 05-15-2013 09:54

Re: [ZP50] C.A.T Armor System
 
cool +1

Catastrophe 05-15-2013 11:47

Re: [ZP50] C.A.T Armor System
 
Thank you :)

RateX 05-16-2013 04:37

Re: [ZP50] C.A.T Armor System
 
Cool plugin, gj :)
For the damage system, take a look at either 4.3 or 5.0 source code ;)

firstride 05-16-2013 07:09

Re: [ZP50] C.A.T Armor System
 
Cool idea. I works on zombie plague advance ? or you can make it ... ?

ShadyLTD 05-16-2013 15:54

Re: [ZP50] C.A.T Armor System
 
Very interesting. I'd use this, but I don't use ZP5.0 nor will I convert to it anytime soon.

Catastrophe 05-18-2013 04:18

Re: [ZP50] C.A.T Armor System
 
Quote:

Cool plugin, gj :)
For the damage system, take a look at either 4.3 or 5.0 source code ;)
Thnxx i'll try

Quote:

Cool idea. I works on zombie plague advance ? or you can make it ... ?
Not tested on ZPA neither do i code for ZPA ... so plzz ask sm1 who us familiar with ZPA to convert or do it by yourself :)

Quote:

Very interesting. I'd use this, but I don't use ZP5.0 nor will I convert to it anytime soon.
Ok since u r so interested i'll try... w8 a while...

EDIT: - I tried it with zp50's .sma code (adding damage system) but it wont work. can sm1 give me more detailed info

TY for try RateX :))

Catastrophe 05-18-2013 04:34

Re: [ZP50] C.A.T Armor System
 
1 Attachment(s)
Ok so here, is the ZP43 version : -

Enjoy all : -

being noob 05-18-2013 09:30

Re: [ZP50] C.A.T Armor System
 
good idea
converted from zp ammo bank


All times are GMT -4. The time now is 14:47.

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