View Single Post
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