Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Garage, Turn out, Model fixes #236

Closed
wants to merge 46 commits into from
Closed
Show file tree
Hide file tree
Changes from 44 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
a165f19
garage commit for gitgods
ampersand38 Dec 24, 2021
c8143df
update from main
ampersand38 Dec 24, 2021
fffd7a9
Merge branch 'Main' into garage-2
ampersand38 Dec 24, 2021
628d864
textures
ampersand38 Dec 24, 2021
cd46284
skin updates
ampersand38 Dec 24, 2021
585d699
4.0.0
ampersand38 Dec 24, 2021
993d09d
pbo prefix
ampersand38 Dec 24, 2021
e81ffdc
inherit turrets instead of copying
ampersand38 Dec 25, 2021
ddd826a
60S pylons should not have seats
ampersand38 Dec 25, 2021
d88cf10
Update fnc_perSecond.sqf
ampersand38 Dec 27, 2021
8fab0b3
Merge branch 'turret-inheritance' into garage-2
ampersand38 Dec 29, 2021
892ef47
compartments are inherited
ampersand38 Dec 30, 2021
daf9cea
Fix SFM handling
ampersand38 Dec 30, 2021
f1f26b0
No turrets to lock when hiding gunner seats on DAP
ampersand38 Dec 30, 2021
89a2a2a
Can animate pylons to match stores
ampersand38 Dec 30, 2021
7bad753
old flir shit somehow
ampersand38 Dec 31, 2021
c155dd9
bandaid for pilot turned out
ampersand38 Dec 31, 2021
eabf8c0
Merge branch 'Main' into garage-2
ampersand38 Dec 31, 2021
ff71652
GAU-21 muzzleFlash follow elevation
ampersand38 Jan 2, 2022
5e23e90
-60M and -60S animationSources
ampersand38 Jan 2, 2022
e72b9fd
remove crosshairs
ampersand38 Jan 2, 2022
78ce93e
formatting
ampersand38 Jan 3, 2022
7341c49
turn out limits
ampersand38 Jan 3, 2022
66bd4b1
rotor hub shadows
ampersand38 Jan 3, 2022
f8f4ac9
Fix left gun muzzle flash
ampersand38 Jan 4, 2022
78eb8a6
avoid conflicts with FFV-LOD
ampersand38 Jan 4, 2022
3ef7bab
thigh gap
ampersand38 Jan 5, 2022
282c158
suspension values were lost
ampersand38 Jan 5, 2022
9d7b64a
Crew seat in cabin compartment, not cockpit
ampersand38 Jan 5, 2022
80145bc
Disallow hiding turrets
ampersand38 Jan 5, 2022
2d2bf92
stronger main gear
ampersand38 Jan 5, 2022
f219415
door phsx, main damper top
ampersand38 Jan 5, 2022
0303270
doors open position
ampersand38 Jan 5, 2022
9a46bf1
window seat LOD
ampersand38 Jan 5, 2022
b53aeb2
cabin door phsX, hit points
ampersand38 Jan 5, 2022
67c52b5
doors flush with side when open
ampersand38 Jan 6, 2022
bd87307
shadow bits
ampersand38 Jan 6, 2022
b534e1d
shadows, hitpoints, uvsets
ampersand38 Jan 7, 2022
c2fb7af
remove unused bones
ampersand38 Jan 7, 2022
f2abec9
remove unused animations
ampersand38 Jan 7, 2022
97bf516
pedals go the right way now
ampersand38 Jan 7, 2022
f83adda
tail rotor hitpoints are ridiculously big
ampersand38 Jan 7, 2022
e799623
hitpoint
ampersand38 Jan 7, 2022
5cd57e5
Release 0.4.0.1
ampersand38 Jan 7, 2022
6ce8a58
Merge branch 'Main' into garage-2
ampersand38 Jan 8, 2022
cb06e10
Revert "Merge branch 'Main' into garage-2"
ampersand38 Jan 8, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
110 changes: 22 additions & 88 deletions addons/MH60M/config/cfgVehicles.hpp
Expand Up @@ -12,17 +12,19 @@ class SensorTemplateDataLink;
class CfgVehicles {
class Helicopter_Base_H;
class Heli_Transport_01_base_F: Helicopter_Base_H {
class AnimationSources;
class Turrets;
}; // Heli_Transport_01_base_F
class vtx_H60_base: Heli_Transport_01_base_F {
#include "\z\vtx\addons\UH60\config\CfgAnimationSourcesInherit.hpp"
class ViewPilot;
class vtx_templateFLIR;
class Components;
class AnimationSources;
class Turrets: Turrets
{
class MainTurret;
class CopilotTurret;
class MainTurret;
class RightDoorGun;
};
}; // vtx_H60_base
class vtx_MH60M: vtx_H60_base {
Expand All @@ -41,53 +43,26 @@ class CfgVehicles {

weapons[]={"CMFlareLauncher", "Laserdesignator_pilotcamera"};
magazines[]={"60Rnd_CMFlareMagazine", "Laserbatteries"};
class ViewPilot: ViewPilot
{
initAngleX=0;
};
class Components: Components {
#include "sensors.hpp"
}; // Components
class AnimationSources: AnimationSources {
class Cockpitdoors_Hide {
source="user";
animPeriod=1;
initPhase=1;
};
class RADAR_HIDE {
source="user";
animPeriod=1;
initPhase=0;
};
class FLIR_HIDE {
source="user";
animPeriod=1;
initPhase=0;
};
class Fuelprobe_Show {
source="user";
animPeriod=1;
initPhase=1;
};
class CabinSeats_Hide {
source="user";
animPeriod=1;
initPhase=1;
};
class MAWS_Tubes_Show {
source="user";
animPeriod=1;
initPhase=1;
};
class ERFS_Show: MAWS_Tubes_Show {
initPhase=1;
};
ANIM_INIT(CabinSeats_1_Hide,1);
ANIM_INIT(CabinSeats_2_Hide,1);
ANIM_INIT(CabinSeats_3_Hide,1);
ANIM_INIT(Cockpitdoors_Hide,1);
ANIM_INIT(RADAR_HIDE,0);
ANIM_INIT(FLIR_HIDE,0);
ANIM_INIT(FuelProbe_show,1);
ANIM_INIT(MAWS_Tubes_Show,1);
ANIM_INIT(ERFS_show,1);
}; // AnimationSources
class CargoTurret;
class Turrets: Turrets
{
class CopilotTurret: CopilotTurret {};
#include "\z\vtx\addons\UH60\config\turrets\doorguns.hpp"
class MainTurret: MainTurret {};
class RightDoorGun: RightDoorGun {};
#include "\z\vtx\addons\UH60\config\turrets\cargoTurrets.hpp"
};
hiddenSelectionsTextures[] = {"","","","","","","","","","","","","","","","","z\vtx\addons\MH60M\data\main_co.paa","z\vtx\addons\MH60M\Data\Misc_co.paa","z\vtx\addons\MH60M\data\tail_co.paa","","","","","","z\vtx\addons\UH60\data\FuelProbe\Fuel_probe_co.paa"};
Expand All @@ -100,10 +75,6 @@ class CfgVehicles {
displayName = "MH-60M DAP";
editorPreview = "z\vtx\addons\MH60M\Data\Preview\vtx_MH60M_DAP.jpg";
cargoProxyIndexes[] = {};
class ViewPilot: ViewPilot
{
initAngleX=0;
};
class Components: Components {
#include "Pylons.hpp"
#include "sensors.hpp"
Expand All @@ -120,7 +91,7 @@ class CfgVehicles {
source="revolving";
weapon="vtx_MH60M_M134_minigun";
};
class Muzzle_flash1
class Muzzle_flash
{
source="ammorandom";
weapon="vtx_MH60M_M134_minigun";
Expand All @@ -130,53 +101,16 @@ class CfgVehicles {
source="ammorandom";
weapon="vtx_MH60M_M134_minigun";
};
class Cockpitdoors_Hide {
source="user";
animPeriod=1;
initPhase=1;
};
class RADAR_HIDE {
source="user";
animPeriod=1;
initPhase=0;
};
class FLIR_HIDE {
source="user";
animPeriod=1;
initPhase=0;
};
class LASS_Show {
source="user";
animPeriod=1;
initPhase=1;
};
class Fuelprobe_Show {
source="user";
animPeriod=1;
initPhase=1;
};
class GunnerSeats_Hide {
source="user";
animPeriod=1;
initPhase=1;
};
class CabinSeats_Hide {
source="user";
animPeriod=1;
initPhase=1;
};
class MAWS_Tubes_Show {
source="user";
animPeriod=1;
initPhase=1;
};
class ERFS_Show: MAWS_Tubes_Show {
initPhase=1;
class GunnerSeats_Hide: GunnerSeats_Hide {
initPhase = 1;
onPhaseChanged = "";
};
ANIM_INIT(LASS_show,1);
ANIM_INIT(Minigun_Sight_L_hide,1);
ANIM_INIT(Minigun_Sight_R_hide,1);
}; // AnimationSources
class Turrets: Turrets
{
//#include "\z\vtx\addons\UH60\config\turrets\doorguns_pylons.hpp"
class CopilotTurret: CopilotTurret {};
#include "\z\vtx\addons\UH60\config\turrets\cargoTurrets.hpp"
};
Expand Down
1 change: 1 addition & 0 deletions addons/MH60S/config/cargoTurretsGAU21L.hpp
Expand Up @@ -7,6 +7,7 @@ class CargoTurret_01: CargoTurret
gunnerCompartments = Compartment2;
proxyIndex = 12;
isPersonTurret = 1; /// this turret is able to fire both when turned in and out
selectionFireAnim = "";
disableSoundAttenuation = 0;
class TurnIn /// limits for gunner turned in
{
Expand Down