mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
init commit of cruise missile
This commit is contained in:
parent
22e5596399
commit
2694453b56
1
addons/tomahawk/$PBOPREFIX$
Normal file
1
addons/tomahawk/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\ace\addons\tomahawk
|
3
addons/tomahawk/CfgAmmo.hpp
Normal file
3
addons/tomahawk/CfgAmmo.hpp
Normal file
@ -0,0 +1,3 @@
|
||||
class CfgAmmo {
|
||||
};
|
||||
|
4
addons/tomahawk/CfgMagazines.hpp
Normal file
4
addons/tomahawk/CfgMagazines.hpp
Normal file
@ -0,0 +1,4 @@
|
||||
class CfgMagazines {
|
||||
|
||||
};
|
||||
|
32
addons/tomahawk/CfgVehicles.hpp
Normal file
32
addons/tomahawk/CfgVehicles.hpp
Normal file
@ -0,0 +1,32 @@
|
||||
class CfgVehicles {
|
||||
class StaticWeapon;
|
||||
class StaticMGWeapon: StaticWeapon {
|
||||
class Turrets;
|
||||
};
|
||||
class B_Ship_MRLS_01_base_F: StaticMGWeapon {
|
||||
class Turrets: Turrets {
|
||||
class MainTurret;
|
||||
};
|
||||
};
|
||||
// Use a custom ACE variant due to custom interface for launching
|
||||
class GVAR(vls): B_Ship_MRLS_01_base_F {
|
||||
displayName = "[ACE] Mk41 VLS";
|
||||
class AnimationSources {
|
||||
class Missiles_revolving {
|
||||
source = "ammo";
|
||||
source = "revolving";
|
||||
weapon = QGVAR(c);
|
||||
};
|
||||
};
|
||||
class Turrets: Turrets {
|
||||
class MainTurret: MainTurret {
|
||||
weapons[] = {
|
||||
QGVAR(c)
|
||||
};
|
||||
magazines[] = {
|
||||
QGVAR(c)
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
7
addons/tomahawk/CfgWeapons.hpp
Normal file
7
addons/tomahawk/CfgWeapons.hpp
Normal file
@ -0,0 +1,7 @@
|
||||
class CfgWeapons {
|
||||
class GVAR(c): weapon_VLS_01 {
|
||||
displayName = "Venator Cruise Missile";
|
||||
magazines[] = {"magazine_Missiles_Cruise_01_x18", "magazine_Missiles_Cruise_01_Cluster_x18"};
|
||||
};
|
||||
};
|
||||
|
12
addons/tomahawk/README.md
Normal file
12
addons/tomahawk/README.md
Normal file
@ -0,0 +1,12 @@
|
||||
ace_tomahawk
|
||||
===================
|
||||
|
||||
Adds UGM-109C Tomahawk cruise missile
|
||||
|
||||
|
||||
## Maintainers
|
||||
|
||||
The people responsible for merging changes to this component or answering potential questions.
|
||||
|
||||
- [Brandon-TCVM](https://github.com/TheCandianVendingMachine)
|
||||
|
21
addons/tomahawk/config.cpp
Normal file
21
addons/tomahawk/config.cpp
Normal file
@ -0,0 +1,21 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
name = COMPONENT_NAME;
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"ace_common","ace_missileguidance"};
|
||||
author = ECSTRING(common,ACETeam);
|
||||
authors[] = {"Brandon (TCVM)"};
|
||||
url = ECSTRING(main,URL);
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgAmmo.hpp"
|
||||
#include "CfgMagazines.hpp"
|
||||
#include "CfgWeapons.hpp"
|
||||
#include "CfgVehicles.hpp"
|
||||
|
18
addons/tomahawk/script_component.hpp
Normal file
18
addons/tomahawk/script_component.hpp
Normal file
@ -0,0 +1,18 @@
|
||||
#define COMPONENT tomahawk
|
||||
#define COMPONENT_BEAUTIFIED Tomahawk
|
||||
#include "\z\ace\addons\main\script_mod.hpp"
|
||||
|
||||
// #define DEBUG_MODE_FULL
|
||||
// #define DISABLE_COMPILE_CACHE
|
||||
// #define ENABLE_PERFORMANCE_COUNTERS
|
||||
|
||||
#ifdef DEBUG_ENABLED_TOMAHAWK
|
||||
#define DEBUG_MODE_FULL
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_SETTINGS_TOMAHAWK
|
||||
#define DEBUG_SETTINGS DEBUG_SETTINGS_TOMAHAWK
|
||||
#endif
|
||||
|
||||
#include "\z\ace\addons\main\script_macros.hpp"
|
||||
|
8
addons/tomahawk/stringtable.xml
Normal file
8
addons/tomahawk/stringtable.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project name="ACE">
|
||||
<Package name="TOMAHAWK">
|
||||
<Key ID="STR_ACE_TOMAHAWK_c">
|
||||
<English>BGM-109C</English>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user