71 lines
1.8 KiB
Modula-2
71 lines
1.8 KiB
Modula-2
// these have to be defined by the game.
|
|
// Counter-Strike ammo data courtesy of https://wiki.alliedmods.net/CS_weapons_information
|
|
entityDef ammo_types {
|
|
"ammo_none" "0"
|
|
"ammo_338magnum" "1"
|
|
"ammo_357sig" "2"
|
|
"ammo_45acp" "3"
|
|
"ammo_50ae" "4"
|
|
"ammo_556nato" "5"
|
|
"ammo_556natobox" "6"
|
|
"ammo_57mm" "7"
|
|
"ammo_762nato" "8"
|
|
"ammo_9mm" "9"
|
|
"ammo_buckshot" "10"
|
|
"ammo_hegrenade" "11"
|
|
"ammo_smokegrenade" "12"
|
|
"ammo_flashbang" "13"
|
|
"ammo_c4" "14"
|
|
}
|
|
|
|
entityDef ammo_names {
|
|
"ammo_none" "None"
|
|
"ammo_338magnum" ".338 Lapua Magnum"
|
|
"ammo_357sig" ".357 SIG"
|
|
"ammo_45acp" ".45 ACP"
|
|
"ammo_50ae" ".50 Action Express"
|
|
"ammo_556nato" "5.56x45mm NATO"
|
|
"ammo_556natobox" "5.56x45mm NATO BOX"
|
|
"ammo_57mm" "FN 5.7x28mm"
|
|
"ammo_762nato" "7.62x51mm NATO"
|
|
"ammo_9mm" "9x19mm Parabellum"
|
|
"ammo_buckshot" "Buckshot"
|
|
"ammo_hegrenade" "HE Grenade"
|
|
"ammo_smokegrenade" "Smoke Grenade"
|
|
"ammo_flashbang" "Flashbang"
|
|
"ammo_c4" "C4"
|
|
}
|
|
|
|
entityDef ammo_max {
|
|
"ammo_none" "0"
|
|
"ammo_338magnum" "30"
|
|
"ammo_357sig" "52"
|
|
"ammo_45acp" "100"
|
|
"ammo_50ae" "35"
|
|
"ammo_556nato" "90"
|
|
"ammo_556natobox" "200"
|
|
"ammo_57mm" "100"
|
|
"ammo_762nato" "90"
|
|
"ammo_9mm" "120"
|
|
"ammo_buckshot" "32"
|
|
"ammo_hegrenade" "1"
|
|
"ammo_smokegrenade" "1"
|
|
"ammo_flashbang" "2"
|
|
"ammo_c4" "1"
|
|
}
|
|
|
|
|
|
// these don't exist as pickups in the game, but
|
|
// might be helpful nonetheless for level designers
|
|
#include "ammo/base.def"
|
|
#include "ammo/556natobox.def"
|
|
#include "ammo/338magnum.def"
|
|
#include "ammo/9mm.def"
|
|
#include "ammo/556nato.def"
|
|
#include "ammo/762nato.def"
|
|
#include "ammo/50ae.def"
|
|
#include "ammo/45acp.def"
|
|
#include "ammo/buckshot.def"
|
|
#include "ammo/base.def"
|
|
#include "ammo/57mm.def"
|
|
#include "ammo/357sig.def"
|