From 943eef46ef1b4979087a5824c3bdd5e2178d6d0d Mon Sep 17 00:00:00 2001 From: Sotirios Pupakis Date: Thu, 25 Apr 2024 23:17:41 +0200 Subject: [PATCH] wheel rotate --- .hemtt/missions/test.Stratis/mission.sqm | Bin 10014 -> 10014 bytes addons/m119/tbd_m119/model.cfg | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/.hemtt/missions/test.Stratis/mission.sqm b/.hemtt/missions/test.Stratis/mission.sqm index f0ea0653f28c094bd252a0c67b9322282b223c06..39f855cbef5f8a7e1907cdba4396f317d15d48b9 100644 GIT binary patch delta 140 zcmbQ|H_vYaBXfNM0|NsmGmv0pWXemeDDiY*;9z86kO2v?Fcst%GcYq=_ zN5;=PcDpjAWEKGh+iq&wGp=Z}-_IEB%e#lEv;Zj9(qwPXXmA%O5g#PKhbgf*GbI%$ hob@GS5711Y9c91j_m_ihWAMo=E@5cj+`v3f836Y2CXoOD diff --git a/addons/m119/tbd_m119/model.cfg b/addons/m119/tbd_m119/model.cfg index e9015d5..5c37079 100644 --- a/addons/m119/tbd_m119/model.cfg +++ b/addons/m119/tbd_m119/model.cfg @@ -65,6 +65,28 @@ class CfgModels { angle1 = "rad -360"; }; + class leftwheel_rot { + type = "rotation"; + source = "howitzer_rotation_source"; + selection = "leftwheel"; + axis = "axis_wheels"; + minValue = -1440; + maxValue = 1440; + angle0 = "rad -2880"; + angle1 = "rad +2880"; + }; + + class rightwheel_rot { + type = "rotation"; + source = "howitzer_rotation_source"; + selection = "rightwheel"; + axis = "axis_wheels"; + minValue = -1440; + maxValue = 1440; + angle0 = "rad +2880"; + angle1 = "rad -2880"; + }; + class howitzer_rotation { type = "rotationY"; source = "howitzer_rotation_source";