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

CS Knife


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff       
DavidJr
Senior Member
Join Date: Apr 2012
Old 06-05-2014 , 10:35   CS Knife
Reply With Quote #1

CS Knife
You can choose and buy your favorite knife!

Description
CS Knife is a similar plugin with Knife Skin plugin but the difference is this plugin uses configuration file and you can change the model, the damage, the range and the delay not only just skin. Also this plugin uses submodel for the pee model.

Notes
This plugin does not work with bots.

Requirement
  • Hamsandwich
  • Fakemeta

Changelog
Code:
  • 1.0.0 First release 1.0.1 Fixed weapon costs and added knife spark & scratch
Screenshoot



Commands
Code:
say /knife [Open the knife menu]
say_team /knife [Open the knife menu]
knife [Open the knife menu]
Credits
  • Black Rose for his Knife code

Example for Configuration File

Configuration file is located in cstrike\addons\amxmodx\configs\cs_knife.ini
Models are located in cstrike\models
Code:
[name]Amok Kukri[model]amok_kukri[p_model]knife[p_submodel]1[slash]1.4[stab]1.8[slash_delay]0.4[stab_delay]0.8[slash_range]48[stab_range]68[slash_damage]1[stab_damage]3[gravity]250[knockback]0[deploy]0.7[cost]1000
Files Example: DropBox
Decals: DropBox (located in cstrike)

If you have ideas, please post it. I'll appreciate it.
Attached Files
File Type: sma Get Plugin or Get Source (cs_knife.sma - 963 views - 15.2 KB)
__________________
What are you looking for here?

Last edited by DavidJr; 06-06-2014 at 09:41.
DavidJr is offline
Freezo Begin
BANNED
Join Date: Mar 2014
Location: Morocco
Old 06-05-2014 , 10:57   Re: CS Knife
Reply With Quote #2

really ! gj !
Freezo Begin is offline
DavidJr
Senior Member
Join Date: Apr 2012
Old 06-05-2014 , 10:58   Re: CS Knife
Reply With Quote #3

Thank you
__________________
What are you looking for here?
DavidJr is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 06-05-2014 , 12:30   Re: CS Knife
Reply With Quote #4

What is the difference to this one? https://forums.alliedmods.net/showthread.php?t=240304
__________________
Kia is offline
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 06-05-2014 , 13:03   Re: CS Knife
Reply With Quote #5

There are many differences. Mine is an API which allows you to create a subplugin where you can do pretty much whatever you want, while this one is based on a config. He supports knife delays and knife range (I'm considering to add that in my plugin as well), while mine supports knife sounds. As I said, I'll update mine sooner or later and add a couple of features, perhaps release a knife or two for it.

Also:
PHP Code:
set_pev(iIndexpev_bodycPeeSubModel[currentWpn]); 
I'd like to know how this works. Did you test it? Default CS models have submodels too (bomb, defuser kit) and something tells me it will likely conflict.
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-05-2014 , 14:33   Re: CS Knife
Reply With Quote #6

The archive must be in ZIP format
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
DavidJr
Senior Member
Join Date: Apr 2012
Old 06-05-2014 , 20:25   Re: CS Knife
Reply With Quote #7

Quote:
Originally Posted by Backstabnoob View Post
There are many differences. Mine is an API which allows you to create a subplugin where you can do pretty much whatever you want, while this one is based on a config. He supports knife delays and knife range (I'm considering to add that in my plugin as well), while mine supports knife sounds.
Mine supports sound either.

Quote:
Originally Posted by Backstabnoob View Post
As I said, I'll update mine sooner or later and add a couple of features, perhaps release a knife or two for it.
Ahh my plugin will end in unapproved section

Quote:
Originally Posted by Backstabnoob View Post
Also:
PHP Code:
set_pev(iIndexpev_bodycPeeSubModel[currentWpn]); 
I'd like to know how this works. Did you test it? Default CS models have submodels too (bomb, defuser kit) and something tells me it will likely conflict.
I know, it has conflict, the other way is using custom entity?

Quote:
Originally Posted by YamiKaitou View Post
The archive must be in ZIP format
Oh sorry I forgot. I will change the archive after school.
__________________
What are you looking for here?

Last edited by DavidJr; 06-05-2014 at 20:27.
DavidJr is offline
DavidJr
Senior Member
Join Date: Apr 2012
Old 06-06-2014 , 09:12   Re: CS Knife
Reply With Quote #8

Files updated.
__________________
What are you looking for here?
DavidJr is offline
ArabicMan
Veteran Member
Join Date: Feb 2014
Location: مصر
Old 06-06-2014 , 09:33   Re: CS Knife
Reply With Quote #9

Good i'll test it now.
ArabicMan is offline
DavidJr
Senior Member
Join Date: Apr 2012
Old 06-06-2014 , 09:40   Re: CS Knife
Reply With Quote #10

Update to 1.0.1, added knife scratch effect to the wall.
__________________
What are you looking for here?
DavidJr 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 08:10.


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