Raised This Month: $ Target: $400
 0% 

Crossbow v2.1


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Exolent[jNr] (178)
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 10-25-2009 , 14:12   Crossbow v2.1
Reply With Quote #1

--- Introduction ---
This is Crossbow from HL.It costs 9000 $.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 5 bolts in clip and 25 in backpack.Also, there is avaiable alternative model (see .zip file below).From
v.2.1 avaiable is MulitLingual support

--- Requirements ---
Counter-Strike 1.6 (Don't know about Condition-Zero, but should work)
AmxModX 1.8.0 or higher
Cstrike,Engine,Fakemeta,Hamsandwich modules

--- Credits ---
NiHiLaNTh - Plugin
VEN - Finding weapon entities
Arkshine - Ham_Item_Deploy/getting fov/weapon animation
meTaLiCroSS - Weapon touch/Weapon drop after death
Scorpieo - Alternative crossbow model
ConnorMcLeod - Maxclip plugin
Nextra - Improvements
crazyeffect - ML / Dutch translation

--- CVARs ---
amx_crossbow 1 Enable(1) or disable(0) plugin
amx_crossbow_price 9000 Price of crossbow
amx_crossbow_damage 75 Damage done by explosion
amx_crossbow_damage2 90 Damage done by bolt
amx_crossbow_radius 175 Explosion radius
amx_crossbow_one_round 1 // 1 - one round; 0 - until player got killed
amx_crossbow_knockback 10 // Knockback power
amx_crossbow_buyzone 1 Crossbow buying only in buyzone(1) or everywhere on the map
amx_crossbow_kill_money 300 Money reward for killing enemy
amx_crossbow_tk_money 500 Money for team kill
amx_crossbow_admin 0 If 1 admins with spec.flag can purchase crossbow
amx_crossbow_teams 0 If 0 - both teams can buy crossbow; if 1 - T's only CAN buy; 2 - CT's only CAN buy

--- Client Commands ---
amx_crossbow_give <nick> - Give crossbow for specified player (ADMIN_CVAR required)

Chat commands:
say /xbow
say /crossbow

--- Changelog ---
Code:
v1.0 - First release
v1.1 - Fixed bug where ammo was not updated correctly
     - Optimized bolt flight
     - Fixed crap runtime error
v1.2 - Fixed some little bugs(ammo on zooming was not updated)
v1.3 - Fixed bug with drop
v1.4 - Fixed bug where 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
     - Optimized code a bit        
v2.0 - Rewrited for non-zp usage     
     - Added a lot of cvars
     - Minor changes
v2.1 - Made some improvements
     - Added ML

--- Screenshot ---



Attached Files
File Type: zip alternative.zip (150.0 KB, 11743 views)
File Type: sma Get Plugin or Get Source (amx_crossbow21.sma - 12880 views - 33.0 KB)
File Type: txt amx_crossbow.txt (1.1 KB, 6332 views)
__________________


Last edited by NiHiLaNTh; 10-27-2009 at 17:54. Reason: Updated to 2.1
NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
 



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 18:23.


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