AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Knife Mod - Special Abilities (Updated) (https://forums.alliedmods.net/showthread.php?t=44586)

spunko 09-09-2006 04:25

Knife Mod - Special Abilities (Updated)
 
2 Attachment(s)
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. :up:

`666 09-09-2006 08:30

Re: Knife Mod
 
lol sounds good.

SweatyBanana 09-09-2006 09:12

Re: Knife Mod
 
Yay im in the credits :P

PS: use fakemeta instead of engine.. Its better :mrgreen:

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 :shock:

P34nut 09-09-2006 09:42

Re: Knife Mod
 
Quote:

Originally Posted by SweatyBanana (Post 379020)
EDIT: Im not too sure how to make fakedamage with fakemeta thogh :shock:

You can use Fakemeta Utilities for that

Hawk552 09-09-2006 10:30

Re: Knife Mod
 
Quote:

Originally Posted by SweatyBanana (Post 379020)
Yay im in the credits :P

PS: use fakemeta instead of engine.. Its better :mrgreen:

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 :shock:

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.

ThomasNguyen 09-09-2006 11:54

Re: Knife Mod
 
This is very nice. +Karma, and is this your first plugin?

spunko 09-09-2006 12:18

Re: Knife Mod
 
Thanx for the comments, second plugin realased but i have made some other for my server, although im a newbi :oops: 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)

*<3* 09-09-2006 13:33

Re: Knife Mod
 
sound like a really good plugin :)

Lukuyo 09-09-2006 14:04

Re: Knife Mod
 
yeah thanks man...Uh can u make it so that u can hold all 5 knives at once? o_O

spunko 09-09-2006 14:21

Re: Knife Mod
 
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"


All times are GMT -4. The time now is 08:50.

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