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

Crossbow v2.1


Post New Thread Reply   
 
Thread Tools Display Modes
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, 11702 views)
File Type: sma Get Plugin or Get Source (amx_crossbow21.sma - 12841 views - 33.0 KB)
File Type: txt amx_crossbow.txt (1.1 KB, 6309 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
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 10-25-2009 , 14:50   Re: Crossbow v2.0
Reply With Quote #2

LOL! Very good!
__________________
<VeCo> is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 10-25-2009 , 14:52   Re: Crossbow v2.0
Reply With Quote #3

This plugin needs a lot of optimizations.
__________________
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 10-25-2009 , 14:56   Re: Crossbow v2.0
Reply With Quote #4

Quote:
Originally Posted by meTaLiCroSS View Post
This plugin needs a lot of optimizations.
and they are....?
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Old 10-25-2009, 14:58
Asd'
This message has been deleted by Asd'.
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 10-25-2009 , 15:01   Re: Crossbow v2.0
Reply With Quote #5

Quote:
Originally Posted by Asd' View Post
Screen shots?
after the changelog..
__________________
<VeCo> is offline
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 10-25-2009 , 16:03   Re: Crossbow v2.0
Reply With Quote #6

Quote:
Originally Posted by meTaLiCroSS View Post
This plugin needs a lot of optimizations.
and I think that this plugin already exists.
KadiR is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 10-25-2009 , 16:37   Re: Crossbow v2.0
Reply With Quote #7

Quote:
Originally Posted by KadiR View Post
and I think that this plugin already exists.
Yes: http://forums.space-headed.net/viewtopic.php?f=25&t=339
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-25-2009 , 16:59   Re: Crossbow v2.0
Reply With Quote #8

This version is not well done, meTaLiCroSS. I mean it's not done exactly like in HL.
__________________

Last edited by Arkshine; 10-25-2009 at 17:01.
Arkshine is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 10-26-2009 , 03:33   Re: Crossbow v2.0
Reply With Quote #9

Quote:
Originally Posted by KadiR View Post
and I think that this plugin already exists.
That plugin requires WeaponMod.This plugin requires default modules only
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-26-2009 , 05:22   Re: Crossbow v2.0
Reply With Quote #10

Yours is not well coded too.
__________________
Arkshine 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 11:37.


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