AlliedModders

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

NiHiLaNTh 08-23-2009 10:25

[ZP] Extra Item: Crossbow v1.7 (Updated 11.10.2009)
 
2 Attachment(s)
--- 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 ---

http://s41.radikal.ru/i092/0908/df/19124a22bedet.jpg
v.1.3 - 121 views
v.1.4 - 96. views
v.1.5 - 137 views
v1.6 - 96 views

--- Good Luck & Have Fun ;) ---

alan_el_more 08-23-2009 11:04

Re: [ZP] Extra Item: Crossbow v1.2
 
I found a bug:
When you drop the crossbow and want to buy another, said that already have one

molotovas 08-23-2009 11:05

Re: [ZP] Extra Item: Crossbow v1.2
 
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.

NiHiLaNTh 08-23-2009 11:20

Re: [ZP] Extra Item: Crossbow v1.2
 
Quote:

Originally Posted by alan_el_more (Post 910179)
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 (Post 910181)
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 (Post 910181)
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 (Post 910181)
other players can take it back from ground and if i want buy write already i have it

I said about that above

molotovas 08-23-2009 11:29

Re: [ZP] Extra Item: Crossbow v1.2
 
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

NiHiLaNTh 08-23-2009 14:43

Re: [ZP] Extra Item: Crossbow v1.2
 
Quote:

Originally Posted by molotovas (Post 910199)
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.

molotovas 08-23-2009 14:50

Re: [ZP] Extra Item: Crossbow v1.2
 
Quote:

Originally Posted by NiHiLaNTh (Post 910419)
Thats weird.I do what you said but model doesn't change.

i can do screen if you want :/

meTaLiCroSS 08-23-2009 16:24

Re: [ZP] Extra Item: Crossbow v1.2
 
Where is my Credits? :evil:

NiHiLaNTh 09-07-2009 14:10

Re: [ZP] Extra Item: Crossbow v1.4 (Updated 7.09)
 
Plugin updated to version 1.4.Read first post

N3messys 09-07-2009 15:09

Re: [ZP] Extra Item: Crossbow v1.4 (Updated 7.09)
 
Nice work.Now I test it :D.


All times are GMT -4. The time now is 15:45.

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