Added selections for other ammo types

This commit is contained in:
Tklama
2024-05-30 21:23:19 +02:00
parent 392aadf29d
commit c82328c1d3
3 changed files with 121 additions and 0 deletions

View File

@@ -292,6 +292,67 @@ class CfgVehicles {
animPeriod = 0;
};
class magazine_smoke_load_source {
source = "user";
initPhase = 0;
animPeriod = 0.5;
sound = "reload";
soundPosition = "konec_hlavne";
};
class magazine_smoke_hide_source {
source = "user";
initPhase = 1;
animPeriod = 0;
};
class magazine_dpicm_load_source {
source = "user";
initPhase = 0;
animPeriod = 0.5;
sound = "reload";
soundPosition = "konec_hlavne";
};
class magazine_dpicm_hide_source {
source = "user";
initPhase = 1;
animPeriod = 0;
};
class magazine_laser_load_source {
source = "user";
initPhase = 0;
animPeriod = 0.5;
sound = "reload";
soundPosition = "konec_hlavne";
};
class magazine_laser_hide_source {
source = "user";
initPhase = 1;
animPeriod = 0;
};
class mainTurretT_source {
source = "user";
initPhase = 0;

Binary file not shown.

View File

@@ -25,6 +25,12 @@ class CfgSkeletons {
"trigger", "otochlaven",
"magazine_translation_bone", "otochlaven",
"magazine", "magazine_translation_bone",
"magazine_smoke_translation_bone", "otochlaven",
"magazine_smoke", "magazine_smoke_translation_bone",
"magazine_laser_translation_bone", "otochlaven",
"magazine_laser", "magazine_laser_translation_bone",
"magazine_dpicm_translation_bone", "otochlaven",
"magazine_dpicm", "magazine_dpicm_translation_bone",
"hydraulics", "otocvez",
"breech", "barrel",
"handle_breech", "barrel",
@@ -307,12 +313,66 @@ class CfgModels {
animPeriod = 10;
};
class magazine_smoke_load {
type = "translation";
source = "magazine_smoke_load_source";
selection = "magazine_smoke_translation_bone";
axis = "axis_magazine";
minValue = 0.0;
maxValue = 1;
offset0 = "0.0";
offset1 = "-0.515";
animPeriod = 10;
};
class magazine_laser_load {
type = "translation";
source = "magazine_laser_load_source";
selection = "magazine_laser_translation_bone";
axis = "axis_magazine";
minValue = 0.0;
maxValue = 1;
offset0 = "0.0";
offset1 = "-0.515";
animPeriod = 10;
};
class magazine_dpicm_load {
type = "translation";
source = "magazine_dpicm_load_source";
selection = "magazine_dpicm_translation_bone";
axis = "axis_magazine";
minValue = 0.0;
maxValue = 1;
offset0 = "0.0";
offset1 = "-0.515";
animPeriod = 10;
};
class magazine_hide {
type = "hide";
source = "magazine_hide_source";
selection = "magazine";
hideValue = 1;
};
class magazine_smoke_hide {
type = "hide";
source = "magazine_smoke_hide_source";
selection = "magazine";
hideValue = 1;
};
class magazine_laser_hide {
type = "hide";
source = "magazine_laser_hide_source";
selection = "magazine";
hideValue = 1;
};
class magazine_dpicm_hide {
type = "hide";
source = "magazine_dpicm_hide_source";
selection = "magazine";
hideValue = 1;
};
class plate_front_hide {
type = "hide";