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

Add MELB (co)pilot ejection and ACE3 fastroping optionals #221

Merged
merged 1 commit into from
Oct 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions optionals/melb_ace_fastroping/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
x\tac\addons\melb_ace_fastroping
7 changes: 7 additions & 0 deletions optionals/melb_ace_fastroping/CfgVehicles.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
class CfgVehicles {
class MELB_base;
class MELB_MH6M: MELB_base {
ace_fastroping_enabled = 1;
ace_fastroping_ropeOrigins[] = {{-1.17, 0.8, -0.09}, {1.17, 0.8, -0.09}};
};
};
7 changes: 7 additions & 0 deletions optionals/melb_ace_fastroping/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# About

Adds [ACE3 Fastroping](http://ace3mod.com/wiki/feature/fastroping.html) support to helicopters from [[MELB] Mission Enhanced Little Bird](https://forums.bistudio.com/topic/181895-melb-mission-enhanced-little-bird/) mod by Diesel5187 & sykoCrazy.

### Authors

- [Jonpas](http://github.com/jonpas)
16 changes: 16 additions & 0 deletions optionals/melb_ace_fastroping/config.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include "script_component.hpp"

class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"tac_main", "MELB", "ace_fastroping"};
author = ECSTRING(main,Author);
authors[] = {"Jonpas"};
url = ECSTRING(main,URL);
VERSION_CONFIG;
};
};

#include "CfgVehicles.hpp"
5 changes: 5 additions & 0 deletions optionals/melb_ace_fastroping/script_component.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#define COMPONENT melb_ace_fastroping

#include "\x\tac\addons\main\script_mod.hpp"

#include "\x\tac\addons\main\script_macros.hpp"
1 change: 1 addition & 0 deletions optionals/melb_eject/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
x\tac\addons\melb_eject
22 changes: 22 additions & 0 deletions optionals/melb_eject/CfgVehicles.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
class CfgVehicles {
class Helicopter;
class Helicopter_Base_F: Helicopter {
class Turrets;
};

class Helicopter_Base_H: Helicopter_Base_F {
class Turrets: Turrets {
class CopilotTurret;
};
};

class MELB_base: Helicopter_Base_H {
driverCanEject = 1;

class Turrets: Turrets {
class CopilotTurret: CopilotTurret {
canEject = 1;
};
};
};
};
7 changes: 7 additions & 0 deletions optionals/melb_eject/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# About

Allows ejection from all seats in helicopters from [[MELB] Mission Enhanced Little Bird](https://forums.bistudio.com/topic/181895-melb-mission-enhanced-little-bird/) mod by Diesel5187 & sykoCrazy.

### Authors

- [Jonpas](http://github.com/jonpas)
16 changes: 16 additions & 0 deletions optionals/melb_eject/config.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include "script_component.hpp"

class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"tac_main", "MELB"};
author = ECSTRING(main,Author);
authors[] = {"Jonpas"};
url = ECSTRING(main,URL);
VERSION_CONFIG;
};
};

#include "CfgVehicles.hpp"
5 changes: 5 additions & 0 deletions optionals/melb_eject/script_component.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#define COMPONENT melb_eject

#include "\x\tac\addons\main\script_mod.hpp"

#include "\x\tac\addons\main\script_macros.hpp"