AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [CS:GO] Knife Upgrade 2.5.7 (Saves Knife Selection) **Updated 06-02-2015** (https://forums.alliedmods.net/showthread.php?t=243254)

klexen 07-01-2014 23:48

[CS:GO] Knife Upgrade 2.5.7 (Saves Knife Selection) **Updated 06-02-2015**
 
2 Attachment(s)
Description:
-Player can type !knife for the "Knife Menu" or !knifename to choose a custom knife skin.
-Player's knife choice is remembered for future connections.

Thanks:
This plugin was inspired by Dkmuniz and Franc1sco

Supported Custom Knife Skins / Chat Triggers:

Notes:
-The custom knife skins only work for players who have the default knives equipped in their inventory.
-You can restrict access to certain flags only using "sm_knifeupgrade" in overrides.
-Supports Automatic Update using Updater.
-Requires Updater to Compile.
-Requires modified version of colors.inc to compile as well.

Changelog:
Spoiler


3 Examples of an admin_override.cfg (addons/sourcemod/config/admin_overrides.cfg)
Spoiler


Config / Cvars: (cfg/sourcemod/sm_knifeupgrade.cfg)
Spoiler


IMPORTANT NOTES:
Code:

IF YOU ARE RUNNING THIS PLUGIN:

"Deathmatch Goes Advanced" by h3bus

Make sure in Addons/Sourcemod/Config/Deathmatch.ini you have:

"dm_weapons_allow_3rd_party" "1"

If you don't have this set to 1, there is a good chance your server will experience random crashes.

Code:

This plugin is not compatible with the CS:GO built-in deathmatch mode. (+game_type 1 +game_mode 2)

Players must have the default T/CT knife equipped in order to receive a knife skin from this plugin.

Installation:
Put knifeupgrade.phrases.txt in addons/sourcemod/translations
Put sm_knifeupgrade.smx in addons/sourcemod/plugins

Screenshots:

boombee 07-02-2014 01:27

Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
 
will give it a test when I wake up :P

EDIT:

Quote:

Coming Soon:
Add knife selection shortcuts to bypass menu. For example:!m9 !huntsman !karambit would equip and save the knife.
OMG! Please :D

klexen 07-02-2014 03:51

Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
 
Quote:

Originally Posted by boombee (Post 2160638)
will give it a test when I wake up :P

EDIT:



OMG! Please :D

Done.

krispx 07-02-2014 04:43

Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
 
Hi, jus report this:

Code:

L 07/02/2014 - 10:34:53: [SM] Native "GetPlayerWeaponSlot" reported: Client 11 is not in game
L 07/02/2014 - 10:34:53: [SM] Displaying call stack trace for plugin "sm_knifeupgrade.smx":
L 07/02/2014 - 10:34:53: [SM]  [0]  Line 157, /home/forums/content/files/2/3/8/4/7/5/135137.attach::Equipknife()
L 07/02/2014 - 10:34:53: [SM]  [1]  Line 152, /home/forums/content/files/2/3/8/4/7/5/135137.attach::OnSpawn()


klexen 07-02-2014 04:59

Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
 
Quote:

Originally Posted by krispx (Post 2160693)
Hi, jus report this:

Code:

L 07/02/2014 - 10:34:53: [SM] Native "GetPlayerWeaponSlot" reported: Client 11 is not in game
L 07/02/2014 - 10:34:53: [SM] Displaying call stack trace for plugin "sm_knifeupgrade.smx":
L 07/02/2014 - 10:34:53: [SM]  [0]  Line 157, /home/forums/content/files/2/3/8/4/7/5/135137.attach::Equipknife()
L 07/02/2014 - 10:34:53: [SM]  [1]  Line 152, /home/forums/content/files/2/3/8/4/7/5/135137.attach::OnSpawn()


Sorry about that. The problem should be fixed now.

Ejziponken 07-02-2014 06:53

Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
 
Maybe add a join text that tells how to use the plugin.
Or make the menu pop when you enter the server.

primofernando 07-02-2014 07:44

Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
 
Does this plugin block the spawn of a knife if the map don't have knife?

Like some mg that are not to meant to kill.

If doesn't have can you add it?

boombee 07-02-2014 11:14

Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
 
Quote:

Originally Posted by primofernando (Post 2160766)
Does this plugin block the spawn of a knife if the map don't have knife?

Like some mg that are not to meant to kill.

If doesn't have can you add it?

If you disable to not kill, it'll apply on all maps. Better make a GOD mod map by map or on those maps you can give people extra hp and allow healing.

primofernando 07-02-2014 13:45

Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
 
Quote:

Originally Posted by boombee (Post 2160835)
If you disable to not kill, it'll apply on all maps. Better make a GOD mod map by map or on those maps you can give people extra hp and allow healing.

Good news,

I tested it on server and it only spawn knife if you have one so the maps that don't have knife the knife doesn't spawn

boombee 07-02-2014 14:14

Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
 
Quote:

Originally Posted by primofernando (Post 2160957)
Good news,

I tested it on server and it only spawn knife if you have one so the maps that don't have knife the knife doesn't spawn

Oh I forgot about this :P.

OP: Maybe add a cvar to give knives at spawn? Would be good for maps/servers that usually dont give knife at spawn.


All times are GMT -4. The time now is 21:29.

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