diff --git a/.hemtt/missions/test.Stratis/mission.sqm b/.hemtt/missions/test.Stratis/mission.sqm index aba9d1f..f5f7e84 100644 Binary files a/.hemtt/missions/test.Stratis/mission.sqm and b/.hemtt/missions/test.Stratis/mission.sqm differ diff --git a/.hemtt/project.toml b/.hemtt/project.toml index 1e89bb0..4c8c4ff 100644 --- a/.hemtt/project.toml +++ b/.hemtt/project.toml @@ -10,7 +10,7 @@ exclude=[".vscode/**/*"] [version] major=0 minor=1 -patch= +patch=0 git_hash=0 diff --git a/addons/m119/script_component.hpp b/addons/m119/script_component.hpp index c9c7c50..d72c6aa 100644 --- a/addons/m119/script_component.hpp +++ b/addons/m119/script_component.hpp @@ -18,3 +18,9 @@ //#define TBD_MORT(cmp,fncName) tbd##_##cmp##_##fnc##_##fncName #define TBD_M119 tbd_m119 +#define TBD_M119_WEAPON tbd_m119_weapon + +#define TBD_M119_SHOT_SOUNDSET tbd_m119_shot_soundset +#define TBD_M119_SHOT_SOUNDSHADER tbd_M119_shot_soundshader + +#define TBD_MORTAR_105mm_ROUND_HE tbd_mortar_105mm_round_he \ No newline at end of file diff --git a/addons/m119/tbd_m119/CfgAnimationSourceSounds.hpp b/addons/m119/tbd_m119/CfgAnimationSourceSounds.hpp new file mode 100644 index 0000000..21015b5 --- /dev/null +++ b/addons/m119/tbd_m119/CfgAnimationSourceSounds.hpp @@ -0,0 +1,25 @@ +class CfgAnimationSourceSounds { + class wheels { + + class crank_squeak_1 { + loop = 1; + terminate = 1; + sound0[] = {QPATHTOF(TBD_M119\sounds\wheels.ogg), 1, 1, 20}; + sound1[] = {QPATHTOF(TBD_M119\sounds\wheels.ogg), 1, 1, 20}; + sound[] = {"sound0", 1}; + trigger = "direction"; +}; + }; + + class metalmisc { + + class metalmisc_1 { + loop = 1; + terminate = 1; + sound0[] = {QPATHTOF(TBD_M119\sounds\metalsqueal.ogg), 5, 1, 50}; + sound1[] = {QPATHTOF(TBD_M119\sounds\metalsqueal.ogg), 5, 1, 50}; + sound[] = {"sound0", 1}; + trigger = "direction"; +}; + }; +}; \ No newline at end of file diff --git a/addons/m119/tbd_m119/CfgMagazines.hpp b/addons/m119/tbd_m119/CfgMagazines.hpp new file mode 100644 index 0000000..a0137b5 --- /dev/null +++ b/addons/m119/tbd_m119/CfgMagazines.hpp @@ -0,0 +1,19 @@ + class CfgMagazines { + class Default; + class CA_Magazine: Default {}; + class VehicleMagazine: CA_Magazine {}; + class 32Rnd_155mm_Mo_shells: VehicleMagazine {}; + class 8Rnd_82mm_Mo_shells: 32Rnd_155mm_Mo_shells {}; + + class TBD_MORTAR_105mm_ROUND_HE: 8Rnd_82mm_Mo_shells { + scope = 2; + scopeArsenal = 2; + author = "TBD Team"; + displayName = "105mm HE"; + displayNameShort = "105mm HE"; + initSpeed = 800; + mass = 70; + count = 8; + type = 256; + }; +}; diff --git a/addons/m119/tbd_m119/CfgSoundSets.hpp b/addons/m119/tbd_m119/CfgSoundSets.hpp new file mode 100644 index 0000000..f6d0d0a --- /dev/null +++ b/addons/m119/tbd_m119/CfgSoundSets.hpp @@ -0,0 +1,12 @@ +class CfgSoundSets { + class TBD_M119_SHOT_SOUNDSET { + soundShaders[] = {QUOTE(TBD_M119_SHOT_SOUNDSHADER)}; + volumeFactor = 1.6; + volumeCurve = "InverseSquare2Curve"; + sound3DProcessingType = "WeaponMediumShot3DProcessingType"; + distanceFilter = "weaponShotDistanceFreqAttenuationFilter"; + spatial = 1; + doppler = 0; + loop = 0; + }; +}; diff --git a/addons/m119/tbd_m119/CfgSoundShaders.hpp b/addons/m119/tbd_m119/CfgSoundShaders.hpp new file mode 100644 index 0000000..3eb88c9 --- /dev/null +++ b/addons/m119/tbd_m119/CfgSoundShaders.hpp @@ -0,0 +1,8 @@ +class CfgSoundShaders { + class TBD_M119_SHOT_SOUNDSHADER { + samples[] = {{QPATHTOF(TBD_M119\sounds\M119shot.ogg), 1}}; + volume = 4; + range = 1000; + rangeCurve = "LinearCurve"; + }; +}; diff --git a/addons/m119/tbd_m119/CfgVehicles.hpp b/addons/m119/tbd_m119/CfgVehicles.hpp index 80829d8..489fd55 100644 --- a/addons/m119/tbd_m119/CfgVehicles.hpp +++ b/addons/m119/tbd_m119/CfgVehicles.hpp @@ -1,3 +1,226 @@ class CfgVehicles { - + class All; + class AllVehicles : All {}; + class Land : AllVehicles {}; + class LandVehicle : Land {}; + class StaticWeapon : LandVehicle { + class ACE_Actions { + class ACE_MainActions; + }; + }; + class StaticMortar : StaticWeapon { + class Turrets { + class MainTurret; + }; + }; + + class TBD_M119: StaticMortar { + artilleryScanner = 0; // turn off artillery computer + ace_artillerytables_showRangetable = 1; // "fix" rangetables not showing up + ace_artillerytables_showGunLaying = 1; // "fix" rangetables not showing up + + scope = 2; + scopeCurator = 2; + author = "TBD Team"; + displayName = "M119"; + model = QPATHTOF(TBD_M119\TBD_M119); + editorPreview = QPATHTOF(TBD_M119\data\preview.paa); + picture = QPATHTOF(TBD_M119\data\TBD_M119_icon.paa); + side = 0; + faction = "OPF_F"; + crew = "O_Soldier_F"; + + slingLoadCargoMemoryPoints[] = {"sling_point_1", "sling_point_2", "towing_point"}; + transportSoldier = 0; + cargoAction[] = {"Mortar_Gunner"}; + getInAction = "GetInMortar"; + getOutAction = "GetOutLow"; + unitInfoType = "RscUnitInfoMortar"; + editorSubcategory = "EdSubcat_Turrets"; + cost = 200000; + accuracy = 0.8; + EPEImpulseDamageCoef = 5; + + class Turrets : Turrets { + class MainTurret : MainTurret { + gunnerAction = "Mortar_Gunner"; + gunnergetInAction = "GetInLow"; + gunnergetOutAction = "GetOutLow"; + weapons[] = {QUOTE(TBD_M119_WEAPON)}; + elevationMode = 1; + initCamElev = 20; + minCamElev = -35; + maxCamElev = 35; + initElev = 0; + minTurn = -5.625; + maxTurn = 5.625; + initTurn = 0; + cameraDir = "look"; + discreteDistance[] = {}; + discreteDistanceCameraPoint[] = {"gunnerview"}; + gunnerForceOptics = 0; + maxVerticalRotSpeed = 0.05; + maxHorizontalRotSpeed = 0.1; + memoryPointCamera = "gunnerview"; + memoryPointGunnerOptics = "gunnerview"; + gunnerOpticsModel = QPATHTOF(TBD_M119\scope.p3d); + gunnerUsesPilotView = 1; + disableSoundAttenuation = 1; + soundServo[] = {QPATHTOF(TBD_M119\sounds\wheels.ogg), 1, 1, 20}; + soundServoVertical[] = {QPATHTOF(TBD_M119\sounds\metalsqueal.ogg), 5, 1, 35}; + class ViewOptics : ViewOptics { + camPos = "gunnerview"; + camDir = "look"; + initAngleX = 0; + minAngleX = -30; + maxAngleX = 30; + initAngleY = 0; + minAngleY = 0; + maxAngleY = 68; + initFov = 0.15; + minFov = 0.15; + maxFov = 0.15; + visionMode[] = {"Normal"}; + }; + minelev = -5; + maxelev = 70; + gunBeg = "usti_hlavne"; + gunEnd = "konec_hlavne"; + ejectDeadGunner = 1; + usepip = 2; + discreteDistanceInitIndex = 0; + primaryGunner = 1; + memoryPointsGetInGunner = "pos_gunner"; + memoryPointsGetInGunnerDir = "pos_gunner_dir"; + proxyType = "CPGunner"; + proxyIndex = 1; + }; + }; + htMin = 1; + htMax = 480; + afMax = 0; + mfMax = 0; + mFact = 1; + tBody = 100; + + ace_cargo_canLoad = 0; + ace_dragging_canCarry = 0; + ace_dragging_canDrag = 1; + ace_dragging_dragPosition[] = {0, 1.2, 0}; + ace_dragging_dragDirection = 0; + ace_dragging_ignoreWeight = 1; + + class AnimationSources { + + class carriage_rotation_source { + source = "user"; + initPhase = 0; + animPeriod = 0; + }; + + class rightwheel_source { + source = "user"; + initPhase = 0; + animPeriod = 1; + }; + class leftwheel_source { + source = "user"; + initPhase = 0; + animPeriod = 1; + }; + class recoil_rest_source { + source = "user"; + initPhase = 0; + animPeriod = 1; + }; + class recoil_barrel_source { + source = "user"; + initPhase = 0; + animPeriod = 1; + }; + class open_breach_source { + source = "user"; + initPhase = 0; + animPeriod = 1; + }; + class handle_breach_source { + source = "user"; + initPhase = 0; + animPeriod = 1; + }; + class hydraulics_source { + source = "user"; + initPhase = 0; + animPeriod = 1; + }; + class small_wheel_source { + source = "user"; + initPhase = 0; + animPeriod = 1; + }; + + class magazine_load_source { + source = "user"; + initPhase = 0; + animPeriod = 0.5; + }; + + class magazine_hide_source { + source = "user"; + initPhase = 1; + animPeriod = 0; + }; + + }; + + class ACE_Actions: ACE_Actions { + class VASIL_LoadMag { + selection = "load_magazine"; + distance = 1; + condition = QUOTE([ARR_2(_target,QUOTE(QUOTE(TBD_2B9_VASILEK_MAGAZINE)))] call FUNC(canLoadWeapon)); + showDisabled = 0; + displayName = CSTRING(LOAD_MAGAZINE); + icon = "x\tbd_mortars\addons\main\data\load.paa"; + statement = QUOTE([ARR_2(_target,QUOTE(QUOTE(TBD_2B9_VASILEK_MAGAZINE)))] call FUNC(loadWeapon)); + }; + + class ACE_MainActions: ACE_MainActions { + selection = "interact"; + + class VASIL_Fold { + distance = 2.5; + condition = QUOTE([ARR_1(_target)] call FUNC(canFold)); + showDisabled = 0; + displayName = CSTRING(FOLD); + statement = QUOTE([ARR_1(_target)] call FUNC(fold)); + }; + + class VASIL_Unfold { + distance = 2.5; + condition = QUOTE([ARR_1(_target)] call FUNC(canUnfold)); + showDisabled = 0; + displayName = CSTRING(UNFOLD); + statement = QUOTE([ARR_1(_target)] call FUNC(unfold)); + }; + }; + + class VASIL_Tow { + selection = "towing_point"; + distance = 2.5; + condition = QUOTE([ARR_1(_target)] call FUNC(canBeTowed)); + showDisabled = 0; + displayName = CSTRING(TOW); + statement = QUOTE([ARR_1(_target)] call FUNC(tow)); + }; + + class VASIL_Detach { + selection = "towing_point"; + distance = 2.5; + condition = QUOTE(_target getVariable [ARR_2(QUOTE(QGVAR(towed)),false)]); + showDisabled = 0; + displayName = CSTRING(DETACH); + statement = QUOTE([ARR_1(_target)] call FUNC(detach)); + }; + }; + }; }; diff --git a/addons/m119/tbd_m119/CfgWeapons.hpp b/addons/m119/tbd_m119/CfgWeapons.hpp new file mode 100644 index 0000000..978efee --- /dev/null +++ b/addons/m119/tbd_m119/CfgWeapons.hpp @@ -0,0 +1,74 @@ +class CfgWeapons { + class CannonCore { + class player; + class close; + class short; + class medium; + class far; + }; + + class mortar_82mm: CannonCore {}; + + class TBD_M119_WEAPON: mortar_82mm { + displayName = "M119 howitzer"; + //magazines[] = {QUOTE(TBD_M119_MAGAZINE_DUMMY)}; + modes[] = {"Single1", "Single2", "Single3", "Single4", "Single5", "Single6", "Single7"}; + reloadSound[] = {QPATHTOF(TBD_M119\sounds\reload.ogg), 3, 1, 50}; + reloadMagazineSound[] = {QPATHTOF(TBD_M119\sounds\reload.ogg), 3, 1, 50}; + magazineReloadTime = 0.5; + + class Single1 { + displayName="105mm howitzer charge 1"; + sounds[]= + { + "StandardSound" + }; + class StandardSound { + soundSetShot[] = {QUOTE(TBD_M119_SHOT_SOUNDSET)}; + }; + reloadSound[]= + {QPATHTOF(TBD_M119\sounds\reload.ogg), 3, 1, 50}; + reloadTime=0.35; + artilleryDispersion=1.9; + artilleryCharge = 0.14; + aiRateOfFire=1; + aiRateOfFireDistance=10; + minRange=0; + minRangeProbab=0.0099999998; + midRange=1; + midRangeProbab=0.0099999998; + maxRange=2; + maxRangeProbab=0.0099999998; + }; + + class Single2: Single1 { + displayName="105mm howitzer charge 2"; + artilleryCharge = 0.28; + }; + + class Single3: Single1 { + displayName="105mm howitzer charge 3"; + artilleryCharge = 0.42; + }; + + class Single4: Single1 { + displayName="105mm howitzer charge 4"; + artilleryCharge = 0.56; + }; + + class Single5: Single1 { + displayName="105mm howitzer charge 5"; + artilleryCharge = 0.70; + }; + + class Single6: Single1 { + displayName="105mm howitzer charge 6"; + artilleryCharge = 0.84; + }; + + class Single7: Single1 { + displayName="105mm howitzer charge 7"; + artilleryCharge = 1; + }; + }; +}; diff --git a/addons/m119/tbd_m119/TBD_M119.p3d b/addons/m119/tbd_m119/TBD_M119.p3d new file mode 100644 index 0000000..cf31f79 Binary files /dev/null and b/addons/m119/tbd_m119/TBD_M119.p3d differ diff --git a/addons/m119/tbd_m119/config.cpp b/addons/m119/tbd_m119/config.cpp index d4bb971..d3e4fb0 100644 --- a/addons/m119/tbd_m119/config.cpp +++ b/addons/m119/tbd_m119/config.cpp @@ -1,7 +1,19 @@ #include "..\script_component.hpp" class CfgPatches { - + class TBD_M119 { + addonRootClass = "A3_Armor_F_Beta"; + requiredAddons[] = {"cba_main", "ace_interact_menu"}; + requiredVersion = 0.5; + weapons[] = {}; + units[] = {QUOTE(TBD_M119)}; + }; }; +class Mode_FullAuto; +#include "CfgSoundShaders.hpp" +#include "CfgSoundSets.hpp" +#include "CfgWeapons.hpp" #include "CfgVehicles.hpp" +#include "CfgMagazines.hpp" +#include "CfgAnimationSourceSounds.hpp" diff --git a/addons/m119/tbd_m119/data/Five_as.paa b/addons/m119/tbd_m119/data/Five_as.paa new file mode 100644 index 0000000..ee4f4c9 Binary files /dev/null and b/addons/m119/tbd_m119/data/Five_as.paa differ diff --git a/addons/m119/tbd_m119/data/Five_co.paa b/addons/m119/tbd_m119/data/Five_co.paa new file mode 100644 index 0000000..85b948e Binary files /dev/null and b/addons/m119/tbd_m119/data/Five_co.paa differ diff --git a/addons/m119/tbd_m119/data/Five_nohq.paa b/addons/m119/tbd_m119/data/Five_nohq.paa new file mode 100644 index 0000000..568899e Binary files /dev/null and b/addons/m119/tbd_m119/data/Five_nohq.paa differ diff --git a/addons/m119/tbd_m119/data/Five_smdi.paa b/addons/m119/tbd_m119/data/Five_smdi.paa new file mode 100644 index 0000000..01be8d6 Binary files /dev/null and b/addons/m119/tbd_m119/data/Five_smdi.paa differ diff --git a/addons/m119/tbd_m119/data/Four_as.paa b/addons/m119/tbd_m119/data/Four_as.paa new file mode 100644 index 0000000..1e18fba Binary files /dev/null and b/addons/m119/tbd_m119/data/Four_as.paa differ diff --git a/addons/m119/tbd_m119/data/Four_co.paa b/addons/m119/tbd_m119/data/Four_co.paa new file mode 100644 index 0000000..ac786ea Binary files /dev/null and b/addons/m119/tbd_m119/data/Four_co.paa differ diff --git a/addons/m119/tbd_m119/data/Four_nohq.paa b/addons/m119/tbd_m119/data/Four_nohq.paa new file mode 100644 index 0000000..947d996 Binary files /dev/null and b/addons/m119/tbd_m119/data/Four_nohq.paa differ diff --git a/addons/m119/tbd_m119/data/Four_smdi.paa b/addons/m119/tbd_m119/data/Four_smdi.paa new file mode 100644 index 0000000..32b835b Binary files /dev/null and b/addons/m119/tbd_m119/data/Four_smdi.paa differ diff --git a/addons/m119/tbd_m119/data/One_as.paa b/addons/m119/tbd_m119/data/One_as.paa new file mode 100644 index 0000000..bf63b6a Binary files /dev/null and b/addons/m119/tbd_m119/data/One_as.paa differ diff --git a/addons/m119/tbd_m119/data/One_co.paa b/addons/m119/tbd_m119/data/One_co.paa new file mode 100644 index 0000000..b0a66eb Binary files /dev/null and b/addons/m119/tbd_m119/data/One_co.paa differ diff --git a/addons/m119/tbd_m119/data/One_nohq.paa b/addons/m119/tbd_m119/data/One_nohq.paa new file mode 100644 index 0000000..980d727 Binary files /dev/null and b/addons/m119/tbd_m119/data/One_nohq.paa differ diff --git a/addons/m119/tbd_m119/data/One_smdi.paa b/addons/m119/tbd_m119/data/One_smdi.paa new file mode 100644 index 0000000..48fbdbb Binary files /dev/null and b/addons/m119/tbd_m119/data/One_smdi.paa differ diff --git a/addons/m119/tbd_m119/data/Seven_as.paa b/addons/m119/tbd_m119/data/Seven_as.paa new file mode 100644 index 0000000..bcffc65 Binary files /dev/null and b/addons/m119/tbd_m119/data/Seven_as.paa differ diff --git a/addons/m119/tbd_m119/data/Seven_co.paa b/addons/m119/tbd_m119/data/Seven_co.paa new file mode 100644 index 0000000..a8b60fc Binary files /dev/null and b/addons/m119/tbd_m119/data/Seven_co.paa differ diff --git a/addons/m119/tbd_m119/data/Seven_nohq.paa b/addons/m119/tbd_m119/data/Seven_nohq.paa new file mode 100644 index 0000000..a0a7d72 Binary files /dev/null and b/addons/m119/tbd_m119/data/Seven_nohq.paa differ diff --git a/addons/m119/tbd_m119/data/Seven_smdi.paa b/addons/m119/tbd_m119/data/Seven_smdi.paa new file mode 100644 index 0000000..04c9084 Binary files /dev/null and b/addons/m119/tbd_m119/data/Seven_smdi.paa differ diff --git a/addons/m119/tbd_m119/data/Six_as.paa b/addons/m119/tbd_m119/data/Six_as.paa new file mode 100644 index 0000000..e62604d Binary files /dev/null and b/addons/m119/tbd_m119/data/Six_as.paa differ diff --git a/addons/m119/tbd_m119/data/Six_co.paa b/addons/m119/tbd_m119/data/Six_co.paa new file mode 100644 index 0000000..27d839d Binary files /dev/null and b/addons/m119/tbd_m119/data/Six_co.paa differ diff --git a/addons/m119/tbd_m119/data/Six_nohq.paa b/addons/m119/tbd_m119/data/Six_nohq.paa new file mode 100644 index 0000000..6b0cdb1 Binary files /dev/null and b/addons/m119/tbd_m119/data/Six_nohq.paa differ diff --git a/addons/m119/tbd_m119/data/Six_smdi.paa b/addons/m119/tbd_m119/data/Six_smdi.paa new file mode 100644 index 0000000..9cafe17 Binary files /dev/null and b/addons/m119/tbd_m119/data/Six_smdi.paa differ diff --git a/addons/m119/tbd_m119/data/Three_as.paa b/addons/m119/tbd_m119/data/Three_as.paa new file mode 100644 index 0000000..9fa2b3e Binary files /dev/null and b/addons/m119/tbd_m119/data/Three_as.paa differ diff --git a/addons/m119/tbd_m119/data/Three_co.paa b/addons/m119/tbd_m119/data/Three_co.paa new file mode 100644 index 0000000..4cb42a4 Binary files /dev/null and b/addons/m119/tbd_m119/data/Three_co.paa differ diff --git a/addons/m119/tbd_m119/data/Three_nohq.paa b/addons/m119/tbd_m119/data/Three_nohq.paa new file mode 100644 index 0000000..14161e0 Binary files /dev/null and b/addons/m119/tbd_m119/data/Three_nohq.paa differ diff --git a/addons/m119/tbd_m119/data/Three_smdi.paa b/addons/m119/tbd_m119/data/Three_smdi.paa new file mode 100644 index 0000000..5cc9d9a Binary files /dev/null and b/addons/m119/tbd_m119/data/Three_smdi.paa differ diff --git a/addons/m119/tbd_m119/data/Two_as.paa b/addons/m119/tbd_m119/data/Two_as.paa new file mode 100644 index 0000000..a578ac1 Binary files /dev/null and b/addons/m119/tbd_m119/data/Two_as.paa differ diff --git a/addons/m119/tbd_m119/data/Two_co.paa b/addons/m119/tbd_m119/data/Two_co.paa new file mode 100644 index 0000000..9107d7e Binary files /dev/null and b/addons/m119/tbd_m119/data/Two_co.paa differ diff --git a/addons/m119/tbd_m119/data/Two_nohq.paa b/addons/m119/tbd_m119/data/Two_nohq.paa new file mode 100644 index 0000000..97cb0bd Binary files /dev/null and b/addons/m119/tbd_m119/data/Two_nohq.paa differ diff --git a/addons/m119/tbd_m119/data/Two_smdi.paa b/addons/m119/tbd_m119/data/Two_smdi.paa new file mode 100644 index 0000000..138a342 Binary files /dev/null and b/addons/m119/tbd_m119/data/Two_smdi.paa differ diff --git a/addons/m119/tbd_m119/data/five.rvmat b/addons/m119/tbd_m119/data/five.rvmat new file mode 100644 index 0000000..96c2c37 --- /dev/null +++ b/addons/m119/tbd_m119/data/five.rvmat @@ -0,0 +1,104 @@ +//////////////////////////////////////////////////////////////////// +//DeRap: Produced from mikero's Dos Tools Dll version 5.52 +//'now' is Fri Feb 09 09:45:35 2018 : 'file' last modified on Fri Feb 09 09:45:35 2018 +//http://dev-heaven.net/projects/list_files/mikero-pbodll +//////////////////////////////////////////////////////////////////// + +#define _ARMA_ + +//Class armor_f_gamma : MBT_01\Data\MBT_01_body.rvmat{ +ambient[] = { 0.5, 0.5, 0.5, 0.5 }; +diffuse[] = { 0.5, 0.5, 0.5, 0.5 }; +forcedDiffuse[] = { 0, 0, 0, 1 }; +emmisive[] = { 0, 0, 0, 1 }; +specular[] = { 0.5, 0.5, 0.5, 0.5 }; +specularPower = 100; +PixelShaderID = "Super"; +VertexShaderID = "Super"; + + + +class Stage1 +{ + texture="x\TBD_M119\addons\M119\tbd_m119\data\five_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,0.5,DT)"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,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="x\TBD_M119\addons\M119\tbd_m119\data\five_as.paa"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,0}; + dir[] = {0,0,0}; + pos[] = {0,0,0}; + }; +}; +class Stage5 +{ + texture="x\TBD_M119\addons\M119\tbd_m119\data\five_smdi.paa"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,0}; + dir[] = {0,0,0}; + pos[] = {0,0,0}; + }; +}; +class Stage6 { + texture = "#(ai,64,64,1)fresnel(1.5,0.45)"; + uvSource = "tex"; + class uvTransform { + aside[] = { 1, 0, 0 }; + up[] = { 0, 1, 0 }; + dir[] = { 0, 0, 1 }; + pos[] = { 0, 0, 0 }; + }; +}; +class Stage7 { + texture = "a3\data_f\env_land_ca.paa"; + useWorldEnvMap = "true"; + uvSource = "tex"; + class uvTransform { + aside[] = { 1, 0, 0 }; + up[] = { 0, 1, 0 }; + dir[] = { 0, 0, 1 }; + pos[] = { 0, 0, 0 }; + }; +}; +class StageTI { + texture = "a3\data_f\default_vehicle_ti_ca.paa"; +}; \ No newline at end of file diff --git a/addons/m119/tbd_m119/data/four.rvmat b/addons/m119/tbd_m119/data/four.rvmat new file mode 100644 index 0000000..bd5b801 --- /dev/null +++ b/addons/m119/tbd_m119/data/four.rvmat @@ -0,0 +1,104 @@ +//////////////////////////////////////////////////////////////////// +//DeRap: Produced from mikero's Dos Tools Dll version 5.52 +//'now' is Fri Feb 09 09:45:35 2018 : 'file' last modified on Fri Feb 09 09:45:35 2018 +//http://dev-heaven.net/projects/list_files/mikero-pbodll +//////////////////////////////////////////////////////////////////// + +#define _ARMA_ + +//Class armor_f_gamma : MBT_01\Data\MBT_01_body.rvmat{ +ambient[] = { 0.5, 0.5, 0.5, 0.5 }; +diffuse[] = { 0.5, 0.5, 0.5, 0.5 }; +forcedDiffuse[] = { 0, 0, 0, 1 }; +emmisive[] = { 0, 0, 0, 1 }; +specular[] = { 0.5, 0.5, 0.5, 0.5 }; +specularPower = 100; +PixelShaderID = "Super"; +VertexShaderID = "Super"; + + + +class Stage1 +{ + texture="x\TBD_M119\addons\M119\tbd_m119\data\four_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,0.5,DT)"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,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="x\TBD_M119\addons\M119\tbd_m119\data\four_as.paa"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,0}; + dir[] = {0,0,0}; + pos[] = {0,0,0}; + }; +}; +class Stage5 +{ + texture="x\TBD_M119\addons\M119\tbd_m119\data\four_smdi.paa"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,0}; + dir[] = {0,0,0}; + pos[] = {0,0,0}; + }; +}; +class Stage6 { + texture = "#(ai,64,64,1)fresnel(1.5,0.45)"; + uvSource = "tex"; + class uvTransform { + aside[] = { 1, 0, 0 }; + up[] = { 0, 1, 0 }; + dir[] = { 0, 0, 1 }; + pos[] = { 0, 0, 0 }; + }; +}; +class Stage7 { + texture = "a3\data_f\env_land_ca.paa"; + useWorldEnvMap = "true"; + uvSource = "tex"; + class uvTransform { + aside[] = { 1, 0, 0 }; + up[] = { 0, 1, 0 }; + dir[] = { 0, 0, 1 }; + pos[] = { 0, 0, 0 }; + }; +}; +class StageTI { + texture = "a3\data_f\default_vehicle_ti_ca.paa"; +}; \ No newline at end of file diff --git a/addons/m119/tbd_m119/data/one.rvmat b/addons/m119/tbd_m119/data/one.rvmat new file mode 100644 index 0000000..4e5e78c --- /dev/null +++ b/addons/m119/tbd_m119/data/one.rvmat @@ -0,0 +1,103 @@ +//////////////////////////////////////////////////////////////////// +//DeRap: Produced from mikero's Dos Tools Dll version 5.52 +//'now' is Fri Feb 09 09:45:35 2018 : 'file' last modified on Fri Feb 09 09:45:35 2018 +//http://dev-heaven.net/projects/list_files/mikero-pbodll +//////////////////////////////////////////////////////////////////// + +#define _ARMA_ + +//Class armor_f_gamma : MBT_01\Data\MBT_01_body.rvmat{ +ambient[] = { 0.5, 0.5, 0.5, 0.5 }; +diffuse[] = { 0.5, 0.5, 0.5, 0.5 }; +forcedDiffuse[] = { 0, 0, 0, 1 }; +emmisive[] = { 0, 0, 0, 1 }; +specular[] = { 0.5, 0.5, 0.5, 0.5 }; +specularPower = 50; +PixelShaderID = "Super"; +VertexShaderID = "Super"; + + +class Stage1 +{ + texture="x\TBD_M119\addons\M119\tbd_m119\data\one_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,0.5,DT)"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,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="x\TBD_M119\addons\M119\tbd_m119\data\one_as.paa"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,0}; + dir[] = {0,0,0}; + pos[] = {0,0,0}; + }; +}; +class Stage5 +{ + texture="x\TBD_M119\addons\M119\tbd_m119\data\one_smdi.paa"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,0}; + dir[] = {0,0,0}; + pos[] = {0,0,0}; + }; +}; +class Stage6 { + texture = "#(ai,64,64,1)fresnel(1.5,0.45)"; + uvSource = "tex"; + class uvTransform { + aside[] = { 1, 0, 0 }; + up[] = { 0, 1, 0 }; + dir[] = { 0, 0, 1 }; + pos[] = { 0, 0, 0 }; + }; +}; +class Stage7 { + texture = "a3\data_f\env_land_ca.paa"; + useWorldEnvMap = "true"; + uvSource = "tex"; + class uvTransform { + aside[] = { 1, 0, 0 }; + up[] = { 0, 1, 0 }; + dir[] = { 0, 0, 1 }; + pos[] = { 0, 0, 0 }; + }; +}; +class StageTI { + texture = "a3\data_f\default_vehicle_ti_ca.paa"; +}; \ No newline at end of file diff --git a/addons/m119/tbd_m119/data/seven.rvmat b/addons/m119/tbd_m119/data/seven.rvmat new file mode 100644 index 0000000..d197e92 --- /dev/null +++ b/addons/m119/tbd_m119/data/seven.rvmat @@ -0,0 +1,104 @@ +//////////////////////////////////////////////////////////////////// +//DeRap: Produced from mikero's Dos Tools Dll version 5.52 +//'now' is Fri Feb 09 09:45:35 2018 : 'file' last modified on Fri Feb 09 09:45:35 2018 +//http://dev-heaven.net/projects/list_files/mikero-pbodll +//////////////////////////////////////////////////////////////////// + +#define _ARMA_ + +//Class armor_f_gamma : MBT_01\Data\MBT_01_body.rvmat{ +ambient[] = { 0.5, 0.5, 0.5, 0.5 }; +diffuse[] = { 0.5, 0.5, 0.5, 0.5 }; +forcedDiffuse[] = { 0, 0, 0, 1 }; +emmisive[] = { 0, 0, 0, 1 }; +specular[] = { 0.5, 0.5, 0.5, 0.5 }; +specularPower = 100; +PixelShaderID = "Super"; +VertexShaderID = "Super"; + + + +class Stage1 +{ + texture="x\TBD_M119\addons\M119\tbd_m119\data\seven_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,0.5,DT)"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,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="x\TBD_M119\addons\M119\tbd_m119\data\seven_as.paa"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,0}; + dir[] = {0,0,0}; + pos[] = {0,0,0}; + }; +}; +class Stage5 +{ + texture="x\TBD_M119\addons\M119\tbd_m119\data\seven_smdi.paa"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,0}; + dir[] = {0,0,0}; + pos[] = {0,0,0}; + }; +}; +class Stage6 { + texture = "#(ai,64,64,1)fresnel(1.5,0.45)"; + uvSource = "tex"; + class uvTransform { + aside[] = { 1, 0, 0 }; + up[] = { 0, 1, 0 }; + dir[] = { 0, 0, 1 }; + pos[] = { 0, 0, 0 }; + }; +}; +class Stage7 { + texture = "a3\data_f\env_land_ca.paa"; + useWorldEnvMap = "true"; + uvSource = "tex"; + class uvTransform { + aside[] = { 1, 0, 0 }; + up[] = { 0, 1, 0 }; + dir[] = { 0, 0, 1 }; + pos[] = { 0, 0, 0 }; + }; +}; +class StageTI { + texture = "a3\data_f\default_vehicle_ti_ca.paa"; +}; \ No newline at end of file diff --git a/addons/m119/tbd_m119/data/six.rvmat b/addons/m119/tbd_m119/data/six.rvmat new file mode 100644 index 0000000..28e0e8f --- /dev/null +++ b/addons/m119/tbd_m119/data/six.rvmat @@ -0,0 +1,104 @@ +//////////////////////////////////////////////////////////////////// +//DeRap: Produced from mikero's Dos Tools Dll version 5.52 +//'now' is Fri Feb 09 09:45:35 2018 : 'file' last modified on Fri Feb 09 09:45:35 2018 +//http://dev-heaven.net/projects/list_files/mikero-pbodll +//////////////////////////////////////////////////////////////////// + +#define _ARMA_ + +//Class armor_f_gamma : MBT_01\Data\MBT_01_body.rvmat{ +ambient[] = { 0.5, 0.5, 0.5, 0.5 }; +diffuse[] = { 0.5, 0.5, 0.5, 0.5 }; +forcedDiffuse[] = { 0, 0, 0, 1 }; +emmisive[] = { 0, 0, 0, 1 }; +specular[] = { 0.5, 0.5, 0.5, 0.5 }; +specularPower = 100; +PixelShaderID = "Super"; +VertexShaderID = "Super"; + + + +class Stage1 +{ + texture="x\TBD_M119\addons\M119\tbd_m119\data\six_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,0.5,DT)"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,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="x\TBD_M119\addons\M119\tbd_m119\data\six_as.paa"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,0}; + dir[] = {0,0,0}; + pos[] = {0,0,0}; + }; +}; +class Stage5 +{ + texture="x\TBD_M119\addons\M119\tbd_m119\data\six_smdi.paa"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,0}; + dir[] = {0,0,0}; + pos[] = {0,0,0}; + }; +}; +class Stage6 { + texture = "#(ai,64,64,1)fresnel(1.5,0.45)"; + uvSource = "tex"; + class uvTransform { + aside[] = { 1, 0, 0 }; + up[] = { 0, 1, 0 }; + dir[] = { 0, 0, 1 }; + pos[] = { 0, 0, 0 }; + }; +}; +class Stage7 { + texture = "a3\data_f\env_land_ca.paa"; + useWorldEnvMap = "true"; + uvSource = "tex"; + class uvTransform { + aside[] = { 1, 0, 0 }; + up[] = { 0, 1, 0 }; + dir[] = { 0, 0, 1 }; + pos[] = { 0, 0, 0 }; + }; +}; +class StageTI { + texture = "a3\data_f\default_vehicle_ti_ca.paa"; +}; \ No newline at end of file diff --git a/addons/m119/tbd_m119/data/three.rvmat b/addons/m119/tbd_m119/data/three.rvmat new file mode 100644 index 0000000..1d03889 --- /dev/null +++ b/addons/m119/tbd_m119/data/three.rvmat @@ -0,0 +1,104 @@ +//////////////////////////////////////////////////////////////////// +//DeRap: Produced from mikero's Dos Tools Dll version 5.52 +//'now' is Fri Feb 09 09:45:35 2018 : 'file' last modified on Fri Feb 09 09:45:35 2018 +//http://dev-heaven.net/projects/list_files/mikero-pbodll +//////////////////////////////////////////////////////////////////// + +#define _ARMA_ + +//Class armor_f_gamma : MBT_01\Data\MBT_01_body.rvmat{ +ambient[] = { 0.5, 0.5, 0.5, 0.5 }; +diffuse[] = { 0.5, 0.5, 0.5, 0.5 }; +forcedDiffuse[] = { 0, 0, 0, 1 }; +emmisive[] = { 0, 0, 0, 1 }; +specular[] = { 0.5, 0.5, 0.5, 0.5 }; +specularPower = 100; +PixelShaderID = "Super"; +VertexShaderID = "Super"; + + + +class Stage1 +{ + texture="x\TBD_M119\addons\M119\tbd_m119\data\three_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,0.5,DT)"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,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="x\TBD_M119\addons\M119\tbd_m119\data\three_as.paa"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,0}; + dir[] = {0,0,0}; + pos[] = {0,0,0}; + }; +}; +class Stage5 +{ + texture="x\TBD_M119\addons\M119\tbd_m119\data\three_smdi.paa"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,0}; + dir[] = {0,0,0}; + pos[] = {0,0,0}; + }; +}; +class Stage6 { + texture = "#(ai,64,64,1)fresnel(1.5,0.45)"; + uvSource = "tex"; + class uvTransform { + aside[] = { 1, 0, 0 }; + up[] = { 0, 1, 0 }; + dir[] = { 0, 0, 1 }; + pos[] = { 0, 0, 0 }; + }; +}; +class Stage7 { + texture = "a3\data_f\env_land_ca.paa"; + useWorldEnvMap = "true"; + uvSource = "tex"; + class uvTransform { + aside[] = { 1, 0, 0 }; + up[] = { 0, 1, 0 }; + dir[] = { 0, 0, 1 }; + pos[] = { 0, 0, 0 }; + }; +}; +class StageTI { + texture = "a3\data_f\default_vehicle_ti_ca.paa"; +}; \ No newline at end of file diff --git a/addons/m119/tbd_m119/data/two.rvmat b/addons/m119/tbd_m119/data/two.rvmat new file mode 100644 index 0000000..84bb485 --- /dev/null +++ b/addons/m119/tbd_m119/data/two.rvmat @@ -0,0 +1,103 @@ +//////////////////////////////////////////////////////////////////// +//DeRap: Produced from mikero's Dos Tools Dll version 5.52 +//'now' is Fri Feb 09 09:45:35 2018 : 'file' last modified on Fri Feb 09 09:45:35 2018 +//http://dev-heaven.net/projects/list_files/mikero-pbodll +//////////////////////////////////////////////////////////////////// + +#define _ARMA_ + +//Class armor_f_gamma : MBT_01\Data\MBT_01_body.rvmat{ +ambient[] = { 0.5, 0.5, 0.5, 0.5 }; +diffuse[] = { 0.5, 0.5, 0.5, 0.5 }; +forcedDiffuse[] = { 0, 0, 0, 1 }; +emmisive[] = { 0, 0, 0, 1 }; +specular[] = { 0.5, 0.5, 0.5, 0.5 }; +specularPower = 100; +PixelShaderID = "Super"; +VertexShaderID = "Super"; + + +class Stage1 +{ + texture="x\TBD_M119\addons\M119\tbd_m119\data\two_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,0.5,DT)"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,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="x\TBD_M119\addons\M119\tbd_m119\data\two_as.paa"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,0}; + dir[] = {0,0,0}; + pos[] = {0,0,0}; + }; +}; +class Stage5 +{ + texture="x\TBD_M119\addons\M119\tbd_m119\data\two_smdi.paa"; + uvSource = "tex"; + class uvTransform + { + aside[] = {1,0,0}; + up[] = {0,1,0}; + dir[] = {0,0,0}; + pos[] = {0,0,0}; + }; +}; +class Stage6 { + texture = "#(ai,64,64,1)fresnel(1.5,0.45)"; + uvSource = "tex"; + class uvTransform { + aside[] = { 1, 0, 0 }; + up[] = { 0, 1, 0 }; + dir[] = { 0, 0, 1 }; + pos[] = { 0, 0, 0 }; + }; +}; +class Stage7 { + texture = "a3\data_f\env_land_ca.paa"; + useWorldEnvMap = "true"; + uvSource = "tex"; + class uvTransform { + aside[] = { 1, 0, 0 }; + up[] = { 0, 1, 0 }; + dir[] = { 0, 0, 1 }; + pos[] = { 0, 0, 0 }; + }; +}; +class StageTI { + texture = "a3\data_f\default_vehicle_ti_ca.paa"; +}; \ No newline at end of file diff --git a/addons/m119/tbd_m119/model.cfg b/addons/m119/tbd_m119/model.cfg new file mode 100644 index 0000000..cc2b7a2 --- /dev/null +++ b/addons/m119/tbd_m119/model.cfg @@ -0,0 +1,251 @@ +class CfgSkeletons +{ + class Default + { + isDiscrete = 0; + skeletonInherit = ""; + skeletonBones[] = {}; + }; + + class tbd_M119_skeleton: Default + { + pivotsModel=""; + isDiscrete = 0; + skeletonInherit = ""; + skeletonBones[] = + { + "rest", "", + "rightwheel", "rest", + "leftwheel", "rest", + "otocvez", "rest", + "handle_horizontal", "rest", + "otochlaven", "otocvez", + "small_wheel", "otocvez", + "handle_vertical", "otocvez", + "barrel", "otochlaven", + "magazine_translation_bone", "otochlaven", + "magazine", "magazine_translation_bone", + "hydraulics", "otocvez", + "breach", "barrel", + "handle_breach", "barrel" + + }; + }; +}; + +class CfgModels +{ + class Default + { + sectionsInherit=""; + sections[] = {}; + skeletonName = ""; + }; + + class tbd_M119: Default + { + sectionsInherit = ""; + sections[] = + { + }; + skeletonName = "tbd_M119_skeleton"; + +class Animations + { + + class leftwheel + { + type="rotation"; + source="recoil_rest_source"; + selection="leftwheel"; + axis="axis_wheels"; + minValue=0.0; + maxValue=10.0; + angle0 = "rad +360"; + angle1 = "rad -360"; + }; + class rightwheel + { + type="rotation"; + source="recoil_rest_source"; + selection="rightwheel"; + axis="axis_wheels"; + minValue=0.0; + maxValue=10.0; + angle0 = "rad +360"; + angle1 = "rad -360"; + }; + class carriage + { + type="rotation"; + source="carriage_rotation_source"; + selection="carriage"; + axis="rot_carriage"; + minValue=0.0; + maxValue=90.0; + angle0 = "rad 0"; + angle1 = "rad -90"; + }; + + class MainTurret { + type = "rotationY"; + source = "mainTurret"; + selection = "OtocVez"; + axis = "OsaVeze"; + minValue = "rad -360"; + maxValue = "rad +360"; + angle0 = "rad -360"; + angle1 = "rad +360"; + memory = 1; + }; + + + class rotation_handle_horizontal { + type = "rotation"; + source = "mainTurret"; + sourceAddress = "loop"; + selection = "handle_horizontal"; + axis = "axis_handle_horizontal"; + minValue = "0"; + maxValue = "1"; + angle0 = "rad 0"; + angle1 = "rad +5760"; + memory = 1; + }; + + class rotation_handle_vertical { + type = "rotation"; + source = "mainGun"; + sourceAddress = "loop"; + selection = "handle_vertical"; + axis = "axis_handle_vertical"; + minValue = "0"; + maxValue = "1"; + angle0 = "rad 0"; + angle1 = "rad +11520"; + memory = 1; + }; + + class MainGun : MainTurret { + type = "rotationX"; + source = "mainGun"; + selection = "OtocHlaven"; + axis = "OsaHlaven"; + minValue = "rad -360"; + maxValue = "rad +360"; + angle0 = "rad -360"; + angle1 = "rad +360"; + }; + + class recoil_rest + { + type="translation"; + source="recoil_rest_source"; + selection="rest"; + axis="axis_rest"; + minValue=0.0; + maxValue=20; + offset0 = "0.0"; + offset1 = "-2"; + animPeriod = 10; + }; + + class recoil_barrel + { + type="translation"; + source="recoil_barrel_source"; + selection="barrel"; + axis="axis_barrel"; + minValue=0.0; + maxValue=20; + offset0 = "0.0"; + offset1 = "-1"; + animPeriod = 10; + }; + + class open_breach + { + type="translation"; + source="open_breach_source"; + selection="breach"; + axis="axis_breach"; + minValue=0.0; + maxValue=20; + offset0 = "0.0"; + offset1 = "-2"; + animPeriod = 10; + }; + class handle_breach + { + type="rotation"; + source="handle_breach_source"; + selection="handle_breach"; + axis="axis_handle"; + minValue=0.0; + maxValue=1; + angle0 = "rad 0"; + angle1 = "rad 80"; + animPeriod = 10; + memory = 1; + }; + class hydraulics + { + type="rotation"; + source="mainGun"; + sourceAddress = "loop"; + selection="hydraulics"; + axis="axis_hydraulics"; + minValue = "rad -309"; + maxValue = "rad +309"; + angle0 = "rad -360"; + angle1 = "rad +360"; + memory = 1; + + }; + + class rotation_small_wheel { + type = "rotation"; + source = "mainGun"; + sourceAddress = "loop"; + selection = "small_wheel"; + axis = "axis_small_wheel"; + minValue = "rad -180"; + maxValue = "rad +180"; + angle0 = "rad -360"; + angle1 = "rad +360"; + memory = 1; + }; + + + + + class MainGunOptics : MainGun { + selection = "gunnerview"; + axis = "gunnerview"; + }; + + class magazine_load + { + type="translation"; + source="magazine_load_source"; + selection="magazine_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; + }; + }; + +}; +}; + diff --git a/addons/m119/tbd_m119/scope.p3d b/addons/m119/tbd_m119/scope.p3d new file mode 100644 index 0000000..305c5c7 Binary files /dev/null and b/addons/m119/tbd_m119/scope.p3d differ diff --git a/addons/m119/tbd_m119/sounds/M119shot.ogg b/addons/m119/tbd_m119/sounds/M119shot.ogg new file mode 100644 index 0000000..4983f7b Binary files /dev/null and b/addons/m119/tbd_m119/sounds/M119shot.ogg differ diff --git a/addons/m119/tbd_m119/sounds/metalsqueal.ogg b/addons/m119/tbd_m119/sounds/metalsqueal.ogg new file mode 100644 index 0000000..8909174 Binary files /dev/null and b/addons/m119/tbd_m119/sounds/metalsqueal.ogg differ diff --git a/addons/m119/tbd_m119/sounds/reload.ogg b/addons/m119/tbd_m119/sounds/reload.ogg new file mode 100644 index 0000000..611aa82 Binary files /dev/null and b/addons/m119/tbd_m119/sounds/reload.ogg differ diff --git a/addons/m119/tbd_m119/sounds/wheels.ogg b/addons/m119/tbd_m119/sounds/wheels.ogg new file mode 100644 index 0000000..945e81c Binary files /dev/null and b/addons/m119/tbd_m119/sounds/wheels.ogg differ