RedRyder fixes - still needs work

When binarizing with BinPBO the .RVMAT files cannot be found, there are
also some warnings regarding normal size and other things
This commit is contained in:
icomrade
2015-12-13 16:28:37 -05:00
parent 53fb0b11b6
commit dd173432f2
2 changed files with 23 additions and 12 deletions

View File

@@ -19,6 +19,7 @@ class CfgPatches
units[] = {}; units[] = {};
weapons[] = {"RedRyder"}; weapons[] = {"RedRyder"};
requiredVersion = 1.00000; requiredVersion = 1.00000;
requiredAddons[] = {};
}; };
}; };
class CfgModels class CfgModels
@@ -32,7 +33,7 @@ class CfgAmmo
{ {
class BulletBase; class BulletBase;
class 177_BB : BulletBase { class 177_BB : BulletBase {
model = "\z\addons\redryder\models\BB_Round.p3d"; model = "z\addons\redryder\models\BB_Round.p3d";
simulation = shotShell; simulation = shotShell;
soundHit[] = {0, 1}; soundHit[] = {0, 1};
hit = 4.5; hit = 4.5;
@@ -56,13 +57,13 @@ class CfgMagazines
class 350Rnd_BB_Magazine : CA_Magazine class 350Rnd_BB_Magazine : CA_Magazine
{ {
scope = 2; 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"; picture = "z\addons\redryder\textures\bb_magazine_picture.paa";
displayName = "350 Count .177 BBs"; displayName = "350 Count .177 BBs";
count = 350; count = 350;
ammo = 177_BB; ammo = 177_BB;
initSpeed = 175; initSpeed = 175;
sound[] = {"\z\addons\redryder\M9SD_S1", db + 8, 1,60}; sound[] = {"z\addons\redryder\M9SD_S1", db + 8, 1,60};
reloadMagazineSound[] = {"Ca\sounds\Weapons\rifles\M1014-reload", db - 40, 1, 20}; reloadMagazineSound[] = {"Ca\sounds\Weapons\rifles\M1014-reload", db - 40, 1, 20};
descriptionShort = "350 Zinc Coated .177, 4.5mm BBs"; descriptionShort = "350 Zinc Coated .177, 4.5mm BBs";
weight = 0.2; weight = 0.2;
@@ -91,7 +92,7 @@ class CfgWeapons
midRangeProbab = 0.7; midRangeProbab = 0.7;
maxRange = 75; maxRange = 75;
maxRangeProbab = 0.05; maxRangeProbab = 0.05;
picture = "\z\addons\redryder\textures\redryder_picture.paa"; picture = "z\addons\redryder\textures\redryder_picture.paa";
handAnim[] = {"OFP2_ManSkeleton", "\Ca\weapons\data\Anim\M24.rtm"}; handAnim[] = {"OFP2_ManSkeleton", "Ca\weapons\data\Anim\M24.rtm"};
}; };
}; };

View File

@@ -1,28 +1,38 @@
class CfgSkeletons class CfgSkeletons
{ {
class Default; class Default
{
isDiscrete = 1;
skeletonInherit = "";
skeletonBones[] = {};
};
class redryder: Default class redryder: Default
{ {
skeletonInherit=""; skeletonInherit="";
skeletonBones[]= skeletonBones[]=
{ {
"lever","" "lever",""
}; };
}; };
} };
class CfgModels class CfgModels
{ {
class Default; class Default
{
sectionsInherit="";
sections[] = {};
};
class redryder: Default class redryder: Default
{ {
sectionsInherit="";
sections[] = {};
skeletonName = "redryder"; skeletonName = "redryder";
class Animations class Animations
{ {
class lever_up class lever_up
{ {
type="rotation"; type = "rotation";
source="reload"; source="reload";
selection="lever"; selection="lever";
axis="lever_axis"; axis="lever_axis";