Weapons module added, still needs better validations
This commit is contained in:
@ -1,86 +0,0 @@
|
||||
// Weapon Lists
|
||||
//
|
||||
//
|
||||
// Counter-Strike: Source |
|
||||
// -----------------------|
|
||||
// glock |
|
||||
// usp |
|
||||
// p228 |
|
||||
// deagle |
|
||||
// elite |
|
||||
// fiveseven |
|
||||
// m3 |
|
||||
// xm1014 |
|
||||
// mac10 |
|
||||
// tmp |
|
||||
// mp5navy |
|
||||
// ump45 |
|
||||
// p90 |
|
||||
// galil |
|
||||
// famas |
|
||||
// ak47 |
|
||||
// m4a1 |
|
||||
// sg552 |
|
||||
// aug |
|
||||
// scout |
|
||||
// sg550 |
|
||||
// g3sg1 |
|
||||
// awp |
|
||||
// -----------------------|
|
||||
|
||||
|
||||
// Format
|
||||
//
|
||||
//
|
||||
// "weapon group name"
|
||||
// {
|
||||
// "weaponname (listed above)" {} <-- To satisfy the standard format of a keyvalues file,
|
||||
// without these brackets the weapon will be ommitted
|
||||
// }
|
||||
|
||||
|
||||
"weapongroups"
|
||||
{
|
||||
"pistols"
|
||||
{
|
||||
"glock" {}
|
||||
"usp" {}
|
||||
"p228" {}
|
||||
"deagle" {}
|
||||
"elite" {}
|
||||
"fiveseven" {}
|
||||
}
|
||||
|
||||
"shotguns"
|
||||
{
|
||||
"m3" {}
|
||||
"xm1014" {}
|
||||
}
|
||||
|
||||
"smgs"
|
||||
{
|
||||
"mac10" {}
|
||||
"tmp" {}
|
||||
"mp5navy" {}
|
||||
"ump45" {}
|
||||
"p90" {}
|
||||
}
|
||||
|
||||
"rifles"
|
||||
{
|
||||
"galil" {}
|
||||
"famas" {}
|
||||
"ak47" {}
|
||||
"m4a1" {}
|
||||
"sg552" {}
|
||||
"aug" {}
|
||||
}
|
||||
|
||||
"snipers"
|
||||
{
|
||||
"scout" {}
|
||||
"sg550" {}
|
||||
"g2sg1" {}
|
||||
"awp" {}
|
||||
}
|
||||
}
|
58
cstrike/addons/sourcemod/configs/zr/weapons/weapongroups.txt
Normal file
58
cstrike/addons/sourcemod/configs/zr/weapons/weapongroups.txt
Normal file
@ -0,0 +1,58 @@
|
||||
// Weapon Groups
|
||||
// (See list of weapons in weapons.txt)
|
||||
|
||||
// Format
|
||||
//
|
||||
//
|
||||
// "weapon group name" (how it appears in chat messages)
|
||||
// {
|
||||
// "weaponname" {} <-- To satisfy the standard format of a keyvalues file,
|
||||
// without these brackets the weapon will be skipped.
|
||||
// Invalid weapons are logged and skipped.
|
||||
// }
|
||||
|
||||
"weapongroups"
|
||||
{
|
||||
"Pistols"
|
||||
{
|
||||
"Glock" {}
|
||||
"USP" {}
|
||||
"P228" {}
|
||||
"Deagle" {}
|
||||
"Elite" {}
|
||||
"Fiveseven" {}
|
||||
}
|
||||
|
||||
"Shotguns"
|
||||
{
|
||||
"M3" {}
|
||||
"XM1014" {}
|
||||
}
|
||||
|
||||
"SMGs"
|
||||
{
|
||||
"Mac10" {}
|
||||
"TMP" {}
|
||||
"MP5Navy" {}
|
||||
"UMP45" {}
|
||||
"P90" {}
|
||||
}
|
||||
|
||||
"Rifles"
|
||||
{
|
||||
"Galil" {}
|
||||
"Famas" {}
|
||||
"AK47" {}
|
||||
"M4A1" {}
|
||||
"SG552" {}
|
||||
"AUG" {}
|
||||
}
|
||||
|
||||
"Snipers"
|
||||
{
|
||||
"Scout" {}
|
||||
"SG550" {}
|
||||
"G2SG1" {}
|
||||
"AWP" {}
|
||||
}
|
||||
}
|
154
cstrike/addons/sourcemod/configs/zr/weapons/weapons.txt
Normal file
154
cstrike/addons/sourcemod/configs/zr/weapons/weapons.txt
Normal file
@ -0,0 +1,154 @@
|
||||
// Weapons
|
||||
//
|
||||
// Format
|
||||
//
|
||||
// "weaponname" // Name of the weapon (without weapon_ prefix)
|
||||
// {
|
||||
// "restrict" "no" (default) // Restricts the weapon on each map start
|
||||
// "menu" "yes" (default) // Allows admins to toggle restriction with the menu
|
||||
// }
|
||||
//
|
||||
// Duplicate weapon entries will show up separately in restrict menu, but
|
||||
// only the first one's options are used.
|
||||
|
||||
"weapons" // Counter-Strike: Source weapons
|
||||
{
|
||||
"Glock"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"USP"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"P228"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"Deagle"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"Elite"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"Fiveseven"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"M3"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"XM1014"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"Mac10"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"TMP"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"MP5Navy"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"UMP45"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"P90"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"Galil"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"Famas"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"AK47"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "no"
|
||||
}
|
||||
|
||||
"M4A1"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"SG552"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"AUG"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"Scout"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"SG550"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"GSG1"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
"AWP"
|
||||
{
|
||||
"restrict" "no"
|
||||
"menu" "yes"
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user