Fixed a ton of errors

Made it look nicer as well, separated some lines and vars and values.
This commit is contained in:
Wargog
2014-08-27 14:48:54 -04:00
parent 6f58a882aa
commit 1c839f47fd

View File

@@ -17,7 +17,7 @@ class CfgPatches
class RedRyder
{
units[] = {};
weapons[] = {RedRyder};
weapons[] = {"RedRyder"};
requiredVersion = 1.00000;
};
};
@@ -26,17 +26,18 @@ class CfgModels
class Default{};
class Weapon: Default{};
class RedRyder : Weapon{};
};
class CfgAmmo
{
class BulletBase;
class 177_BB: BulletBase {
model= z\addons\redryder\models\BB_Round.p3d;
model = "z\addons\redryder\models\BB_Round.p3d";
simulation = shotShell;
soundHit[]={,0,1};
hit=3.7;indirectHit=0;indirectHitRange=0;
soundHit[] = {0,1};
hit = 3.7;
indirectHit = 0;
indirectHitRange = 0;
visibleFire = 10;
audibleFire = 10;
visibleFireTime = 3;
@@ -54,15 +55,15 @@ class CfgMagazines
class CA_Magazine;
class 350Rnd_BB_Magazine: CA_Magazine {
scope = 2;
model= z\addons\redryder\models\bb_magazine.p3d;
model = "z\addons\redryder\models\bb_magazine.p3d";
picture = "z\addons\redryder\textures\bb_magazine_picture.paa";
displayName = 350 Count 177 Cal. BBs;
displayName = "350 Count 177 Cal. BBs";
count = 350;
ammo = 177_BB;
initSpeed = 175;
sound[]={"z\addons\redryder\M9SD_S1", db8, 1,60};
sound[] = {"z\addons\redryder\M9SD_S1", db+8, 1,60};
reloadMagazineSound[] = {"Ca\sounds\Weapons\rifles\M1014-reload", db-40, 1, 20};
descriptionShort = 350 Zink Coated .177, 4.5mm BBs;
descriptionShort = "350 Zinc Coated .177, 4.5mm BBs";
};
};
class CfgWeapons
@@ -80,11 +81,13 @@ class CfgWeapons
reloadTime = 0.45;
sound[] = {"z\addons\redryder\RedRyder\M9SD_S1", db8, 1,60};
dispersion = 0.00045;
minRange=0;minRangeProbab=0.30;
midRange=39;midRangeProbab=0.7;
maxRange=75;maxRangeProbab=0.05;
minRange = 0;
minRangeProbab = 0.30;
midRange = 39;
midRangeProbab = 0.7;
maxRange = 75;
maxRangeProbab = 0.05;
picture = "z\addons\redryder\textures\redryder_picture.paa";
handAnim[] = {"OFP2_ManSkeleton","\Ca\weapons\data\Anim\M24.rtm"};
};
};