Use number instead of string for weapon slot type in configs

This is consistent with the rest of the weapon configs.

It also avoids issues with using isNumber or getNumber to check slot
type in scripts.
This commit is contained in:
ebaydayz
2016-09-18 14:58:35 -04:00
parent 9ec514cab1
commit 61f38fc259
9 changed files with 10 additions and 10 deletions

View File

@@ -62,5 +62,5 @@ class L110A1_DZ : L110A1_CCO_DZ
};
class BAF_L110A1_Aim_DZE:BAF_L110A1_Aim { //Slightly different scope from L110A1_CCO_DZ, otherwise identical
type = "1";
type = WeaponSlotPrimary;
};

View File

@@ -51,5 +51,5 @@ class M240_Holo_DZ : M240_CCO_DZ
};
class m240_scoped_EP1_DZE:m240_scoped_EP1 { //has m145 scope
type = "1";
type = WeaponSlotPrimary;
};

View File

@@ -63,10 +63,10 @@ class M249_Holo_DZ : M249_CCO_DZ
class M249_EP1;
class M249_EP1_DZ:M249_EP1 { //Iron sight with shorter stock (slightly different look from M249_DZ) can also fire MG36 mags
type = "1";
type = WeaponSlotPrimary;
};
class M249_m145_EP1;
class M249_m145_EP1_DZE:M249_m145_EP1 {
type = "1";
type = WeaponSlotPrimary;
};

View File

@@ -20,5 +20,5 @@ class PKM_DZ : PK //Iron sight PKM
};
class Pecheneg_DZ: Pecheneg { //PKP with long range scope
type = "1";
type = WeaponSlotPrimary;
};

View File

@@ -1,4 +1,4 @@
class M60A4_EP1;
class M60A4_EP1_DZE : M60A4_EP1 {
type = "1";
type = WeaponSlotPrimary;
};

View File

@@ -1,7 +1,7 @@
class BAF_AS50_scoped;
class BAF_AS50_scoped_DZ : BAF_AS50_scoped {
displayname = "AS50_DZ";
type = "1";
type = WeaponSlotPrimary;
canlock = 0;
//cursor = "RifleCursor";
//cursoraim = "Foresight";

View File

@@ -1,4 +1,4 @@
class Anzio_20;
class Anzio_20_DZ : Anzio_20 {
type = 1;
type = WeaponSlotPrimary;
};

View File

@@ -1,4 +1,4 @@
class ksvk;
class KSVK_DZE:ksvk {
type = "1";
type = WeaponSlotPrimary;
};

View File

@@ -1,7 +1,7 @@
class m107: Rifle
{
scope = public;
type = 1;
type = WeaponSlotPrimary;
canlock = 0;
picture = "\CA\weapons\data\Equip\W_m107_CA.paa";
UiPicture = "\CA\weapons\data\Ico\i_sniper_CA.paa";