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

Weapon Knock Back


Post New Thread Reply   
 
Thread Tools Display Modes
rautamiekka
Veteran Member
Join Date: Jan 2009
Location: Finland
Old 11-29-2009 , 03:46   Re: Weapon Knock Back
Reply With Quote #21

Now I actually got to test this and it failed.

Code:
         [SM] Weapon #[weapon_]xm1014 not found
"[weapon_]" means that I tried both having it there and not having, without better success. The commands
Code:
sm_kickback_add #weapon_xm1014
sm_kickback_add #weapon_m3 170
sm_kickback_add #weapon_scout 111
sm_kickback_add #weapon_m249 101
sm_kickback_add #weapon_p90 110
sm_kickback_remove #weapon_p228
sm_kickback_remove #weapon_mac10
sm_kickback_remove #weapon_aug
sm_kickback_remove #weapon_elite
sm_kickback_remove #weapon_fiveseven
sm_kickback_remove #weapon_ump45
sm_kickback_remove #weapon_sg550
sm_kickback_remove #weapon_galil
sm_kickback_remove #weapon_famas
sm_kickback_remove #weapon_usp
sm_kickback_remove #weapon_glock18
sm_kickback_remove #weapon_awp
sm_kickback_remove #weapon_mp5navy
sm_kickback_remove #weapon_m4a1
sm_kickback_remove #weapon_tmp
sm_kickback_remove #weapon_g3sg1
sm_kickback_remove #weapon_sg552
sm_kickback_remove #weapon_ak47
sm_kickback_remove #weapon_knife
are in the bottom of "/cfg/sourcemod/sourcemod.cfg"
__________________
Links to posts I received Karma from:
Big thanks to all who gave Karma
rautamiekka is offline
Send a message via ICQ to rautamiekka Send a message via AIM to rautamiekka Send a message via MSN to rautamiekka Send a message via Yahoo to rautamiekka Send a message via Skype™ to rautamiekka
gamemann
Veteran Member
Join Date: Sep 2009
Location: Mullica Hill, New Jersey
Old 03-02-2011 , 20:05   Re: Weapon Knock Back
Reply With Quote #22

Ok, I am using zombie reloaded(latest version) and is there a way to make it so if you use a knfie and right click(not left click) it will launch the zombies back(t side)?
__________________
Software/network engineer. I often work on a neat project called The Modding Community.

Check out my GitHub here!
gamemann is offline
Send a message via Skype™ to gamemann
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 03-14-2011 , 03:42   Re: Weapon Knock Back
Reply With Quote #23

Hi everyone,

Is this plugin up to date?

I tried it yesterday on my linux server, dedicated to CS:S, with sourcemod 1.3.6, and I can't make it work.

When I type sm_client_kickback_add St00ne m4a1 in console, and I have the message saying command is taken into account (strenght = 150), but nothing happens.

Could someone help?

Regards,

St00ne.

EDIT: Do I have to add a custom strenght too? -> I'll try it tonight...

Last edited by St00ne; 03-14-2011 at 03:53.
St00ne is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 03-15-2011 , 12:17   Re: Weapon Knock Back
Reply With Quote #24

Hi there,

ok, plugin works, I needed to specify a strenght (sm_client_kickback_add St00ne m4a1 2500 for instance...)

But there is one bug:
'remove commands' don't work (i.e. sm_client_kickback_remove St00ne m4a1 doesn't do anything.)

Also, I have 2 requests:
Could you edit plugin so that Steam ids can also be taken into account, not only usernames?

Also, it would be great if commands could be autoexecuted: for now when I type my command in the sourcemod.cfg file, it's not taken into account.
It is strange, usually a command like sm_client_kickback_add St00ne m4a1 2500 written in sourcemod.cfg file or any specific cfg file related to the plugin is read!
I don't understand why it doesn't work with this plugin... we always have to write commands directly to console, it's annoying!

Thanks in advance for your answers.

Regards,

St00ne.
St00ne is offline
alencore
Senior Member
Join Date: Oct 2011
Old 12-04-2013 , 06:56   Re: Weapon Knock Back
Reply With Quote #25

Works perfect for my Zombie Riot server but I put these commands on a kickback.cfg and execute them in-game...
sm_client_kickback_add "AlenCore" "deagle" "1000.0"
sm_client_kickback_add "AlenCore" "xm1014" "1000.0"
sm_client_kickback_add "AlenCore" "ak47" "1000.0"

Here's video...
http://youtu.be/nm56Ov9uEfY
See how the xenomorph alien goes flying back hehe.

Last edited by alencore; 12-05-2013 at 03:51.
alencore is offline
Jumpman
Senior Member
Join Date: Mar 2010
Location: Denmark
Old 01-19-2023 , 15:33   Re: Weapon Knock Back
Reply With Quote #26

I have this problem when i compile with sourcemod version 6927 can some body help here ?

//// weaponkick.sp
//
// C:\Users\Administrator\Desktop\sourcemod-1.11.0-git6927-linux\addons\sourcemod\scripting\weaponkick.s p(135) : warning 234: symbol "FloatMul" is marked as deprecated: This native is internal implementation. For multiplication use the '*' operator.
// C:\Users\Administrator\Desktop\sourcemod-1.11.0-git6927-linux\addons\sourcemod\scripting\weaponkick.s p(136) : warning 234: symbol "FloatMul" is marked as deprecated: This native is internal implementation. For multiplication use the '*' operator.
// C:\Users\Administrator\Desktop\sourcemod-1.11.0-git6927-linux\addons\sourcemod\scripting\weaponkick.s p(137) : warning 234: symbol "FloatMul" is marked as deprecated: This native is internal implementation. For multiplication use the '*' operator.
// Code size: 9220 bytes
// Data size: 10396 bytes
// Stack/heap size: 16948 bytes
// Total requirements: 36564 bytes
//
// 3 Warnings.
//
// Compilation Time: 0,3 sec
__________________
[+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 03:16.


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