Knife Models

Yo, buddy. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending OciXCrom points.
  • Post: Give OciXCrom your thoughts on this Game file.
  • Vote: Help OciXCrom win the Monthly Awards.
  • Rate: Give this Game file a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Game file.
  • Watch: Get notified when this Game file is updated.
Mascot

Interested?

Become a Bananite

Already a Bananite? Login

Updates

v2.0
  • You can now change the sounds for every knife.
  • Completely changed the way models are added in the configuration file.
OciXCrom avatar
OciXCrom avatar Offline
Member Joined 6y
2,046 points Ranked 2291st
18 medals 2 rare
  • Submitted 20 Gamefiles Medal icon
  • 6 years a member Medal icon
  • Gamefiler of the Month, July 2012 Medal icon
  • Gamefiler of the Month, August 2012 Medal icon
  • 1-5 Entries! GameBanana’s Christmas Giveaway 2014 Medal icon
  • Gamefiler of the Month, March 2015 Medal icon
OciXCrom avatar
OciXCrom
5mo
? Description

  • A simple plugin that adds a menu from which you can choose your Knife skin. The menu can be accessed by typing /knife in the chat.


? Cvars

  • km_open_at_spawn "0" -- whether the menu will be automatically opened on first spawn.


? Adding skins

  • The skins can be added in configs/KnifeModels.ini by following the example:

    [Skin Name]
    V_MODEL = path to v_ model
    P_MODEL = path to p_ model 


  • If the skin doesn't have a p_ model, you can choose not to add the P_MODEL field.
  • You can also change the sounds and add a specific admin flag:

    [Skin Name]
    V_MODEL = path to v_ model
    P_MODEL = path to p_ model
    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 


  • Example:

    [My Cool Knife]
    V_MODEL = models/v_coolknife.mdl
    P_MODEL = models/p_coolknife.mdl
    FLAG = b
    DEPLOY_SOUND = coolknife/deploy.wav
    HIT_SOUND = coolknife/hit.wav
    HITWALL_SOUND = coolknife/hitwall.wav
    SLASH_SOUND = coolknife/slash.wav
    STAB_SOUND = coolknife/stab.wav 

    Download

    Posts

    • 1
    • 2
    • 5mo
      OciXCrom avatar
      OciXCrom avatar Offline
      Member Joined 6y
      2,046 points Ranked 2291st
      18 medals 2 rare
      • Submitted 20 Gamefiles Medal icon
      • 6 years a member Medal icon
      • Gamefiler of the Month, July 2012 Medal icon
      • Gamefiler of the Month, August 2012 Medal icon
      • 1-5 Entries! GameBanana’s Christmas Giveaway 2014 Medal icon
      • Gamefiler of the Month, March 2015 Medal icon
      Did you compile it with an online compiler or locally? If it's the first one, there's your problem. Don't compile plugins online, use the built-in compiler you have in your server's folder.
      YouTube.com/OciXCrom
    • 5mo
      andre19 avatar
      andre19 Offline
      Member Joined 5mo
      Guy give me this error in compiling

      crx_knife_models.sma(4) : fatal error 100: cannot read from file: "formatin"Compilation aborted.1 Error.Could not locate output file crx_knife_models.amx (compile failed).
      Bananite
    • 5mo
      OciXCrom avatar
      OciXCrom avatar Offline
      Member Joined 6y
      2,046 points Ranked 2291st
      18 medals 2 rare
      • Submitted 20 Gamefiles Medal icon
      • 6 years a member Medal icon
      • Gamefiler of the Month, July 2012 Medal icon
      • Gamefiler of the Month, August 2012 Medal icon
      • 1-5 Entries! GameBanana’s Christmas Giveaway 2014 Medal icon
      • Gamefiler of the Month, March 2015 Medal icon
      Posted by andre19

      Creator please give me crx_knife_models.amxx
      Please man! <3
      I love your job
      Compile the .sma file in order to get .amxx. Ask Google if you don't know how. Posting .amxx plugins is a bad idea due to many reasons. I don't know if it's allowed here, but it shouldn't.
      YouTube.com/OciXCrom
    • 5mo
      andre19 avatar
      andre19 Offline
      Member Joined 5mo
      Creator please give me crx_knife_models.amxx
      Please man! <3
      I love your job
      Bananite
    • 5mo
      OciXCrom avatar
      OciXCrom avatar Offline
      Member Joined 6y
      2,046 points Ranked 2291st
      18 medals 2 rare
      • Submitted 20 Gamefiles Medal icon
      • 6 years a member Medal icon
      • Gamefiler of the Month, July 2012 Medal icon
      • Gamefiler of the Month, August 2012 Medal icon
      • 1-5 Entries! GameBanana’s Christmas Giveaway 2014 Medal icon
      • Gamefiler of the Month, March 2015 Medal icon
      Posted by Rj.

      It's just like similar with my CS:GO Knives Menu.

      Sorry if it's the same, I haven't seen your plugin before. This one doesn't have any built-in knives.
      • Funny x 1
      • Agree x 1
      • Thanks x 1
      • You rock x 1
      YouTube.com/OciXCrom
    • 5mo
      rj. avatar
      rj. Dreamin'
      Member Joined 1y
      36 medals 4 legendary 9 rare
      • Submitted 15 Tools Medal icon
      • Submitted 50 Gamefiles Medal icon
      • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
      • Thanked 500 submitters Medal icon
      • 2nd Place - Game Poetry Contest Medal icon
      • Submitted 5 Tools Medal icon
      It's just like similar with my CS:GO Knives Menu.
    • 5mo
      OciXCrom avatar
      OciXCrom avatar Offline
      Member Joined 6y
      2,046 points Ranked 2291st
      18 medals 2 rare
      • Submitted 20 Gamefiles Medal icon
      • 6 years a member Medal icon
      • Gamefiler of the Month, July 2012 Medal icon
      • Gamefiler of the Month, August 2012 Medal icon
      • 1-5 Entries! GameBanana’s Christmas Giveaway 2014 Medal icon
      • Gamefiler of the Month, March 2015 Medal icon
      Dude, is this your first time using an AMXX plugin?! "b" is an admin flag - ever heard of them? Ask Google if you didn't. If you're an admin, you have admin flags and "b" is one of them. I shouldn't even be explaining this. This is basic AMXX stuff.
      YouTube.com/OciXCrom
    • 5mo
      rockz27 avatar
      rockz27 Offline
      Member Joined 2y
      464 points Ranked 9226th

      @OciXCrom:

      I understand what you have written in description. However, what i wanted to know was; what other values can be written in "flag" field ?

      Only "b" or are there any other values that can be given as input ? and also what do each value represent ? like here "b" means admins only right ?

      I tried looking amxx manuals, don't seem to have a clear understanding of flag values..
      Bananite
    • 5mo
      OciXCrom avatar
      OciXCrom avatar Offline
      Member Joined 6y
      2,046 points Ranked 2291st
      18 medals 2 rare
      • Submitted 20 Gamefiles Medal icon
      • 6 years a member Medal icon
      • Gamefiler of the Month, July 2012 Medal icon
      • Gamefiler of the Month, August 2012 Medal icon
      • 1-5 Entries! GameBanana’s Christmas Giveaway 2014 Medal icon
      • Gamefiler of the Month, March 2015 Medal icon
      @FrozeNN - Thanks. I added it.

      @rockz27 - An admin flag, of course. It's explained perfectly well:

      The "flag" field can be left empty if you want the skin to be available for all players, otherwise type in the VIP flag.

      If you want a skin for all players:

      "Cool skin" "v_skin.mdl" "p_skin.mdl"

      If you want it for players with flag "b":

      "Cool skin" "v_skin.mdl" "p_skin.mdl" "b"

      It's very simple.

      @IXShadowXI - You gave me no information. Maybe you didn't install the plugin properly, so check your console for error logs and see if it's working with the amx_plugins commands. If it is, then you have a plugin that blocks chat commands, and that plugin should be put last in plugins.ini.
      YouTube.com/OciXCrom
    • 5mo
      ShadowOwO avatar
      ShadowOwO Offline
      Member Joined 11mo
      495 points Ranked 8747th
      I said in the chat "/knife" and in the console "km_open_at_spawn "0" " and it didn't work .
      OwO
    • 1
    • 2

    Share

    Shareable Image:
    Share banner
    HTML embed code:
    BB embed code:
    Markdown embed code:

    More embeddable images

    Bookmark and Share

    Credits

    Key Authors
    OciXCrom
    Creator

    Submitter

    OciXCrom avatar
    OciXCrom avatar Offline
    Member Joined 6y
    2,046 points Ranked 2291st
    18 medals 2 rare
    • Submitted 20 Gamefiles Medal icon
    • 6 years a member Medal icon
    • Gamefiler of the Month, July 2012 Medal icon
    • Gamefiler of the Month, August 2012 Medal icon
    • 1-5 Entries! GameBanana’s Christmas Giveaway 2014 Medal icon
    • Gamefiler of the Month, March 2015 Medal icon

    OciXCrom avatar
    OciXCrom

    Creator
    • Paypal Donate
    Send a Private Message to the submitter

    Stats

    Posts
    12
    Views
    5,015
    Downloads
    2,102
    Date Added
    5mo
    Date Modified
    5mo
    Date Updated
    5mo
    bcp.crwdcntrl.net tracking pixel