--- 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 ;) ---