mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Casings - Add Western Sahara Casings (#9417)
* Add WS Casings * Minor formatting fix
This commit is contained in:
parent
6f58830603
commit
5eab95d984
@ -26,17 +26,21 @@ if (isNil "_modelPath") then {
|
|||||||
private _cartridge = getText (configFile >> "CfgAmmo" >> _ammo >> "cartridge");
|
private _cartridge = getText (configFile >> "CfgAmmo" >> _ammo >> "cartridge");
|
||||||
//Default cartridge is a 5.56mm model
|
//Default cartridge is a 5.56mm model
|
||||||
_modelPath = switch (_cartridge) do {
|
_modelPath = switch (_cartridge) do {
|
||||||
case "FxCartridge_9mm": { "A3\Weapons_f\ammo\cartridge_small.p3d" };
|
case "FxCartridge_9mm": { "A3\Weapons_f\ammo\cartridge_small.p3d" };
|
||||||
case "FxCartridge_65": { "A3\weapons_f\ammo\cartridge_65.p3d" };
|
case "FxCartridge_65": { "A3\weapons_f\ammo\cartridge_65.p3d" };
|
||||||
case "FxCartridge_762": { "A3\weapons_f\ammo\cartridge_762.p3d" };
|
case "FxCartridge_762": { "A3\weapons_f\ammo\cartridge_762.p3d" };
|
||||||
case "FxCartridge_762x39": { "A3\weapons_f_enoch\ammo\cartridge_762x39.p3d" };
|
case "FxCartridge_762x39": { "A3\weapons_f_enoch\ammo\cartridge_762x39.p3d" };
|
||||||
case "FxCartridge_93x64_Ball": { "A3\Weapons_F_Mark\Ammo\cartridge_93x64.p3d" };
|
case "FxCartridge_93x64_Ball": { "A3\Weapons_F_Mark\Ammo\cartridge_93x64.p3d" };
|
||||||
case "FxCartridge_338_Ball": { "A3\Weapons_F_Mark\Ammo\cartridge_338_LM.p3d" };
|
case "FxCartridge_338_Ball": { "A3\Weapons_F_Mark\Ammo\cartridge_338_LM.p3d" };
|
||||||
case "FxCartridge_338_NM": { "A3\Weapons_F_Mark\Ammo\cartridge_338_NM.p3d" };
|
case "FxCartridge_338_NM": { "A3\Weapons_F_Mark\Ammo\cartridge_338_NM.p3d" };
|
||||||
case "FxCartridge_127": { "A3\weapons_f\ammo\cartridge_127.p3d" };
|
case "FxCartridge_127": { "A3\weapons_f\ammo\cartridge_127.p3d" };
|
||||||
case "FxCartridge_127x54": { "A3\Weapons_F_Mark\Ammo\cartridge_127x54.p3d" };
|
case "FxCartridge_127x54": { "A3\Weapons_F_Mark\Ammo\cartridge_127x54.p3d" };
|
||||||
case "FxCartridge_slug": { "A3\weapons_f\ammo\cartridge_slug.p3d" };
|
case "FxCartridge_slug": { "A3\weapons_f\ammo\cartridge_slug.p3d" };
|
||||||
case "": { "" };
|
case "FxCartridge_12Gauge_HE_lxWS": { "lxWS\weapons_1_f_lxws\Ammo\cartridge_he_lxws.p3d" };
|
||||||
|
case "FxCartridge_12Gauge_Slug_lxWS": { "lxWS\weapons_1_f_lxws\Ammo\cartridge_slug_lxws.p3d" };
|
||||||
|
case "FxCartridge_12Gauge_Smoke_lxWS": { "lxWS\weapons_1_f_lxws\Ammo\cartridge_smoke_lxws.p3d" };
|
||||||
|
case "FxCartridge_12Gauge_Pellet_lxWS": { "lxWS\weapons_1_f_lxws\Ammo\cartridge_pellet_lxws.p3d" };
|
||||||
|
case "": { "" };
|
||||||
default { "A3\Weapons_f\ammo\cartridge.p3d" };
|
default { "A3\Weapons_f\ammo\cartridge.p3d" };
|
||||||
};
|
};
|
||||||
GVAR(cachedCasings) set [_ammo, _modelPath];
|
GVAR(cachedCasings) set [_ammo, _modelPath];
|
||||||
|
Loading…
Reference in New Issue
Block a user