AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Crossbow v2.1 (https://forums.alliedmods.net/showthread.php?t=107360)

NiHiLaNTh 10-25-2009 14:12

Crossbow v2.1
 
3 Attachment(s)
--- 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 ---
http://s02.radikal.ru/i175/0910/ba/4c9115807e87t.jpg



<VeCo> 10-25-2009 14:50

Re: Crossbow v2.0
 
LOL! Very good! :)

meTaLiCroSS 10-25-2009 14:52

Re: Crossbow v2.0
 
This plugin needs a lot of optimizations.

NiHiLaNTh 10-25-2009 14:56

Re: Crossbow v2.0
 
Quote:

Originally Posted by meTaLiCroSS (Post 971975)
This plugin needs a lot of optimizations.

and they are....?

<VeCo> 10-25-2009 15:01

Re: Crossbow v2.0
 
Quote:

Originally Posted by Asd' (Post 971985)
Screen shots?

after the changelog..

KadiR 10-25-2009 16:03

Re: Crossbow v2.0
 
Quote:

Originally Posted by meTaLiCroSS (Post 971975)
This plugin needs a lot of optimizations.

and I think that this plugin already exists.

meTaLiCroSS 10-25-2009 16:37

Re: Crossbow v2.0
 
Quote:

Originally Posted by KadiR (Post 972067)
and I think that this plugin already exists.

Yes: http://forums.space-headed.net/viewtopic.php?f=25&t=339

Arkshine 10-25-2009 16:59

Re: Crossbow v2.0
 
This version is not well done, meTaLiCroSS. I mean it's not done exactly like in HL.

NiHiLaNTh 10-26-2009 03:33

Re: Crossbow v2.0
 
Quote:

Originally Posted by KadiR (Post 972067)
and I think that this plugin already exists.

That plugin requires WeaponMod.This plugin requires default modules only

Arkshine 10-26-2009 05:22

Re: Crossbow v2.0
 
Yours is not well coded too. :twisted:


All times are GMT -4. The time now is 11:23.

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