Raised This Month: $32 Target: $400
 8% 

Knife Mod - Special Abilities (Updated)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Xanimos (85)
spunko
Senior Member
Join Date: Jun 2005
Location: Ecuador
Old 09-09-2006 , 04:25   Knife Mod - Special Abilities (Updated)
Reply With Quote #1

REQUESTED

Knife Mod (Updated)

- It changes the models of the knife (five models including default knife).

- Each knife has an ability (see below)

- Change the models via menu with a chat command: /knife

- It saves the data of the model you choose (so if you leave the server and come in again you will have the model you chose before).

- It prints a message with help every 8 minutes.

Knife Abilities

1. Machete (More Damage/Low Speed)
2. Bak Knife (No Footsteps)
3. Pocket Knife (High Speed)
4. Butcher Knife (Low Gravity)
5. Default Knife (Health Regeneration)

Install
- Unzip the file in "cstrike" folder
- Add "knife_mod.amxx" without quotes in plugins.ini

Modules Required
< Fun >
< Engine >

Commands
For Admins:
km_highspeed 340 (sets the speed for Pocket Knife)
km_lowspeed 170 (sets the speed for Machete)
km_addhealth 3 (sets the health you will gain with Default Knife)
km_maxhealth 75 (sets the healt you can reach when healing D-knife)
km_damage 2 (damage multiplier for Machete)
km_lowgravity 400 (sets the low gravity)

For Players:
/knife Write it in chat for the menu to change the knifes

Credits
Damage multiplier and log_kill code
- Nightscream Plugin: He Damage Multiplier
Speed code
- v3x Plugin: Various Weapon Speeds
Healing code
- Knife Healing
Thanx to "SweatyBanana" for the client_putinserver suggestion.

Huge special thanx to:
- Xanimos - Lots of efficiency changes.
Attached Files
File Type: sma Get Plugin or Get Source (knife_mod.sma - 75646 views - 7.4 KB)
File Type: zip knife_mod-models.zip (1.66 MB, 64816 views)
__________________

Last edited by spunko; 11-08-2006 at 19:47. Reason: Updated
spunko is offline
Send a message via MSN to spunko
`666
AlliedModders Donor
Join Date: Jan 2006
Old 09-09-2006 , 08:30   Re: Knife Mod
Reply With Quote #2

lol sounds good.
`666 is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 09-09-2006 , 09:12   Re: Knife Mod
Reply With Quote #3

Yay im in the credits

PS: use fakemeta instead of engine.. Its better

PHP Code:
set_pev(Ent,pev_classname,g_Classname
Code:
pev_weaponmodel2
pev_viewmodel2

EDIT: Im not too sure how to make fakedamage with fakemeta thogh

Last edited by SweatyBanana; 09-09-2006 at 09:27.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
P34nut
AMX Mod X Beta Tester
Join Date: Feb 2006
Location: Netherlands
Old 09-09-2006 , 09:42   Re: Knife Mod
Reply With Quote #4

Quote:
Originally Posted by SweatyBanana View Post
EDIT: Im not too sure how to make fakedamage with fakemeta thogh
You can use Fakemeta Utilities for that
__________________
All you need to change the world is one good lie and a river of blood
P34nut is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-09-2006 , 10:30   Re: Knife Mod
Reply With Quote #5

Quote:
Originally Posted by SweatyBanana View Post
Yay im in the credits

PS: use fakemeta instead of engine.. Its better

PHP Code:
set_pev(Ent,pev_classname,g_Classname
Code:
pev_weaponmodel2
pev_viewmodel2
EDIT: Im not too sure how to make fakedamage with fakemeta thogh
People really have to stop running around saying that. If even 1 plugin uses engine, it uses the exact same resources. It can even be argued FM is slower since it has to cycle through each plugin that has created a hook.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
ThomasNguyen
Senior Member
Join Date: May 2006
Old 09-09-2006 , 11:54   Re: Knife Mod
Reply With Quote #6

This is very nice. +Karma, and is this your first plugin?
__________________
ThomasNguyen is offline
spunko
Senior Member
Join Date: Jun 2005
Location: Ecuador
Old 09-09-2006 , 12:18   Re: Knife Mod
Reply With Quote #7

Thanx for the comments, second plugin realased but i have made some other for my server, although im a newbi very small plugins.
I made this one because Lukuyo asked for it.. i hope it comes a little popular hehehe...


sorry for my english (im learning hehe)
__________________

Last edited by spunko; 09-09-2006 at 14:23.
spunko is offline
Send a message via MSN to spunko
*<3*
Senior Member
Join Date: May 2006
Location: Denmark..
Old 09-09-2006 , 13:33   Re: Knife Mod
Reply With Quote #8

sound like a really good plugin
*<3* is offline
Lukuyo
Member
Join Date: Aug 2006
Old 09-09-2006 , 14:04   Re: Knife Mod
Reply With Quote #9

yeah thanks man...Uh can u make it so that u can hold all 5 knives at once? o_O
Lukuyo is offline
Send a message via AIM to Lukuyo Send a message via MSN to Lukuyo
spunko
Senior Member
Join Date: Jun 2005
Location: Ecuador
Old 09-09-2006 , 14:21   Re: Knife Mod
Reply With Quote #10

Umm i think that cant be made because there is just one knife, not like rifles(you can have more than one).

you can bind /knife command so you can change the models everytime you want..

bind k "say /knife"
__________________
spunko is offline
Send a message via MSN to spunko
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 15:42.


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