AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSS & CSGO] Throwing Knives (https://forums.alliedmods.net/showthread.php?t=269846)

Bacardi 08-11-2015 04:56

[CSS & CSGO] Throwing Knives
 
3 Attachment(s)
(Not fully) Replica of @meng original plugin [CSS] Throwing Knives

Free to try! Come test this! :bee:

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

Maxximou5 08-11-2015 05:17

Re: [CSS & CSGO] Throwing Knives (2015-8-11)
 
Yes! Going to try this out for my scoutzknivez servers, should be interesting.
Just too bad you didn't comment in English, oh well.

Bacardi 08-11-2015 06:02

Re: [CSS & CSGO] Throwing Knives (2015-8-11)
 
Quote:

Originally Posted by Maxximou5 (Post 2331924)
...
Just too bad you didn't comment in English, oh well.

I add this behind my ear

NightmareDK 08-11-2015 08:06

Re: [CSS & CSGO] Throwing Knives (2015-8-11)
 
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

Bacardi 08-11-2015 09:03

Re: [CSS & CSGO] Throwing Knives (2015-8-11)
 
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.

8guawong 08-11-2015 09:44

Re: [CSS & CSGO] Throwing Knives (2015-8-11)
 
works on my linux test server no crash
but the distance that the knife flies is kinda short :>

Bacardi 08-11-2015 12:39

Re: [CSS & CSGO] Throwing Knives (2015-8-12)
 
Update 2015-8-12
more cvars and settings, changed knive default speed, damages and life time.

m_bNightstalker 08-12-2015 06:27

Re: [CSS & CSGO] Throwing Knives (2015-8-12)
 
...Cola. Cheers!

8guawong 08-12-2015 06:52

Re: [CSS & CSGO] Throwing Knives (2015-8-12)
 
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.....

poel 08-12-2015 07:19

Re: [CSS & CSGO] Throwing Knives (2015-8-12)
 
Can we have youtube link ? I don't understand your plugin ^^"


All times are GMT -4. The time now is 18:56.

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