Raised This Month: $32 Target: $400
 8% 

Subplugin Submission [ZP] Extra Item: Crossbow v1.7 (Updated 11.10.2009)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 08-23-2009 , 10:25   [ZP] Extra Item: Crossbow v1.7 (Updated 11.10.2009)
Reply With Quote #1

--- Intro ---
This is Crossbow from HL.It costs 25 Ammo packs(default).To attack press attack1
button, to use zoom press attack2.If you shoot while zooming crossbow just hit enemy/
wall, but if you are shooting without zoom bolt will explode and do more damage.
You have 10 bolts in a clip and 50 in a back pack.From version 1.5 avaiable is alternative(see ZIP file below)
model.

--- Credits ---
NiHiLaNTh - Plugin
VEN - Finding weapon entities
Arkshine - Ham_Item_Deploy and getting fov.
meTaLiCroSS - For weapon touch/Weapon drop after death
Scorpieo - Alternative crossbow model

--- Changelog ---
HTML Code:
    v1.0 - First release
    v1.1 - Fixed : ammo was not updated correctly, optimized bolt flight, crap runtime error
    v1.2 - Fixed some little bugs
    v1.3 - Fixed small bug
    v1.4 - Fixed bug when player could reload infinite times
         - Fixed bug with score info
         - Added knockback from explosion
    v1.5 - Fixed bug where player were damaged and knockbacked, even he were not in radius     
         - Fixed bug where player with godmode still could get damage
         - Fixed bug where player could reload with full clip
         - Fixed bug where player couldn't purchase crossbow after using antidote
         - Added bleed stuff
         - Added alternative model
         - Fixed bug where player could shoot while reloading
    v1.6 - Improved damage calculation system for exploding bolt
         - Added CVAR for crossbow one-round-only keeping
         - Improved damage detection system for normal bolt
         - Fixed bug with crossbow drop after death
         - Some minor optimizations/changes
    v1.7 - Added knockback CVAR
         - Improved knockback from explosion
         - Fixed bug with score info(thanks sweet)
         - Optimized code a bit
    
Any suggestions/improvements are welcome

COST: 25
TEAMS: Human


--- CVARS: ---
zp_crossbow_damage 175 -- Damage done by explosion
zp_crossbow_damage2 300 -- Damage done by bolt
zp_crossbow_radius 75 -- Crossbow radius
zp_crossbow_one_round 1 -- If set to 1 after round end all players who had crossbow will loose it; else will be ignored
zp_crossbow_knockback 10 -- Explosion knockback power

--- Screenshot ---


v.1.3 - 121 views
v.1.4 - 96. views
v.1.5 - 137 views
v1.6 - 96 views

--- Good Luck & Have Fun ;) ---
Attached Files
File Type: zip alternative.zip (150.0 KB, 9042 views)
File Type: sma Get Plugin or Get Source (zp_extra_crossbow17.sma - 11297 views - 27.6 KB)
__________________


Last edited by NiHiLaNTh; 10-12-2009 at 10:37. Reason: Shit happens!!!
NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 08-23-2009 , 11:04   Re: [ZP] Extra Item: Crossbow v1.2
Reply With Quote #2

I found a bug:
When you drop the crossbow and want to buy another, said that already have one
__________________
alan_el_more is offline
molotovas
Senior Member
Join Date: Jan 2008
Old 08-23-2009 , 11:05   Re: [ZP] Extra Item: Crossbow v1.2
Reply With Quote #3

many bugs... ok when i buy it i can't shoot, when change back to first gun ant change back again Crossbow skin awp and shot with arrows... when i drop it can't take it, other players can take it back from ground and if i want buy write already i have it... plz fix it.. sorry for bad english.

Last edited by molotovas; 08-23-2009 at 11:08.
molotovas is offline
Old 08-23-2009, 11:06
molotovas
This message has been deleted by molotovas.
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 08-23-2009 , 11:20   Re: [ZP] Extra Item: Crossbow v1.2
Reply With Quote #4

Quote:
Originally Posted by alan_el_more View Post
I found a bug:
When you drop the crossbow and want to buy another, said that already have one
Fixed

Quote:
Originally Posted by molotovas View Post
many bugs... ok when i buy it i can't shoot, when change back to first gun ant change back again Crossbow skin awp and shot with arrows...
wtf? I didn't saw this before

Quote:
Originally Posted by molotovas View Post
when i drop it can't take it
If you drop crossbow, but in the same time you're holding another primary gun(such as M4a1,ak47 etc.) you won't pick ut up

Quote:
Originally Posted by molotovas View Post
other players can take it back from ground and if i want buy write already i have it
I said about that above
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
molotovas
Senior Member
Join Date: Jan 2008
Old 08-23-2009 , 11:29   Re: [ZP] Extra Item: Crossbow v1.2
Reply With Quote #5

first when i buy it show me Crossbow skin, when i change to other gun and back again Crossbow show me what i have awp not Crossbow, but shoot awp with arrows :d
molotovas is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 08-23-2009 , 14:43   Re: [ZP] Extra Item: Crossbow v1.2
Reply With Quote #6

Quote:
Originally Posted by molotovas View Post
first when i buy it show me Crossbow skin, when i change to other gun and back again Crossbow show me what i have awp not Crossbow, but shoot awp with arrows :d
Thats weird.I do what you said but model doesn't change.
__________________


Last edited by NiHiLaNTh; 08-23-2009 at 14:43. Reason: LOL
NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
molotovas
Senior Member
Join Date: Jan 2008
Old 08-23-2009 , 14:50   Re: [ZP] Extra Item: Crossbow v1.2
Reply With Quote #7

Quote:
Originally Posted by NiHiLaNTh View Post
Thats weird.I do what you said but model doesn't change.
i can do screen if you want :/
molotovas is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 08-23-2009 , 16:24   Re: [ZP] Extra Item: Crossbow v1.2
Reply With Quote #8

Where is my Credits?
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 09-07-2009 , 14:10   Re: [ZP] Extra Item: Crossbow v1.4 (Updated 7.09)
Reply With Quote #9

Plugin updated to version 1.4.Read first post
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
N3messys
BANNED
Join Date: Jul 2009
Old 09-07-2009 , 15:09   Re: [ZP] Extra Item: Crossbow v1.4 (Updated 7.09)
Reply With Quote #10

Nice work.Now I test it .
N3messys 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 19:29.


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