AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Knife Models [XP System & Skills Support] (https://forums.alliedmods.net/showthread.php?t=293632)

OciXCrom 11-11-2020 07:36

Re: Knife Models [XP System & Skills Support]
 
And What Is The Error?...
Why Did You Add The Sound Settings If You Don't Have Sounds? Remove Them.
Only Add Settings You Want To Modify.

Mmiicchhaaeell 11-29-2020 23:18

Re: Knife Models [XP System & Skills Support]
 
is this plugin for only certain maps? I trid it in de_dust2 and it does not work. I added the knives in the .ini file and the name show up in the menu, but when I click on them, nothing.. couple times it even stopped the server. Do I have to edit the actual plugin .sma file also?? Or as I understand from this post, I edit only .ini file in cfgs. Please help with this, as I am not pro.. I already have the rank system from the same creator..

OciXCrom 11-30-2020 07:27

Re: Knife Models [XP System & Skills Support]
 
Quote:

Originally Posted by Mmiicchhaaeell (Post 2726736)
is this plugin for only certain maps? I trid it in de_dust2 and it does not work. I added the knives in the .ini file and the name show up in the menu, but when I click on them, nothing.. couple times it even stopped the server. Do I have to edit the actual plugin .sma file also?? Or as I understand from this post, I edit only .ini file in cfgs. Please help with this, as I am not pro.. I already have the rank system from the same creator..

Why would it be for certain maps only?
Did you configure the models? Did you add them?
Show your .ini file and check your console for errors.

Mmiicchhaaeell 12-01-2020 18:42

Re: Knife Models [XP System & Skills Support]
 
as it says here I added names like [Cool Knife] etc on a new line and then underneath it like


V_MODEL -- path to the v_ model
P_MODEL -- path to the p_ model
FLAG -- admin access flag
DEPLOY_SOUND -- sound when you deployy the knife
HIT_SOUND -- sound when you hit a player with the knife
HITWALL_SOUND -- sound when you hit a wall with the knife
SLASH_SOUND -- sound when you swing the knife
STAB_SOUND -- sound when you stab a player with the knife
SELECT_SOUND -- sound when selecting the knife
SELECT_MESSAGE
LEVEL -- required level
SHOW_RANK
XP -- required XP

OciXCrom 12-01-2020 19:16

Re: Knife Models [XP System & Skills Support]
 
Show your .ini file.

Mmiicchhaaeell 12-01-2020 21:14

Re: Knife Models [XP System & Skills Support]
 
#============================================ ==#
# Knife Models by OciXCrom: Configuration file #
#============================================ ==#

# You can add a knife by following this example:
# [Knife Name]
# V_MODEL = location of v_ model
# P_MODEL = location of p_ model

# You don't have to add a p_ or v_ model if the knife doesn't have one.
# You can also add the attributes below:

# FLAG = if you want the knife to be for VIP users/admins, enter the flag here
# DEPLOY_SOUND = sound when you deploy the knife
# HIT_SOUND = sound when you hit a player
# HITWALL_SOUND = sound when you hit a wall
# SLASH_SOUND = sound when you swing the knife
# STAB_SOUND = sound when you stab a player
# SELECT_SOUND = sound when you select the knife from the menu
# SELECT_MESSAGE = chat message when you select a knife (you can use the cromchat color codes)

# You can add multiple SELECT_MESSAGE attributes if you want to display more than one message.

# If you are using OciXCrom's Rank System, the following options are also available:

# LEVEL = required level from the rank system to use the knife
# SHOW_RANK = if set to 1, the rank name will be displayed instead of the level number in the menu
# XP = amount of XP required from the rank system to use the knife

# For skills such as SPEED, GRAVITY and more, add this sub-plugin: https://forums.alliedmods.net/showthread.php?t=314299

# You can also add any custom attributes and they can be accessed from other plugins.

[Default]
V_MODEL = models/v_knife.mdl
P_MODEL = models/p_knife.mdl


[Cool Knife]
V_MODEL = models/crom_knife/v_crom_knife.mdl
P_MODEL = models/crom_knife/p_crom_knife.mdl
FLAG = b
DEPLOY_SOUND = crom_knife/knife_deploy1.wav
HIT_SOUND = crom_knife/knife_hit1.wav
HITWALL_SOUND = crom_knife/knife_hitwall1.wav
SLASH_SOUND = crom_knife/knife_slash1.wav
STAB_SOUND = crom_knife/knife_stab.wav
SELECT_SOUND = crom_knife/knife_select.wav
SELECT_MESSAGE = You have &x03selected &x01the knife &x04Crom Knife
LEVEL = 15
SHOW_RANK = 1
XP = 3000

Mmiicchhaaeell 12-01-2020 21:15

Re: Knife Models [XP System & Skills Support]
 
keep in mind I am not a pro with this, that's why I ask questions..

OciXCrom 12-01-2020 22:00

Re: Knife Models [XP System & Skills Support]
 
And do you actually have those models and sounds in your server?... I think you failed to understand what "example" means.

Mmiicchhaaeell 12-01-2020 23:32

Re: Knife Models [XP System & Skills Support]
 
worked now.. Thanks ! One more question: is there any way to automatically give the knife to a player, when he/she reaches certain experience level? Meaning without them having to type /knife. Thanks.

popilas 12-02-2020 06:28

Re: Knife Models [XP System & Skills Support]
 
when i do
FLAG = d
its show VIP knife, flag d is admin flag


All times are GMT -4. The time now is 07:37.

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