New medical box (#5278)

* Replaced medical box

* Added ElTyranos as author

* RVMAT code style

* Added ground contact points, fixed broken face
This commit is contained in:
BaerMitUmlaut 2017-08-22 19:55:14 +02:00 committed by PabstMirror
parent accaf9fd01
commit b7e42cb7a4
11 changed files with 157 additions and 4 deletions

View File

@ -63,6 +63,7 @@ dixon13 <dixonbegay@gmail.com>
Drill <drill87@gmail.com> Drill <drill87@gmail.com>
Dudakov aka [OMCB]Kaban <dudakov.s@gmail.com> Dudakov aka [OMCB]Kaban <dudakov.s@gmail.com>
Dslyecxi <dslyecxi@gmail.com> Dslyecxi <dslyecxi@gmail.com>
ElTyranos
eRazeri eRazeri
evromalarkey <evromalarkey@gmail.com> evromalarkey <evromalarkey@gmail.com>
F3 Project <alanr@ferstaberinde.com> F3 Project <alanr@ferstaberinde.com>

View File

@ -876,14 +876,22 @@ class CfgVehicles {
}; };
}; };
class NATO_Box_Base; class ThingX;
class ReammoBox_F: ThingX {
class ACE_Actions;
};
class NATO_Box_Base: ReammoBox_F {
class ACE_Actions: ACE_Actions {
class ACE_MainActions;
};
};
class ACE_medicalSupplyCrate: NATO_Box_Base { class ACE_medicalSupplyCrate: NATO_Box_Base {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
accuracy = 1000; accuracy = 1000;
displayName = CSTRING(medicalSupplyCrate); displayName = CSTRING(medicalSupplyCrate);
model = QPATHTOF(data\ace_medcrate.p3d); model = QPATHTOF(data\ace_medcrate.p3d);
author = ECSTRING(common,ACETeam); author = "ElTyranos";
class TransportItems { class TransportItems {
MACRO_ADDITEM(ACE_fieldDressing,50); MACRO_ADDITEM(ACE_fieldDressing,50);
MACRO_ADDITEM(ACE_morphine,25); MACRO_ADDITEM(ACE_morphine,25);
@ -893,6 +901,35 @@ class CfgVehicles {
MACRO_ADDITEM(ACE_bloodIV_250,15); MACRO_ADDITEM(ACE_bloodIV_250,15);
MACRO_ADDITEM(ACE_bodyBag,10); MACRO_ADDITEM(ACE_bodyBag,10);
}; };
class AnimationSources {
class Cover {
source = "user";
animPeriod = 1.5;
initPhase = 0;
minValue = 0;
maxValue = 1;
};
};
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
selection = "cover_action";
class ACE_OpenLid {
displayName = CSTRING(openLid);
condition = QUOTE(alive _target && {_target animationPhase 'Cover' < 0.5});
statement = QUOTE(_target animate ARR_2(['Cover',1]));
showDisabled = 0;
priority = -1;
};
class ACE_CloseLid {
displayName = CSTRING(closeLid);
condition = QUOTE(alive _target && {_target animationPhase 'Cover' >= 0.5});
statement = QUOTE(_target animate ARR_2(['Cover',0]));
showDisabled = 0;
priority = -1;
};
};
};
}; };
class ACE_medicalSupplyCrate_advanced: ACE_medicalSupplyCrate { class ACE_medicalSupplyCrate_advanced: ACE_medicalSupplyCrate {
displayName = CSTRING(medicalSupplyCrate_advanced); displayName = CSTRING(medicalSupplyCrate_advanced);

Binary file not shown.

View File

@ -0,0 +1,79 @@
surfaceInfo = "a3\data_f\penetration\metal.bisurf";
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={1,1,1,0};
specularPower=50;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1 {
texture="z\ace\addons\medical\data\ace_medcrate_nohq.paa";
uvSource="tex";
class uvTransform {
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage2 {
texture="#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)";
uvSource="tex";
class uvTransform {
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage3 {
texture="#(argb,8,8,3)color(0,0,0,0,MC)";
uvSource="tex";
class uvTransform {
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage4 {
texture="z\ace\addons\medical\data\ace_medcrate_as.paa";
uvSource="tex";
class uvTransform {
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage5 {
texture="z\ace\addons\medical\data\ace_medcrate_smdi.paa";
uvSource="tex";
class uvTransform {
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage6 {
texture="#(ai,64,64,1)fresnel(2,0.1)";
uvSource="tex";
class uvTransform {
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage7 {
texture="a3\data_f\env_land_co.paa";
uvSource="tex";
class uvTransform {
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -4,6 +4,14 @@ class CfgSkeletons {
skeletonInherit = ""; skeletonInherit = "";
skeletonBones[] = {}; skeletonBones[] = {};
}; };
class ACE_Medcrate_Skeleton {
isDiscrete = 1;
skeletonInherit = "Default";
skeletonBones[] = {
"cover",""
};
}
}; };
class CfgModels { class CfgModels {
@ -12,13 +20,33 @@ class CfgModels {
sections[] = {""}; sections[] = {""};
skeletonName = ""; skeletonName = "";
}; };
class IVBagBase: Default { class IVBagBase: Default {
sectionsInherit = ""; sectionsInherit = "";
sections[] = {"camo"}; sections[] = {"camo"};
skeletonName = ""; skeletonName = "";
}; };
class IVBag_250ml: IVBagBase {}; class IVBag_250ml: IVBagBase {};
class IVBag_500ml: IVBagBase {}; class IVBag_500ml: IVBagBase {};
class IVBag_1000ml: IVBagBase {}; class IVBag_1000ml: IVBagBase {};
class ace_medcrate: Default {
skeletonName = "ACE_Medcrate_Skeleton";
sectionsInherit = "Default";
class Animations {
class Cover {
type = "rotationX";
source = "user";
selection = "cover";
axis = "cover_axis";
memory = 1;
sourceAddress = "clamp";
minValue = 0;
maxValue = 1;
angle0 = "0";
angle1 = "rad + 240";
};
};
};
}; };

View File

@ -5605,5 +5605,13 @@
<Chinesesimp>延长AI对已无意识玩家的停火时间</Chinesesimp> <Chinesesimp>延长AI对已无意识玩家的停火时间</Chinesesimp>
<Chinese>延長AI對已無意識玩家的停火時間</Chinese> <Chinese>延長AI對已無意識玩家的停火時間</Chinese>
</Key> </Key>
<Key ID="STR_ACE_Medical_openLid">
<English>Open lid</English>
<German>Deckel aufklappen</German>
</Key>
<Key ID="STR_ACE_Medical_closeLid">
<English>Close lid</English>
<German>Deckel zuklappen</German>
</Key>
</Package> </Package>
</Project> </Project>