RHS Compats - Improve some locations for interaction anims (#10235)

This commit is contained in:
johnb432 2024-08-22 02:55:42 +02:00 committed by GitHub
parent ffba612011
commit b2091f0e4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 13 deletions

View File

@ -43,7 +43,7 @@ class CfgVehicles {
class rhs_truck: Truck_F { class rhs_truck: Truck_F {
class EGVAR(interaction,anims) { class EGVAR(interaction,anims) {
class spare_hide { class spare_hide {
selections[] = {"spare"}; positions[] = {"_target selectionPosition ['spare', 'ViewGeometry', 'AveragePoint']"};
items[] = {"ACE_Wheel"}; items[] = {"ACE_Wheel"};
name = ECSTRING(repair,RemoveWheel); name = ECSTRING(repair,RemoveWheel);
text = ECSTRING(repair,RemovingWheel); text = ECSTRING(repair,RemovingWheel);
@ -54,7 +54,7 @@ class CfgVehicles {
class RHS_Ural_BaseTurret: Truck_F { class RHS_Ural_BaseTurret: Truck_F {
class EGVAR(interaction,anims) { class EGVAR(interaction,anims) {
class spare_hide { class spare_hide {
selections[] = {"spare"}; positions[] = {"_target selectionPosition ['spare', 'ViewGeometry', 'AveragePoint']"};
items[] = {"ACE_Wheel"}; items[] = {"ACE_Wheel"};
name = ECSTRING(repair,RemoveWheel); name = ECSTRING(repair,RemoveWheel);
text = ECSTRING(repair,RemovingWheel); text = ECSTRING(repair,RemovingWheel);
@ -65,7 +65,7 @@ class CfgVehicles {
class rhs_zil131_base: Truck_F { class rhs_zil131_base: Truck_F {
class EGVAR(interaction,anims) { class EGVAR(interaction,anims) {
class spare_hide { class spare_hide {
selections[] = {"spare"}; positions[] = {"_target selectionPosition ['spare', 'ViewGeometry', 'AveragePoint']"};
items[] = {"ACE_Wheel"}; items[] = {"ACE_Wheel"};
name = ECSTRING(repair,RemoveWheel); name = ECSTRING(repair,RemoveWheel);
text = ECSTRING(repair,RemovingWheel); text = ECSTRING(repair,RemovingWheel);
@ -77,7 +77,7 @@ class CfgVehicles {
class rhs_kraz255b1_base: rhs_kraz255_base { class rhs_kraz255b1_base: rhs_kraz255_base {
class EGVAR(interaction,anims) { class EGVAR(interaction,anims) {
class spare_hide { class spare_hide {
selections[] = {"spare"}; positions[] = {"_target selectionPosition ['spare', 'FireGeometry', 'AveragePoint']"};
items[] = {"ACE_Wheel"}; items[] = {"ACE_Wheel"};
name = ECSTRING(repair,RemoveWheel); name = ECSTRING(repair,RemoveWheel);
text = ECSTRING(repair,RemovingWheel); text = ECSTRING(repair,RemovingWheel);
@ -89,7 +89,7 @@ class CfgVehicles {
class rhs_kamaz5350: O_Truck_02_covered_F { class rhs_kamaz5350: O_Truck_02_covered_F {
class EGVAR(interaction,anims) { class EGVAR(interaction,anims) {
class spare_hide { class spare_hide {
selections[] = {"spare"}; positions[] = {"_target selectionPosition ['spare', 'FireGeometry', 'AveragePoint']"};
items[] = {"ACE_Wheel"}; items[] = {"ACE_Wheel"};
name = ECSTRING(repair,RemoveWheel); name = ECSTRING(repair,RemoveWheel);
text = ECSTRING(repair,RemovingWheel); text = ECSTRING(repair,RemovingWheel);
@ -101,7 +101,7 @@ class CfgVehicles {
class rhs_tigr_base: MRAP_02_base_F { class rhs_tigr_base: MRAP_02_base_F {
class EGVAR(interaction,anims) { class EGVAR(interaction,anims) {
class spare_hide { class spare_hide {
selections[] = {"spare"}; positions[] = {"_target selectionPosition ['spare', 'ViewGeometry', 'AveragePoint']"};
items[] = {"ACE_Wheel"}; items[] = {"ACE_Wheel"};
name = ECSTRING(repair,RemoveWheel); name = ECSTRING(repair,RemoveWheel);
text = ECSTRING(repair,RemovingWheel); text = ECSTRING(repair,RemovingWheel);
@ -113,7 +113,7 @@ class CfgVehicles {
class RHS_UAZ_Base: Offroad_01_base_f { class RHS_UAZ_Base: Offroad_01_base_f {
class EGVAR(interaction,anims) { class EGVAR(interaction,anims) {
class spare_hide { class spare_hide {
selections[] = {"spare"}; positions[] = {"_target selectionPosition ['spare', 'ViewGeometry', 'AveragePoint']"};
items[] = {"ACE_Wheel"}; items[] = {"ACE_Wheel"};
name = ECSTRING(repair,RemoveWheel); name = ECSTRING(repair,RemoveWheel);
text = ECSTRING(repair,RemovingWheel); text = ECSTRING(repair,RemovingWheel);

View File

@ -60,10 +60,11 @@ class CfgVehicles {
class rhsusf_HEMTT_A4_base: Truck_01_base_F { class rhsusf_HEMTT_A4_base: Truck_01_base_F {
class EGVAR(interaction,anims) { class EGVAR(interaction,anims) {
class hide_spare { class hide_spare {
positions[] = {"_target selectionPosition 'sparewheel' vectorAdd [0.6, 0.6, -0.4]"}; positions[] = {"_target selectionPosition ['sparewheel', 'FireGeometry', 'AveragePoint']"};
items[] = {"ACE_Wheel"}; items[] = {"ACE_Wheel"};
name = ECSTRING(repair,RemoveWheel); name = ECSTRING(repair,RemoveWheel);
text = ECSTRING(repair,RemovingWheel); text = ECSTRING(repair,RemovingWheel);
distance = 2.5;
}; };
}; };
}; };
@ -72,7 +73,7 @@ class CfgVehicles {
class rhsusf_m1151_base: MRAP_01_base_F { class rhsusf_m1151_base: MRAP_01_base_F {
class EGVAR(interaction,anims) { class EGVAR(interaction,anims) {
class hide_spare { class hide_spare {
positions[] = {"_target selectionPosition 'sparewheel' vectorAdd [-0.465, 0, 0]"}; positions[] = {"_target selectionPosition ['sparewheel', 'FireGeometry', 'AveragePoint']"};
items[] = {"ACE_Wheel"}; items[] = {"ACE_Wheel"};
name = ECSTRING(repair,RemoveWheel); name = ECSTRING(repair,RemoveWheel);
text = ECSTRING(repair,RemovingWheel); text = ECSTRING(repair,RemovingWheel);
@ -83,7 +84,7 @@ class CfgVehicles {
class rhsusf_M1165A1_GMV_SAG2_base: rhsusf_m1151_base { class rhsusf_M1165A1_GMV_SAG2_base: rhsusf_m1151_base {
class EGVAR(interaction,anims) { class EGVAR(interaction,anims) {
class hide_spare { class hide_spare {
positions[] = {"_target selectionPosition 'sparewheel_gmv' vectorAdd [0, -0.44, 0]"}; positions[] = {"_target selectionPosition ['sparewheel_gmv', 'Geometry', 'AveragePoint']"};
items[] = {"ACE_Wheel"}; items[] = {"ACE_Wheel"};
name = ECSTRING(repair,RemoveWheel); name = ECSTRING(repair,RemoveWheel);
text = ECSTRING(repair,RemovingWheel); text = ECSTRING(repair,RemovingWheel);
@ -94,7 +95,7 @@ class CfgVehicles {
class rhsusf_rg33_base: MRAP_01_base_F { class rhsusf_rg33_base: MRAP_01_base_F {
class EGVAR(interaction,anims) { class EGVAR(interaction,anims) {
class hide_spare { class hide_spare {
selections[] = {"sparewheel"}; positions[] = {"_target selectionPosition ['sparewheel', 'FireGeometry', 'AveragePoint']"};
items[] = {"ACE_Wheel"}; items[] = {"ACE_Wheel"};
name = ECSTRING(repair,RemoveWheel); name = ECSTRING(repair,RemoveWheel);
text = ECSTRING(repair,RemovingWheel); text = ECSTRING(repair,RemovingWheel);
@ -105,7 +106,7 @@ class CfgVehicles {
class rhsusf_M1239_base: MRAP_01_base_F { class rhsusf_M1239_base: MRAP_01_base_F {
class EGVAR(interaction,anims) { class EGVAR(interaction,anims) {
class hide_spare { class hide_spare {
selections[] = {"sparewheel"}; positions[] = {"_target selectionPosition ['sparewheel', 'FireGeometry', 'AveragePoint']"};
items[] = {"ACE_Wheel"}; items[] = {"ACE_Wheel"};
name = ECSTRING(repair,RemoveWheel); name = ECSTRING(repair,RemoveWheel);
text = ECSTRING(repair,RemovingWheel); text = ECSTRING(repair,RemovingWheel);
@ -116,7 +117,7 @@ class CfgVehicles {
class rhsusf_MATV_base: MRAP_01_base_F { class rhsusf_MATV_base: MRAP_01_base_F {
class EGVAR(interaction,anims) { class EGVAR(interaction,anims) {
class hide_spare { class hide_spare {
selections[] = {"sparewheel"}; positions[] = {"_target selectionPosition ['sparewheel', 'Geometry', 'AveragePoint']"};
items[] = {"ACE_Wheel"}; items[] = {"ACE_Wheel"};
name = ECSTRING(repair,RemoveWheel); name = ECSTRING(repair,RemoveWheel);
text = ECSTRING(repair,RemovingWheel); text = ECSTRING(repair,RemovingWheel);