Counter-Strike 1.6 Icon CS1.6 Game file

Knife Models

SEX! Ok, we got your attention. 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

Join the community!

Sign up

Already a Bananite? Login

? 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:

    PHP Code:








    "Skin name" "v_ model" "p_model" "flag" 





  • If the skin doesn't have a p_ model, you can leave the field blank:

    PHP Code:








    "Skin name" "v_ model" 





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

    PHP Code:








    "Global skin" "v_ model" "p_ model"
    "VIP skin" "v_ model" "p_ model" "flag" 





  • Example:

    PHP Code:






    "Default"
    "Cool Knife" "models/v_coolknife.mdl" "models/p_coolknife.mdl"
    "Army Knife" "models/v_armyknife.mdl" "models/p_armyknife.mdl"
    "Crom Knife" "models/some_folder/v_blabla.mdl" "models/some_folder/v_blabla.mdl"
    "asdsdsadsad Knife" "models/asdsadasdsadsadsasadsad.mdl"
    "VIP Knife" "models/v_vipknife.mdl" "models/p_vipknife.mdl" "b"
    "VIP Knife without p_ model" "models/v_vipknife.mdl" "" "b"

    Comments

    • OciXCrom avatar
      OciXCrom avatar Offline
      Member Joined 6 years ago
      1,966 points Ranked 2318th
      16 medals 1 rare
      • Submitted 20 Gamefiles 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
      • Reached 1,000 Points Medal icon
      Report post
      13 days ago:
      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
    • rockz27 avatar
      rockz27 Offline
      Member Joined 2 years ago
      352 points Ranked 10976th
      Report post
      13 days ago:

      @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
    • OciXCrom avatar
      OciXCrom avatar Offline
      Member Joined 6 years ago
      1,966 points Ranked 2318th
      16 medals 1 rare
      • Submitted 20 Gamefiles 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
      • Reached 1,000 Points Medal icon
      Report post
      13 days ago:
      @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
    • IXShadowXI avatar
      IXShadowXI Offline
      Member Joined 6 months ago
      394 points Ranked 9998th
      Report post
      14 days ago:
      I said in the chat "/knife" and in the console "km_open_at_spawn "0" " and it didn't work .
      Tryhqrder
    • rockz27 avatar
      rockz27 Offline
      Member Joined 2 years ago
      352 points Ranked 10976th
      Report post
      14 days ago:
      what values can be entered in "flag" and what do they mean ? a li'l explanation would help ;)..

      Thanks !
      Bananite
    • FrozeNN avatar
      FrozeNN Offline
      Member Joined 3 months ago
      Report post
      14 days ago:
      Polish Version.

      [pl]
      KM_CHAT_PREFIX = !g[Modele Kos]!n
      KM_CHAT_ALREADY = Ta Kosa jest wlasnie uzywana!
      KM_CHAT_SELECTED = Wybrales Kose !g%s
      KM_MENU_TITLE = \y< \rWybierz swoj model Kosy \y>
      KM_MENU_TITLE_PAGE = ^n\r-- \yStrona:\r
      KM_MENU_SELECTED = \y~ \rWybrano \y~
      KM_MENU_VIP_ONLY = \y~ \rVIP \y~
      • Thanks x 1
      Bananite

    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 6 years ago
    1,966 points Ranked 2318th
    16 medals 1 rare
    • Submitted 20 Gamefiles 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
    • Reached 1,000 Points Medal icon

    OciXCrom avatar
    OciXCrom

    Creator
    Send a Private Message to the submitter

    Stats

    Posts
    6
    Views
    753
    Downloads
    312
    Date Added
    14 days ago
    Mar 10 2017 @ 6:38pm UTC
    Date Modified
    13 days ago
    Mar 11 2017 @ 9:44pm UTC
    Date Updated
    14 days ago
    Mar 10 2017 @ 6:38pm UTC

    Rating

    10/10 by 1 rater