|
****************************************************************************
*
* Version 1.0.1 - Date: 08/11/2004
*
* Original by -]ToC[-Bludy
*
* Upgraded to STEAM and ported to AMXx by: jtp10181 <jtp@jtpage.net>
* Homepage: http://www.jtpage.net
*
****************************************************************************
Admin Commands:
amx_tknives - Toggles Throwing Knives On and Off
Client Commands:
throw_knife - This is the command for everyone to throw knives
say /knifehelp - Brings up knifehelp menu to help players bind keys
say /throwingknives - Same as /knifehelp
Additional info:
- You must bind a key to throw_knife
- You can no longer drop your knives on command, only when you die
- Team Attack system dropped, but it will obey the server friendlyfire cvar
NEW FEATURES:
- New knife model, more effecient, smaller file size, easier to download
- New contact system, knife will stick to whatever they hit
- New code which is less CPU intensive, less bugs, server crashing seems to be eliminated.
DESCRIPTION:
It was brought to my attention a few days ago that with the update to the AMX forums the file attached to the bottom of the forum topic had only an .amx file and no custom model. This gave me the motivation to create a new model that was smaller and faster to download, and a brand new knife system to make the knives more realistic. It took a few server crashes to get the code right, but it payed off in the end. A few of my clan members and I played throwing knife darts on one of the players sprays to celebrate.
The knives work a lot better than before, and they are a lot of fun to play with. So get your knives out and go Have Fun
Changelog:
v1.0.1 - JTP10181 - 08/11/04
Some tweaks to make it work better on listenservers, changed engclient_cmd to client_cmd
v1.0 - JTP10181 - 07/05/04
Removed some unneeded return statements
Made it so the knives cannot be used before the round has started (freezetime)
Added some extra checks on variables to be safe
Redid the delay code so it did not use a task
Changed authid arrays to be 34 usable chars for future compatibility
v0.9.8 - JTP10181 - 06/08/04
Tweaked the help messages a little for the commands
Removed all \ line breaks, not supported anymore.
Somewhere I added the auto-switch feature but forgot to log it.
v0.9.7 - JTP10181 - 05/19/04
Upgraded MOTD box to STEAM compatibility
Fixed bugs that happened when amx_knifeammo is greater than amx_maxknifeammo
Made checks to keep amx_knifeammo from being set higher than amx_maxknifeammo
Started to reorganize code to make it easier to follow
Changed a lot of PLUGIN_HANDLED to PLUGIN_CONTINUE
Fixed bug with partial pickups not subtracting the correct ammount from the dropped ammo
Hopefully fixed bug that would sometimes kill all the knife entities in the middle of a round
Added logging to server logs for stats software
Fixed bugs with scores being updated wrong
Below v0.9.6 was maintained by -]ToC[-Bludy
************************************************************************/
I have permission from -]ToC[-Bludy to release new versions of this plugin.
Thanks to him for the models or whoever he got them from, they work great.
******** Engine Module REQUIRED ********
******** FUN Module REQUIRED ********
******** Model Pack REQUIRED ******** |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注个册吧
×
|