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

[CSS] Throwing Knives


Post New Thread Reply   
 
Thread Tools Display Modes
Rownan
Junior Member
Join Date: Jun 2013
Old 12-20-2014 , 18:59   Re: [CSS] Throwing Knives
Reply With Quote #391

Code:
// This file was auto-generated by SourceMod (v1.6.2)
// ConVars for plugin "cssthrowingknives.smx"


// Amount of knives players spawn with.
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "100.000000"
sm_throwingknives_count "2"

// Damage adjustment.
// -
// Default: "57"
// Minimum: "10.000000"
// Maximum: "200.000000"
sm_throwingknives_damage "200"

// Enable/disable dev. mode.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_throwingknives_dev "0"

// Knives remaining display location. 1 = Hint | 2 = Key Hint
// -
// Default: "1"
// Minimum: "1.000000"
// Maximum: "2.000000"
sm_throwingknives_display "1"

// Enable/disable plugin.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_throwingknives_enable "1"

// Headshot damage adjustment.
// -
// Default: "127"
// Minimum: "20.000000"
// Maximum: "200.000000"
sm_throwingknives_hsdamage "200"

// Set to "1" if using noblock for players.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_throwingknives_noblock "1"

// If enabled, knife kills get the victims remaining knives. 0 = Disabled | 1 = Melee kills only | 2 = All knife kills
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_throwingknives_steal "1"

// Enable/disable trail effect.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_throwingknives_trail "1"

// Velocity (speed) adjustment.
// -
// Default: "5"
// Minimum: "1.000000"
// Maximum: "10.000000"
sm_throwingknives_velocity "5"
Throwing Knives seem to hit the players but do no damage at all.
Rownan is offline
Send a message via Skype™ to Rownan
Chesterfield
Senior Member
Join Date: Apr 2013
Old 01-24-2015 , 10:23   Re: [CSS] Throwing Knives
Reply With Quote #392

Could someone fix it and make it compatible for CSGO!?
Chesterfield is offline
VJScope
Senior Member
Join Date: Jul 2012
Location: Finland
Old 02-26-2015 , 21:50   Re: [CSS] Throwing Knives
Reply With Quote #393

Quote:
Originally Posted by Chesterfield View Post
Could someone fix it and make it compatible for CSGO!?
It is kind of compatible if you download this version: https://forums.alliedmods.net/showth...125226&page=38

It doesn't work all the time and you have to play around with the cvars to get it work.

I think, I have located the problem but I don't have the time to figure out how to fix it. I think that this is an aiming problem. A good way to see this in action is to test a command called sm_blink. It should teleport you to a location that you are aiming at but sometimes it puts you inside walls and so on. This plugin seems to work in the same way in a sense that it registers the position that you are aiming at and if an enemy player is in those coordinates, it will register a hit.

This problem could be because CSGO has different dimensions than CSS. F.e. vents have to be bigger in CSGO than in CSS because the player model doesn't fit. I have created some maps and I noticed this when I translated some maps from CSS to CSGO.

So if someone wants to fix this problem, I would start from the calculations in code.
__________________
Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.

Last edited by VJScope; 02-26-2015 at 21:51.
VJScope is offline
Kaniff
Junior Member
Join Date: Feb 2015
Old 03-02-2015 , 14:52   Re: [CSS] Throwing Knives
Reply With Quote #394

Throwing knives seem to override required kills. So if required kills for level one is three kills, if you get a kill with a throwing knife it skips to level two. Any ideas on how to fix this? Thanks.

It is the same with regular knives as well. Not just throw knives.

edit:wiped everything it works now for some reason.

Last edited by Kaniff; 03-04-2015 at 14:30.
Kaniff is offline
Toledostoner
Junior Member
Join Date: May 2013
Old 06-21-2015 , 21:29   Re: [CSS] Throwing Knives
Reply With Quote #395

In Css Gungame, our last lvl is Knife. Everyone loves this mod in the server ,But im wondering/curious is there a way to disable the throwing knives when a player reaches that last lvl?
Toledostoner is offline
alencore
Senior Member
Join Date: Oct 2011
Old 08-25-2015 , 09:19   Re: [CSS] Throwing Knives
Reply With Quote #396

Is there a dm-free for all ...version for this?
alencore is offline
crookedview
Junior Member
Join Date: May 2013
Old 12-14-2015 , 22:16   Re: [CSS] Throwing Knives
Reply With Quote #397

Quote:
Originally Posted by alencore View Post
Is there a dm-free for all ...version for this?
Curious about this also. Using this mod with CSS:DM and throwing knives at teammates does no damage :(.

Last edited by crookedview; 12-14-2015 at 22:16.
crookedview is offline
sppL.sUiCiDeR
Junior Member
Join Date: Mar 2008
Old 02-01-2016 , 16:09   Re: [CSS] Throwing Knives
Reply With Quote #398

I am looking for a version of this that allows throwing knives to specific tags. For example, throwing knives for Admins only or VIPs only. Any help would be appreciated.
sppL.sUiCiDeR is offline
twpower
Junior Member
Join Date: Mar 2019
Old 03-15-2019 , 03:05   Re: [CSS] Throwing Knives
Reply With Quote #399

有時候 射出去的小刀 打不死人
Sometimes a knife that shoots out can’t kill people.
有時又可以
甚至 有時命中 敵人 卻沒傷害
Sometimes you can
Even sometimes hit the enemy without hurting
twpower is offline
Jumpman
Senior Member
Join Date: Mar 2010
Location: Denmark
Old 01-25-2023 , 07:28   Re: [CSS] Throwing Knives
Reply With Quote #400

After i updated sourcemod yestoday to build 6927 and recompile all my script i have this one problem with cssthrowingknives i dont have any errors og warnings when compile the script but in my logs i get a lot of spam somebody know how to fix this problem ?

Code:
L 01/24/2023 - 01:22:16: SourceMod error session started
L 01/24/2023 - 01:22:16: Info (map "gg_fy_snow") (file "/home/tcagame_svc13720/clan35/13720/cstrike/addons/sourcemod/logs/errors_20230124.log")
L 01/24/2023 - 01:22:16: [SM] Exception reported: Not enough space on the heap
L 01/24/2023 - 01:22:16: [SM] Blaming: cssthrowingknives.smx
L 01/24/2023 - 01:22:16: [SM] Call stack trace:
L 01/24/2023 - 01:22:16: [SM]   [0] AcceptEntityInput
L 01/24/2023 - 01:22:16: [SM]   [1] Line 278, G:\Server Backup Games\GunGame\addons\sourcemod\scripting\cssthrowingknives.sp::SoundsHook
L 01/24/2023 - 01:25:40: [SM] Exception reported: Not enough space on the heap
L 01/24/2023 - 01:25:40: [SM] Blaming: cssthrowingknives.smx
L 01/24/2023 - 01:25:40: [SM] Call stack trace:
L 01/24/2023 - 01:25:40: [SM]   [0] AcceptEntityInput
L 01/24/2023 - 01:25:40: [SM]   [1] Line 278, G:\Server Backup Games\GunGame\addons\sourcemod\scripting\cssthrowingknives.sp::SoundsHook
L 01/24/2023 - 01:26:07: [SM] Exception reported: Not enough space on the heap
L 01/24/2023 - 01:26:07: [SM] Blaming: cssthrowingknives.smx
L 01/24/2023 - 01:26:07: [SM] Call stack trace:
L 01/24/2023 - 01:26:07: [SM]   [0] AcceptEntityInput
L 01/24/2023 - 01:26:07: [SM]   [1] Line 278, G:\Server Backup Games\GunGame\addons\sourcemod\scripting\cssthrowingknives.sp::SoundsHook
L 01/24/2023 - 01:26:35: Error log file session closed.
__________________
[+35]Jumpman
Jumpman 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 18:42.


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