Raised This Month: $12 Target: $400
 3% 

[CSS & CSGO] Throwing Knives


Post New Thread Reply   
 
Thread Tools Display Modes
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 - 3963 views - 11.7 KB)

    Last edited by Bacardi; 05-20-2016 at 10:34. Reason: update 2016-5-20
    Bacardi is offline
    Maxximou5
    AlliedModders Donor
    Join Date: Feb 2013
    Old 08-11-2015 , 05:17   Re: [CSS & CSGO] Throwing Knives (2015-8-11)
    Reply With Quote #2

    Yes! Going to try this out for my scoutzknivez servers, should be interesting.
    Just too bad you didn't comment in English, oh well.
    Maxximou5 is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 08-11-2015 , 06:02   Re: [CSS & CSGO] Throwing Knives (2015-8-11)
    Reply With Quote #3

    Quote:
    Originally Posted by Maxximou5 View Post
    ...
    Just too bad you didn't comment in English, oh well.
    I add this behind my ear
    Bacardi is offline
    NightmareDK
    Junior Member
    Join Date: Nov 2012
    Old 08-11-2015 , 08:06   Re: [CSS & CSGO] Throwing Knives (2015-8-11)
    Reply With Quote #4

    Counter Strike: Source here.
    any change to make it fly until it hit something, like in the old one.

    Keep up the good work


    Kind regards
    Nightmare

    Last edited by NightmareDK; 08-11-2015 at 08:52. Reason: forgot something :)
    NightmareDK is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 08-11-2015 , 09:03   Re: [CSS & CSGO] Throwing Knives (2015-8-11)
    Reply With Quote #5

    add to do list.


    In CSGO,
    have anyone experience server crashes after loading this plugin on server ?
    I haven't in my test server (os windows) but one other server crash randomly (os linux), not sure it is this plugin.

    *edit
    And any errors from SM logs or server console output would be nice to get.

    *edit
    Now I guess it's somekind rank plugin not like this.

    Last edited by Bacardi; 08-11-2015 at 14:04.
    Bacardi is offline
    8guawong
    AlliedModders Donor
    Join Date: Dec 2013
    Location: BlackMarke7
    Old 08-11-2015 , 09:44   Re: [CSS & CSGO] Throwing Knives (2015-8-11)
    Reply With Quote #6

    works on my linux test server no crash
    but the distance that the knife flies is kinda short :>

    Last edited by 8guawong; 08-11-2015 at 09:45.
    8guawong is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 08-11-2015 , 12:39   Re: [CSS & CSGO] Throwing Knives (2015-8-12)
    Reply With Quote #7

    Update 2015-8-12
    more cvars and settings, changed knive default speed, damages and life time.

    Last edited by Bacardi; 08-11-2015 at 12:41.
    Bacardi is offline
    m_bNightstalker
    Senior Member
    Join Date: Jan 2015
    Location: JWD
    Old 08-12-2015 , 06:27   Re: [CSS & CSGO] Throwing Knives (2015-8-12)
    Reply With Quote #8

    ...Cola. Cheers!
    m_bNightstalker is offline
    8guawong
    AlliedModders Donor
    Join Date: Dec 2013
    Location: BlackMarke7
    Old 08-12-2015 , 06:52   Re: [CSS & CSGO] Throwing Knives (2015-8-12)
    Reply With Quote #9

    can you explain some of the cvars?

    sm_throwingknives_damage does this mean how much damage will be dealt if hit by knife?
    sm_throwingknives_hsdamage does this mean how much damage will be dealth if hit by knife in the head?
    sm_throwingknives_elasticity not sure what knife elasticity means.....
    8guawong is offline
    poel
    Veteran Member
    Join Date: Mar 2013
    Old 08-12-2015 , 07:19   Re: [CSS & CSGO] Throwing Knives (2015-8-12)
    Reply With Quote #10

    Can we have youtube link ? I don't understand your plugin ^^"
    poel is offline
    Reply


    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 21:07.


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