Raised This Month: $51 Target: $400
 12% 

Subplugin Submission [ZP] Extra Item: Elemental [Fire & Ice]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Perfect Scrash
Senior Member
Join Date: Aug 2013
Location: Brazil
Old 05-27-2014 , 21:07   [ZP] Extra Item: Elemental [Fire & Ice]
Reply With Quote #1

[ZP] Extra Item: Elemental [Fire & Ice]

Credits:
* [P]erfec[T] [S]cr[@]s[H]: For ZP 4.3, ZPA, ZP Shade, ZP Special Version
* metallicawOw: Thanks for the Nitrogen Galil's Code
* Javivi: Thanks for the Flame XM1014's Code
* Catastrophe: For ZP 5.0 Version
* Nightmare: For Elemental's Weapon Model
* Sergio #: For Fixed Some bugs

Description:
Take shots of fire & ice in zombies

Required Modules:
amxmodx
hamsandwich
fakemeta
cstrike

Cvars:
Code:
zp_elemental_dmg_multiplier "3"  // Elemental Damage Multipler
zp_elemental_custom_model "1"  // Custom Model (0 - Off | 1 - On)
zp_elemental_unlimited_clip "1" // Unlimited Clip (0 - Off | 1 - On)
zp_elemental_tracers "1"  // Tracer? (0 - Off | 1 - On)
zp_elemental_frost_time "5.0" // Time will be frozen
zp_elemental_fire_dmg "10"  // Fire Damage (When burning the zm)
zp_elemental_fire_time "12"   // Time will be burning
zp_elemental_fire_nem_time "5"  // Time the Nemesis / Assassin wrath Staying Burning
zp_elemental_delay "4.0"  // Time that led to the zm be burned again
zp_elemental_fire_minhp "50" // Minimum HP for Zombie Burn
zp_elemental_one_round "1"  // The Elemental should be 1 round? (1 - On | 0 - Off)
zp_elemental_buy_limit "3"   // Buy Limit Per Round
Screenshot:





Change Logs:
Quote:
1.0:
* First Relase

1.1:
* Added Version for ZP 4.3 Fix 5a
* More Realistic from this weapon
* Added Limit Cvar

1.1 Fix (For ZP 5.0 Only):
* Bpammo Fixed
* Burning duration's cvar Fixed
* Bug when buy any extra item you give elemental

1.2:
* Fixed Buy Limit (All Versions)
* Fixed removefire task (ZP 4.3 Fix 5a Only)
* Added Version for ZP Shade and ZP Special

1.2 Fix (For ZP 5.0 Only):
* Fixed error logs

1.3:
* Fixed Invalid player Error Log(s)
Attached Files
File Type: zip models.zip (2.78 MB, 2948 views)
File Type: sma Get Plugin or Get Source (zp43_extra_elemental.sma - 2340 views - 20.6 KB)
File Type: sma Get Plugin or Get Source (zp50_extra_elemental.sma - 2055 views - 14.0 KB)
File Type: sma Get Plugin or Get Source (zpa_extra_elemental.sma - 2023 views - 20.6 KB)
File Type: sma Get Plugin or Get Source (zps_extra_elemental.sma - 1319 views - 14.1 KB)
File Type: sma Get Plugin or Get Source (zpsp_extra_elemental.sma - 1547 views - 13.8 KB)
__________________

Last edited by Perfect Scrash; 05-07-2016 at 18:57. Reason: Update 07/05/2016
Perfect Scrash is offline
Send a message via Skype™ to Perfect Scrash
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 05-28-2014 , 15:04   Re: [ZP] Extra Item: Elemental [Fire & Ice]
Reply With Quote #2

Gj, thx for share...
wicho is offline
being noob
Senior Member
Join Date: Jan 2012
Location: Hindustan!!
Old 05-28-2014 , 15:29   Re: [ZP] Extra Item: Elemental [Fire & Ice]
Reply With Quote #3

great !
__________________
<3<3
being noob is offline
DonKisgot
Senior Member
Join Date: Dec 2010
Old 05-28-2014 , 19:15   Re: [ZP] Extra Item: Elemental [Fire & Ice]
Reply With Quote #4

Plugin seems working , server downloads the models etc. But the weapon didn't showed on Extraitem menu ?

Using ZP 4.3 Fix 5.a New Natives
DonKisgot is offline
Perfect Scrash
Senior Member
Join Date: Aug 2013
Location: Brazil
Old 05-28-2014 , 20:07   Re: [ZP] Extra Item: Elemental [Fire & Ice]
Reply With Quote #5

Try!
Attached Files
File Type: sma Get Plugin or Get Source (zp_fix5a_extra_elemental.sma - 1441 views - 12.6 KB)
Perfect Scrash is offline
Send a message via Skype™ to Perfect Scrash
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 05-29-2014 , 11:08   Re: [ZP] Extra Item: Elemental [Fire & Ice]
Reply With Quote #6

You used my method to define whether a player is burning or frozen is fw_takedamage, it's a chance based method (not only in zp50 version), which is quite outdated since i made the code a long time ago. u shud try and figure our better method which is not chance based (not that i dont know how to do it ), because with chance based methods the gun isnt realistic, it will shoot a yellow tracer but freeze or shoot a blue tracer but burn, many time this will happen. so just try to update you method with variables or any other non chance based method (It will just make the plugin more realistic)

Also i can see u added more cvars and code info, GJ. ;)
__________________
You will find everything u need :-

Last edited by Catastrophe; 05-29-2014 at 11:09.
Catastrophe is offline
DonKisgot
Senior Member
Join Date: Dec 2010
Old 05-29-2014 , 12:20   Re: [ZP] Extra Item: Elemental [Fire & Ice]
Reply With Quote #7

@perfect scrash , Now it's working. Thanks for the fix.

BTW can you put a limit for this weapon?

Only 3 Human can buy this weapon , if 20 human bought it , zombies just can't move
DonKisgot is offline
Perfect Scrash
Senior Member
Join Date: Aug 2013
Location: Brazil
Old 05-29-2014 , 20:01   Re: [ZP] Extra Item: Elemental [Fire & Ice]
Reply With Quote #8

Plugin Updated !!

View Change Logs
Perfect Scrash is offline
Send a message via Skype™ to Perfect Scrash
Depresie
Veteran Member
Join Date: Nov 2013
Old 05-29-2014 , 21:09   Re: [ZP] Extra Item: Elemental [Fire & Ice]
Reply With Quote #9

niceeee i will give it a try..
Later Edit :

you should set bp ammo .. and the model is a little buggy

Last edited by Depresie; 05-29-2014 at 21:38.
Depresie is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 05-30-2014 , 03:35   Re: [ZP] Extra Item: Elemental [Fire & Ice]
Reply With Quote #10

Hm... i see u added proper animation to proper shot, pretty cool, but You still forgot to make the right colored tracer, for eg. it might happen that it will fire a freeze bullet and with the left barrel (Credits to you) but it will shoot a yellow tracer.

Also u did not update the zp50 code.
But really good work with the animations
__________________
You will find everything u need :-
Catastrophe is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:03.


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