Fucking game

This commit is contained in:
Tklama
2024-04-10 20:10:41 +02:00
parent 5d267b59df
commit 935db3fde6
52 changed files with 1359 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ exclude=[".vscode/**/*"]
[version] [version]
major=0 major=0
minor=1 minor=1
patch= patch=0
git_hash=0 git_hash=0

View File

@@ -18,3 +18,9 @@
//#define TBD_MORT(cmp,fncName) tbd##_##cmp##_##fnc##_##fncName //#define TBD_MORT(cmp,fncName) tbd##_##cmp##_##fnc##_##fncName
#define TBD_M119 tbd_m119 #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

View File

@@ -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";
};
};
};

View File

@@ -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;
};
};

View File

@@ -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;
};
};

View File

@@ -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";
};
};

View File

@@ -1,3 +1,226 @@
class CfgVehicles { 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));
};
};
};
};

View File

@@ -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;
};
};
};

Binary file not shown.

View File

@@ -1,7 +1,19 @@
#include "..\script_component.hpp" #include "..\script_component.hpp"
class CfgPatches { 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 "CfgVehicles.hpp"
#include "CfgMagazines.hpp"
#include "CfgAnimationSourceSounds.hpp"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -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";
};

View File

@@ -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";
};

View File

@@ -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";
};

View File

@@ -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";
};

View File

@@ -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";
};

View File

@@ -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";
};

View File

@@ -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";
};

View File

@@ -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;
};
};
};
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.