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

[CSS & CSGO] Throwing Knives


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Plugin ID:
4773
Plugin Version:
2016-5-20
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Add throwing knives to css and csgo.
    Old 08-11-2015 , 04:56   [CSS & CSGO] Throwing Knives
    Reply With Quote #1

    (Not fully) Replica of @meng original plugin [CSS] Throwing Knives

    Free to try! Come test this!

    feedback & comments !
    - Pls, mention which game ?

    Small features:
    - Not create throwing knive if player slash another player.
    - Creates ricochet effect when knives collide to each other.
    - Knives stay longer on field, max 30 sec if not collide with player or another knive.
    - Throwing knive model is selected by player own knive world model what he/she carry, otherwise default model.


    cvars:
    Code:
    weapon_reticle_knife_show "1" // CSGO, enable crosshair when knive
    sm_throwingknives_count		"3"	//Amount of knives players spawn with. 0 = Disable, -1 = infinite
    sm_throwingknives_steal		"1"	//If enabled, knife kills get the victims remaining knives.
    sm_throwingknives_velocity	"2250"	//Velocity (speed) adjustment.
    sm_throwingknives_damage	"57"	//Damage adjustment.
    sm_throwingknives_hsdamage	"127"	//Headshot damage adjustment.
    sm_throwingknives_modelscale	"1.0"	//Knife size scale
    sm_throwingknives_gravity	"1.0"	//Knife gravity scale
    sm_throwingknives_elasticity	"0.2"	//Knife elasticity
    sm_throwingknives_maxlifetime	"1.5"	//Knife max life time, 1 - 30 sec
    sm_throwingknives_trails	"1"	//Knive leave trail effect
    sm_throwingknives_admins	"0"	//Admins only when enabled, who have access to admin override "throwingknives", flag "o" by default

    Missing:
    - most cvars and damage, trails settings.
    - dev, callbacks and forwards

    Bugs I know:
    - When previous throwing knive hit player as same time you try throw new knive, not gonna happen. *fixed...

    Note:
    I started build this plugin from scratch because original is so messy and have annoying bugs in csgo.
    Replaced SoundHook with SDKHook touch.
    Replace point_hurt entity with SDKHooks_TakeDamage.
    Replace flashbang_projectile with smokegrenade_projectile, flashbang did get detonated when hit wall...
    etc. etc.

    Future:
    - support dod:s ??

    update 2016-5-20:


    update 2016-2-11:


    update 2015-9-27:


    update 2015-8-15:


    update 2015-8-12:











    Remember rate this topic !!
    https://forums.alliedmods.net/showth...o_threadrating
    Attached Files
    File Type: sp Get Plugin or Get Source (throwingknives.sp - 3983 views - 11.7 KB)

    Last edited by Bacardi; 05-20-2016 at 10:34. Reason: update 2016-5-20
    Bacardi is offline
     


    Thread Tools
    Display Modes

    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 16:04.


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