Skip to content

Equipments (Models, Particles & Weapons) plugin made with CounterStrikeSharp for CS2

License

Notifications You must be signed in to change notification settings

exkludera-cssharp/equipments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cssharp

Equipments

a plugin that allows players to equip models, particles & weapons

Downloads Stars Forks License

Buy Me a Coffee at ko-fi.com PayPal GitHub Sponsor

Warning

models must have a player bone or it will not attach to the player

Requirements

Showcase

content

Config

Equipments.json

Menu - Default: "CenterHtmlMenu" (ChatMenu/WasdMenu/PlayerMenu)

Command - Default: [""] (command per category, example: css_hats)
AllowMultiple - Default: false (false = only 1 selection per category, true = can equip all at the same time)
Permission - Default: [""] (empty for no check, @css/reservation for vip)
Team - Default: "" (T for Terrorist, CT for CounterTerrorist or empty for both)

Name - Default: "Equipment Name" (the title of the item in the menu)
Model - Default: "" (model file)
Particle - Default: "" (particle file)
Weapon - Default: "" (weapon:subclass example: weapon_awp:weapon_awp_subclass, subclasses are defined in scripts/weapons.vdata)

{
  "Prefix": "{orange}[Equipments]{default}",
  "Menu": {
    "Command": ["css_equipments", "css_equipment"],
    "MenuType": "CenterHtmlMenu",
    "Permission": ["@css/reservation"],
    "Team": "",
  },
  "Categories": {
    "Hats": {
      "Command": ["css_hats"],
      "Permission": ["@css/reservation"],
      "Team": "CT",
      "Equipment":
      [
        { "Name": "Hat #1", "Model": "models/hat_1.vmdl" },
        { "Name": "Hat #2", "Model": "models/hat_2.vmdl" }
      ]
    },
    "Particles": {
      "AllowMultiple": true,
      "Permission": ["@css/generic"],
      "Team": "T",
      "Equipment":
      [
        { "Name": "Particle #1", "Particle": "particles/particle_1.vpcf" },
        { "Name": "Particle #2", "Particle": "particles/particle_2.vpcf" }
      ]
    },
    "Weapons": {
      "AllowMultiple": true,
      "Permission": ["@css/root"],
      "Equipment":
      [
        { "Name": "Knife 1", "Weapon": "weapon_knife:weapon_knife_subclass1" },
        { "Name": "Knife 2", "Weapon": "weapon_knife:weapon_knife_subclass2" }
      ],
      "Category": {
        "CT Examples": {
          "Team": "CT",
          "Equipment":
          [
            { "Name": "AWP CT", "Weapon": "weapon_awp:weapon_awp_subclass_ct" }
          ]
        },
        "T Examples": {
          "Team": "T",
          "Equipment":
          [
            { "Name": "AWP T", "Weapon": "weapon_awp:weapon_awp_subclass_t" }
          ]
        }
      }
    }
  }
}

About

Equipments (Models, Particles & Weapons) plugin made with CounterStrikeSharp for CS2

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 2

  •  
  •  

Languages