simplify inheritance

This commit is contained in:
commy2 2016-03-02 22:16:40 +01:00
parent 0399335a3f
commit 303f8d93b9

View File

@ -35,8 +35,11 @@ class CfgVehicles {
}; };
}; };
class Air; class Helicopter_Base_F;
class Helicopter: Air { class ACE_friesBase: Helicopter_Base_F {
destrType = "";
class Turrets {};
class ACE_SelfActions { class ACE_SelfActions {
class ACE_prepareFRIES { class ACE_prepareFRIES {
displayName = CSTRING(Interaction_prepareFRIES); displayName = CSTRING(Interaction_prepareFRIES);
@ -68,20 +71,12 @@ class CfgVehicles {
}; };
}; };
}; };
class Helicopter_Base_F: Helicopter {
class AnimationSources;
};
class ACE_friesBase: Helicopter_Base_F {
destrType = "";
class Turrets {};
};
class ACE_friesAnchorBar: ACE_friesBase { class ACE_friesAnchorBar: ACE_friesBase {
author = "jokoho48"; author = "jokoho48";
scope = 1; scope = 1;
model = PATHTOF(data\friesAnchorBar.p3d); model = PATHTOF(data\friesAnchorBar.p3d);
animated = 1; animated = 1;
class AnimationSources: AnimationSources { class AnimationSources {
class extendHookRight { class extendHookRight {
source = "user"; source = "user";
initPhase = 0; initPhase = 0;
@ -99,7 +94,7 @@ class CfgVehicles {
scope = 1; scope = 1;
model = PATHTOF(data\friesGantry.p3d); model = PATHTOF(data\friesGantry.p3d);
animated = 1; animated = 1;
class AnimationSources: AnimationSources { class AnimationSources {
class adjustWidth { class adjustWidth {
source = "user"; source = "user";
initPhase = 0.211; initPhase = 0.211;
@ -118,7 +113,7 @@ class CfgVehicles {
}; };
}; };
class ACE_friesGantryReverse: ACE_friesGantry { class ACE_friesGantryReverse: ACE_friesGantry {
class AnimationSources: AnimationSources { class AnimationSources {
class adjustWidth { class adjustWidth {
source = "user"; source = "user";
initPhase = 0.213; initPhase = 0.213;
@ -141,11 +136,7 @@ class CfgVehicles {
author = "KoffeinFlummi"; author = "KoffeinFlummi";
scope = 1; scope = 1;
model = PATHTOF(data\helper.p3d); model = PATHTOF(data\helper.p3d);
class ACE_Actions { class ACE_Actions {};
class ACE_MainActions {
condition = "false";
};
};
class Turrets {}; class Turrets {};
}; };