mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
add editor stuff for spotting scope
This commit is contained in:
parent
12ab4e9fa6
commit
f5a96ac2fc
@ -62,6 +62,7 @@ class CfgVehicles {
|
||||
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers_base {};
|
||||
};
|
||||
|
||||
author = ECSTRING(common,ACETeam);
|
||||
scope = 1;
|
||||
side = 1;
|
||||
typicalCargo[] = {"Soldier"};
|
||||
@ -71,6 +72,7 @@ class CfgVehicles {
|
||||
transportSoldier = 0;
|
||||
getInAction = "GetInLow";
|
||||
getOutAction = "GetOutLow";
|
||||
editorSubcategory = "EdSubcat_Turrets";
|
||||
|
||||
class Turrets: Turrets {
|
||||
class MainTurret: MainTurret {
|
||||
@ -123,6 +125,33 @@ class CfgVehicles {
|
||||
};
|
||||
};
|
||||
|
||||
class ACE_B_SpottingScope: ACE_SpottingScopeObject {
|
||||
author = ECSTRING(common,ACETeam);
|
||||
_generalMacro = "ACE_B_SpottingScope";
|
||||
scope = 2;
|
||||
side = 1;
|
||||
faction = "BLU_F";
|
||||
crew = "B_spotter_F";
|
||||
};
|
||||
|
||||
class ACE_O_SpottingScope: ACE_SpottingScopeObject {
|
||||
author = ECSTRING(common,ACETeam);
|
||||
_generalMacro = "ACE_O_SpottingScope";
|
||||
scope = 2;
|
||||
side = 0;
|
||||
faction = "OPF_F";
|
||||
crew = "O_spotter_F";
|
||||
};
|
||||
|
||||
class ACE_I_SpottingScope: ACE_SpottingScopeObject {
|
||||
author = ECSTRING(common,ACETeam);
|
||||
_generalMacro = "ACE_I_SpottingScope";
|
||||
scope = 2;
|
||||
side = 2;
|
||||
faction = "IND_F";
|
||||
crew = "I_spotter_F";
|
||||
};
|
||||
|
||||
class Item_Base_F;
|
||||
class ACE_Item_SpottingScope: Item_Base_F {
|
||||
author[] = {"Rocko", "Scubaman3D"};
|
||||
|
@ -2,7 +2,8 @@
|
||||
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
units[] = {"ACE_Item_SpottingScope"};
|
||||
name = CSTRING(component);
|
||||
units[] = {"ACE_B_SpottingScope", "ACE_O_SpottingScope", "ACE_I_SpottingScope", "ACE_Item_SpottingScope"};
|
||||
weapons[] = {"ACE_SpottingScope"};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"ace_apl", "ace_interaction"};
|
||||
|
@ -15,7 +15,7 @@
|
||||
disableSerialization;
|
||||
|
||||
params ["_display"];
|
||||
//uinamespace setVariable [QGVAR(dlgSpottingScope), _display];
|
||||
uinamespace setVariable [QGVAR(dlgSpottingScope), _display];
|
||||
|
||||
private _ctrlReticle = _display displayCtrl IDC_RETICLE;
|
||||
private _ctrlBody = _display displayCtrl IDC_BODY;
|
||||
|
@ -1,6 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project name="ACE">
|
||||
<Package name="tripod">
|
||||
<Key ID="STR_ACE_SpottingScope_Component">
|
||||
<English>Advanced Combat Environment 3 - Spotting Scope</English>
|
||||
<German>Advanced Combat Environment 3 - Teleskop</German>
|
||||
<Russian>Advanced Combat Environment 3 - Зрительная труба</Russian>
|
||||
<Polish>Advanced Combat Environment 3 - Teleskop</Polish>
|
||||
<Spanish>Advanced Combat Environment 3 - Telescopio</Spanish>
|
||||
<French>Advanced Combat Environment 3 - Téléscope de visée</French>
|
||||
<Czech>Advanced Combat Environment 3 - Zaměřovací dalekohled</Czech>
|
||||
<Italian>Advanced Combat Environment 3 - Spotting Scope</Italian>
|
||||
<Hungarian>Advanced Combat Environment 3 - Megfigyelő távcső</Hungarian>
|
||||
<Portuguese>Advanced Combat Environment 3 - Luneta de observador</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_SpottingScope_DisplayName">
|
||||
<English>Spotting Scope</English>
|
||||
<German>Teleskop</German>
|
||||
|
Loading…
Reference in New Issue
Block a user