mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Integrated new model, fixed config, added Kasatka door animation
This commit is contained in:
parent
c917cdab8d
commit
671fcd90b4
@ -1,11 +1,4 @@
|
||||
class CfgVehicles {
|
||||
class Helicopter_Base_H;
|
||||
class GVAR(helper): Helicopter_Base_H {
|
||||
author = "KoffeinFlummi";
|
||||
scope = 2;
|
||||
model = PATHTOF(data\helper.p3d);
|
||||
};
|
||||
|
||||
class Building;
|
||||
class NonStrategic: Building {
|
||||
class AnimationSources;
|
||||
@ -14,22 +7,64 @@ class CfgVehicles {
|
||||
destrType = "";
|
||||
};
|
||||
class ACE_friesAnchorBar: ACE_friesBase {
|
||||
author = "jokoho48";
|
||||
scope = 2;
|
||||
model = PATHTOF(data\friesAnchorBar.p3d);
|
||||
author = "jokoho48";
|
||||
scope = 2;
|
||||
model = PATHTOF(data\friesAnchorBar.p3d);
|
||||
animated = 1;
|
||||
class AnimationSources: AnimationSources {
|
||||
class extendHookRight {
|
||||
source = "user";
|
||||
initPhase = 0;
|
||||
animPeriod = 1.5;
|
||||
};
|
||||
class extendHookLeft {
|
||||
source = "user";
|
||||
initPhase = 0;
|
||||
animPeriod = 1.5;
|
||||
};
|
||||
};
|
||||
class AnimationSources: AnimationSources {
|
||||
class extendHookRight {
|
||||
source = "user";
|
||||
initPhase = 0;
|
||||
animPeriod = 1.5;
|
||||
};
|
||||
class extendHookLeft {
|
||||
source = "user";
|
||||
initPhase = 0;
|
||||
animPeriod = 1.5;
|
||||
};
|
||||
};
|
||||
};
|
||||
class ACE_friesGantry: ACE_friesBase {
|
||||
author = "jokoho48";
|
||||
scope = 2;
|
||||
model = PATHTOF(data\friesGantry.p3d);
|
||||
animated = 1;
|
||||
class AnimationSources: AnimationSources {
|
||||
class adjustWidth {
|
||||
source = "user";
|
||||
initPhase = 0.211;
|
||||
animPeriod = 0;
|
||||
};
|
||||
class rotateGantryLeft {
|
||||
source = "user";
|
||||
initPhase = 0;
|
||||
animPeriod = 0;
|
||||
};
|
||||
class rotateGantryRight {
|
||||
source = "user";
|
||||
initPhase = 0;
|
||||
animPeriod = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
class ACE_friesGantryReverse: ACE_friesGantry {
|
||||
class AnimationSources: AnimationSources {
|
||||
class adjustWidth {
|
||||
source = "user";
|
||||
initPhase = 0.213;
|
||||
animPeriod = 0;
|
||||
};
|
||||
class rotateGantryLeft {
|
||||
source = "user";
|
||||
initPhase = 0.5;
|
||||
animPeriod = 0;
|
||||
};
|
||||
class rotateGantryRight {
|
||||
source = "user";
|
||||
initPhase = 0.5;
|
||||
animPeriod = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Logic;
|
||||
@ -87,22 +122,50 @@ class CfgVehicles {
|
||||
priority = 1;
|
||||
};
|
||||
};
|
||||
class Turrets;
|
||||
};
|
||||
|
||||
class Helicopter_Base_H;
|
||||
class Helicopter_Base_F: Helicopter {
|
||||
class Turrets: Turrets {
|
||||
class MainTurret;
|
||||
};
|
||||
};
|
||||
|
||||
class GVAR(helper): Helicopter_Base_F {
|
||||
author = "KoffeinFlummi";
|
||||
scope = 2;
|
||||
model = PATHTOF(data\helper.p3d);
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
condition = "false";
|
||||
};
|
||||
};
|
||||
class Turrets: Turrets {
|
||||
class MainTurret: MainTurret {
|
||||
animationSourceBody = "";
|
||||
animationSourceGun = "";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Heli_Light_02_base_F: Helicopter_Base_H {
|
||||
GVAR(enabled) = 1;
|
||||
GVAR(ropeOrigins[]) = {{1.41, 1.38, 0}, {-1.41, 1.38, 0}};
|
||||
GVAR(onPrepare) = QFUNC(onPrepareCommon);
|
||||
GVAR(onCut) = QFUNC(onCutCommon);
|
||||
};
|
||||
class Heli_Attack_02_base_F: Helicopter_Base_H {
|
||||
class Heli_Attack_02_base_F: Helicopter_Base_F {
|
||||
GVAR(enabled) = 1;
|
||||
GVAR(ropeOrigins[]) = {{1.25, 1.5, -0.6}, {-1.1, 1.5, -0.6}};
|
||||
GVAR(onPrepare) = QFUNC(onPrepareCommon);
|
||||
GVAR(onCut) = QFUNC(onCutCommon);
|
||||
};
|
||||
class Heli_Transport_01_base_F: Helicopter_Base_H {
|
||||
GVAR(enabled) = 2;
|
||||
GVAR(ropeOrigins[]) = {"ropeOriginRight", "ropeOriginLeft"};
|
||||
GVAR(friesType) = "ACE_friesAnchorBar";
|
||||
GVAR(friesAttachmentPoint[]) = {0.065, 2.2, -0.15};
|
||||
|
||||
GVAR(onPrepare) = QFUNC(onPrepareCommon);
|
||||
GVAR(onCut) = QFUNC(onCutCommon);
|
||||
};
|
||||
@ -114,14 +177,17 @@ class CfgVehicles {
|
||||
GVAR(enabled) = 1;
|
||||
GVAR(ropeOrigins[]) = {{0.75, -5.29, -0.11}, {-0.87, -5.29, -0.11}};
|
||||
};
|
||||
class Helicopter_Base_F;
|
||||
class Heli_light_03_base_F: Helicopter_Base_F{
|
||||
GVAR(enabled) = 1;
|
||||
GVAR(ropeOrigins[]) = {{0.84, 2.8, 0.52}, {-0.9, 2.8, 0.52}};
|
||||
class Heli_light_03_base_F: Helicopter_Base_F {
|
||||
GVAR(enabled) = 2;
|
||||
GVAR(ropeOrigins[]) = {"ropeOriginRight", "ropeOriginLeft"};
|
||||
GVAR(friesType) = "ACE_friesGantryReverse";
|
||||
GVAR(friesAttachmentPoint[]) = {1.04, 2.5, -0.34};
|
||||
};
|
||||
class Heli_light_03_unarmed_base_F: Heli_light_03_base_F {
|
||||
GVAR(enabled) = 1;
|
||||
GVAR(ropeOrigins[]) = {{0.84, 2.8, 0.36}, {-0.9, 2.8, 0.36}};
|
||||
GVAR(enabled) = 2;
|
||||
GVAR(ropeOrigins[]) = {"ropeOriginRight", "ropeOriginLeft"};
|
||||
GVAR(friesType) = "ACE_friesGantry";
|
||||
GVAR(friesAttachmentPoint[]) = {-1.07, 3.26, -0.5};
|
||||
};
|
||||
class Heli_Transport_04_base_F;
|
||||
class O_Heli_Transport_04_bench_F: Heli_Transport_04_base_F {
|
||||
|
@ -5,7 +5,7 @@ class CfgPatches {
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"ace_common"};
|
||||
requiredAddons[] = {"ace_interaction"};
|
||||
author[] = {"KoffeinFlummi", "BaerMitUmlaut"};
|
||||
authorUrl = "";
|
||||
VERSION_CONFIG;
|
||||
|
BIN
addons/fastroping/data/friesGantry.p3d
Normal file
BIN
addons/fastroping/data/friesGantry.p3d
Normal file
Binary file not shown.
66
addons/fastroping/data/friesGantry.rvmat
Normal file
66
addons/fastroping/data/friesGantry.rvmat
Normal file
@ -0,0 +1,66 @@
|
||||
ambient[] = {1,1,1,1};
|
||||
diffuse[] = {1,1,1,1};
|
||||
forcedDiffuse[] = {0,0,0,0};
|
||||
emmisive[] = {0,0,0,0};
|
||||
specular[] = {0.071,0.071,0.071,1};
|
||||
specularPower = 110;
|
||||
PixelShaderID = "Super";
|
||||
VertexShaderID = "Super";
|
||||
class Stage1 {
|
||||
texture = "z\ace\addons\fastroping\data\friesGantry_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[] = {10,0,0};
|
||||
up[] = {0,10,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\fastroping\data\friesGantry_as.paa";
|
||||
uvSource = "tex";
|
||||
class uvTransform {
|
||||
aside[] = {1,0,0};
|
||||
up[] = {0,1,0};
|
||||
dir[] = {0,0,1};
|
||||
pos[] = {0,0,1};
|
||||
};
|
||||
};
|
||||
class Stage5 {
|
||||
texture = "z\ace\addons\fastroping\data\friesGantry_smdi.paa";
|
||||
uvSource = "tex";
|
||||
class uvTransform {
|
||||
aside[] = {1,0,0};
|
||||
up[] = {0,1,0};
|
||||
dir[] = {0,0,1};
|
||||
pos[] = {0,0,1};
|
||||
};
|
||||
};
|
||||
class Stage6 {
|
||||
texture = "#(ai,64,64,1)fresnel(4.5,1.1)";
|
||||
uvSource = "none";
|
||||
};
|
||||
class Stage7 {
|
||||
texture = "a3\data_f\env_land_ca.paa";
|
||||
uvSource = "none";
|
||||
};
|
BIN
addons/fastroping/data/friesGantry_as.paa
Normal file
BIN
addons/fastroping/data/friesGantry_as.paa
Normal file
Binary file not shown.
BIN
addons/fastroping/data/friesGantry_co.paa
Normal file
BIN
addons/fastroping/data/friesGantry_co.paa
Normal file
Binary file not shown.
BIN
addons/fastroping/data/friesGantry_nohq.paa
Normal file
BIN
addons/fastroping/data/friesGantry_nohq.paa
Normal file
Binary file not shown.
BIN
addons/fastroping/data/friesGantry_smdi.paa
Normal file
BIN
addons/fastroping/data/friesGantry_smdi.paa
Normal file
Binary file not shown.
@ -12,6 +12,14 @@ class CfgSkeletons {
|
||||
"barLeft", ""
|
||||
};
|
||||
};
|
||||
class ace_friesGantry_skeleton: Default {
|
||||
isDiscrete = 1;
|
||||
skeletonInherit = "Default";
|
||||
skeletonBones[] = {
|
||||
"gantryRight", "",
|
||||
"gantryLeft", ""
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class CfgModels {
|
||||
@ -44,4 +52,44 @@ class CfgModels {
|
||||
};
|
||||
};
|
||||
};
|
||||
class friesGantry: Default {
|
||||
skeletonName = "ace_friesGantry_skeleton";
|
||||
sectionsInherit = "";
|
||||
sections[] = {"ropeOriginRight", "ropeOriginLeft"};
|
||||
class animations {
|
||||
class adjustWidth {
|
||||
type = "translation";
|
||||
source = "";
|
||||
selection = "gantryRight";
|
||||
axis = "axisWidth";
|
||||
animPeriod = 0;
|
||||
minValue = 0;
|
||||
maxValue = 1;
|
||||
offset0 = 0;
|
||||
offset1 = 10;
|
||||
};
|
||||
class rotateGantryLeft {
|
||||
type = "rotation";
|
||||
source = "";
|
||||
selection = "gantryLeft";
|
||||
axis = "axisRotation";
|
||||
animPeriod = 0;
|
||||
minValue = 0;
|
||||
maxValue = 1;
|
||||
angle0 = "rad 0";
|
||||
angle1 = "rad 360";
|
||||
};
|
||||
class rotateGantryRight {
|
||||
type = "rotation";
|
||||
source = "";
|
||||
selection = "gantryRight";
|
||||
axis = "axisRotation";
|
||||
animPeriod = 0;
|
||||
minValue = 0;
|
||||
maxValue = 1;
|
||||
angle0 = "rad 0";
|
||||
angle1 = "rad 360";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -24,12 +24,16 @@ if !(isNull _fries) then {
|
||||
[{
|
||||
_this animateDoor ["door_R", 0];
|
||||
_this animateDoor ["door_L", 0];
|
||||
_vehicle animate ["dvere1_posunZ", 0];
|
||||
_vehicle animate ["dvere2_posunZ", 0];
|
||||
}, _vehicle, 2] call EFUNC(common,waitAndExecute);
|
||||
|
||||
4
|
||||
} else {
|
||||
_vehicle animateDoor ["door_R", 0];
|
||||
_vehicle animateDoor ["door_L", 0];
|
||||
_vehicle animate ["dvere1_posunZ", 0];
|
||||
_vehicle animate ["dvere2_posunZ", 0];
|
||||
|
||||
2
|
||||
};
|
||||
|
@ -22,6 +22,8 @@ _waitTime = 2;
|
||||
|
||||
_vehicle animateDoor ["door_R", 1];
|
||||
_vehicle animateDoor ["door_L", 1];
|
||||
_vehicle animate ["dvere1_posunZ", 1];
|
||||
_vehicle animate ["dvere2_posunZ", 1];
|
||||
|
||||
_fries = _vehicle getVariable [QGVAR(FRIES), objNull];
|
||||
if !(isNull _fries) then {
|
||||
|
Loading…
Reference in New Issue
Block a user