Raised This Month: $12 Target: $400
 3% 

Knife Models [XP System & Skills Support]


Post New Thread Reply   
 
Thread Tools Display Modes
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-11-2020 , 07:36   Re: Knife Models [XP System & Skills Support]
Reply With Quote #261

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.
__________________

Last edited by OciXCrom; 11-11-2020 at 07:36.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Mmiicchhaaeell
Member
Join Date: Oct 2020
Old 11-29-2020 , 23:18   Re: Knife Models [XP System & Skills Support]
Reply With Quote #262

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..
Mmiicchhaaeell is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-30-2020 , 07:27   Re: Knife Models [XP System & Skills Support]
Reply With Quote #263

Quote:
Originally Posted by Mmiicchhaaeell View Post
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.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Mmiicchhaaeell
Member
Join Date: Oct 2020
Old 12-01-2020 , 18:42   Re: Knife Models [XP System & Skills Support]
Reply With Quote #264

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
Mmiicchhaaeell is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-01-2020 , 19:16   Re: Knife Models [XP System & Skills Support]
Reply With Quote #265

Show your .ini file.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Mmiicchhaaeell
Member
Join Date: Oct 2020
Old 12-01-2020 , 21:14   Re: Knife Models [XP System & Skills Support]
Reply With Quote #266

#============================================ ==#
# 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 is offline
Mmiicchhaaeell
Member
Join Date: Oct 2020
Old 12-01-2020 , 21:15   Re: Knife Models [XP System & Skills Support]
Reply With Quote #267

keep in mind I am not a pro with this, that's why I ask questions..

Last edited by Mmiicchhaaeell; 12-01-2020 at 21:15.
Mmiicchhaaeell is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-01-2020 , 22:00   Re: Knife Models [XP System & Skills Support]
Reply With Quote #268

And do you actually have those models and sounds in your server?... I think you failed to understand what "example" means.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Mmiicchhaaeell
Member
Join Date: Oct 2020
Old 12-01-2020 , 23:32   Re: Knife Models [XP System & Skills Support]
Reply With Quote #269

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.
Mmiicchhaaeell is offline
popilas
Senior Member
Join Date: Apr 2017
Location: lituanica
Old 12-02-2020 , 06:28   Re: Knife Models [XP System & Skills Support]
Reply With Quote #270

when i do
FLAG = d
its show VIP knife, flag d is admin flag
popilas is offline
Reply


Thread Tools
Display Modes

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 16:45.


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