mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
tab cleanup, javelin work.
This commit is contained in:
parent
65388e1146
commit
583347aaab
@ -6,20 +6,20 @@ class Mode_FullAuto;
|
|||||||
class CfgWeapons {
|
class CfgWeapons {
|
||||||
|
|
||||||
class RocketPods;
|
class RocketPods;
|
||||||
class ACE_AIR_SAFETY : RocketPods
|
class ACE_AIR_SAFETY : RocketPods
|
||||||
{
|
{
|
||||||
CanLock = 0;
|
CanLock = 0;
|
||||||
displayName = "SAFE";
|
displayName = "SAFE";
|
||||||
displayNameMagazine = "SAFE";
|
displayNameMagazine = "SAFE";
|
||||||
shortNameMagazine = "SAFE";
|
shortNameMagazine = "SAFE";
|
||||||
nameSound = "cannon";
|
nameSound = "cannon";
|
||||||
cursor = "EmptyCursor";
|
cursor = "EmptyCursor";
|
||||||
cursorAim = "EmptyCursor";
|
cursorAim = "EmptyCursor";
|
||||||
magazines[] = {"FakeMagazine"};
|
magazines[] = {"FakeMagazine"};
|
||||||
burst = 0;
|
burst = 0;
|
||||||
reloadTime = 0.01;
|
reloadTime = 0.01;
|
||||||
magazineReloadTime = 0.1;
|
magazineReloadTime = 0.1;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Manual Switching Of Flare Mode
|
// Manual Switching Of Flare Mode
|
||||||
class SmokeLauncher;
|
class SmokeLauncher;
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -1,17 +1,17 @@
|
|||||||
class Extended_PreInit_EventHandlers {
|
class Extended_PreInit_EventHandlers {
|
||||||
class ADDON {
|
class ADDON {
|
||||||
init = QUOTE(call COMPILE_FILE(XEH_pre_init));
|
init = QUOTE(call COMPILE_FILE(XEH_pre_init));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
class Extended_PostInit_EventHandlers {
|
class Extended_PostInit_EventHandlers {
|
||||||
class ADDON {
|
class ADDON {
|
||||||
init = QUOTE(call COMPILE_FILE(XEH_post_init));
|
init = QUOTE(call COMPILE_FILE(XEH_post_init));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
class Extended_FiredBIS_EventHandlers {
|
class Extended_FiredBIS_EventHandlers {
|
||||||
class CAManBase {
|
class CAManBase {
|
||||||
ADDON = QUOTE(_this call FUNC(fired));
|
ADDON = QUOTE(_this call FUNC(fired));
|
||||||
};
|
};
|
||||||
};
|
};
|
@ -5,46 +5,193 @@ class RscMapControl;
|
|||||||
// Taken from AGM for optics management.
|
// Taken from AGM for optics management.
|
||||||
|
|
||||||
class RscInGameUI {
|
class RscInGameUI {
|
||||||
class RscOptics_titan {
|
class RscOptics_titan {
|
||||||
|
idd = 300;
|
||||||
class CA_javelin_elements_group: RscControlsGroup {
|
controls[] = {"CA_javelin_elements_group"};
|
||||||
class Controls {
|
class CA_javelin_elements_group: RscControlsGroup
|
||||||
class CA_Javelin_Day_mode_off: RscPicture {};
|
{
|
||||||
class CA_Javelin_SEEK_off: CA_Javelin_Day_mode_off {
|
x = "SafezoneX";
|
||||||
idc = 1005;
|
y = "SafezoneY";
|
||||||
};
|
w = "SafezoneW";
|
||||||
// From AGM
|
h = "SafezoneH";
|
||||||
class GetLockedTarget: RscMapControl {
|
idc = 170;
|
||||||
onDraw = QUOTE(_this call FUNC(onGetLockedTarget));
|
class VScrollbar: VScrollbar
|
||||||
idc = -1;
|
{
|
||||||
w = 0;
|
autoScrollSpeed = -1;
|
||||||
h = 0;
|
autoScrollDelay = 5;
|
||||||
};
|
autoScrollRewind = 0;
|
||||||
};
|
color[] = {1,1,1,0};
|
||||||
};
|
width = 0.001;
|
||||||
};
|
};
|
||||||
|
class HScrollbar: HScrollbar
|
||||||
|
{
|
||||||
|
color[] = {1,1,1,0};
|
||||||
|
height = 0.001;
|
||||||
|
};
|
||||||
|
class Controls
|
||||||
|
{
|
||||||
|
class GetLockedTarget: RscMapControl {
|
||||||
|
onDraw = QUOTE(_this call FUNC(onGetLockedTarget));
|
||||||
|
idc = -1;
|
||||||
|
w = 0;
|
||||||
|
h = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
class CA_Javelin_Day_mode_off: RscPicture {
|
||||||
|
idc = 1001;
|
||||||
|
x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.03/4)*3*SafezoneH - SafezoneX";
|
||||||
|
y = "SafezoneY+SafezoneH*0.031 - SafezoneY";
|
||||||
|
w = "0.1045752* (((SafezoneW*3)/4)/SafezoneW)/(1/SafezoneH)";
|
||||||
|
h = "SafezoneH*0.1045752";
|
||||||
|
colorText[] = {0.2941,0.2941,0.2941,1.0};
|
||||||
|
text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\day_co.paa";
|
||||||
|
};
|
||||||
|
|
||||||
|
class CA_Javelin_Day_mode: CA_Javelin_Day_mode_off {
|
||||||
|
idc = 160;
|
||||||
|
colorText[] = {0.2941,0.8745,0.2157,1.0};
|
||||||
|
};
|
||||||
|
class CA_Javelin_WFOV_mode_off: CA_Javelin_Day_mode_off {
|
||||||
|
idc = 1004;
|
||||||
|
x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.307/4)*3*SafezoneH - SafezoneX";
|
||||||
|
text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\wfov_co.paa";
|
||||||
|
};
|
||||||
|
|
||||||
|
class CA_Javelin_WFOV_mode_group: RscControlsGroup {
|
||||||
|
x = "SafezoneX";
|
||||||
|
y = "SafezoneY";
|
||||||
|
w = "SafezoneW";
|
||||||
|
h = "SafezoneH";
|
||||||
|
idc = 163;
|
||||||
|
class VScrollbar: VScrollbar {
|
||||||
|
autoScrollSpeed = -1;
|
||||||
|
autoScrollDelay = 5;
|
||||||
|
autoScrollRewind = 0;
|
||||||
|
color[] = {1,1,1,0};
|
||||||
|
width = 0.001;
|
||||||
|
};
|
||||||
|
class HScrollbar: HScrollbar {
|
||||||
|
color[] = {1,1,1,0};
|
||||||
|
height = 0.001;
|
||||||
|
};
|
||||||
|
class Controls {
|
||||||
|
class CA_Javelin_WFOV_mode: CA_Javelin_WFOV_mode_off {
|
||||||
|
idc = -1;
|
||||||
|
y = "0.031*SafeZoneH - SafezoneY";
|
||||||
|
x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.307/4)*3*SafezoneH - SafezoneX";
|
||||||
|
colorText[] = {0.2941,0.8745,0.2157,1.0};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
class CA_Javelin_NFOV_mode_off: CA_Javelin_Day_mode_off {
|
||||||
|
idc = 1003;
|
||||||
|
x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.586/4)*3*SafezoneH - SafezoneX";
|
||||||
|
text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\nfov_co.paa";
|
||||||
|
};
|
||||||
|
class CA_Javelin_NFOV_mode_group: RscControlsGroup {
|
||||||
|
x = "SafezoneX";
|
||||||
|
y = "SafezoneY";
|
||||||
|
w = "SafezoneW-SafezoneX";
|
||||||
|
h = "SafezoneH-SafezoneY";
|
||||||
|
idc = 162;
|
||||||
|
class VScrollbar: VScrollbar
|
||||||
|
{
|
||||||
|
autoScrollSpeed = -1;
|
||||||
|
autoScrollDelay = 5;
|
||||||
|
autoScrollRewind = 0;
|
||||||
|
color[] = {1,1,1,0};
|
||||||
|
width = 0.001;
|
||||||
|
};
|
||||||
|
class HScrollbar: HScrollbar {
|
||||||
|
color[] = {1,1,1,0};
|
||||||
|
height = 0.001;
|
||||||
|
};
|
||||||
|
class Controls {
|
||||||
|
class CA_Javelin_NFOV_mode: CA_Javelin_NFOV_mode_off {
|
||||||
|
idc = -1;
|
||||||
|
x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.586/4)*3*SafezoneH - SafezoneX";
|
||||||
|
y = "0.031*SafeZoneH - SafezoneY";
|
||||||
|
colorText[] = {0.2941,0.8745,0.2157,1.0};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
class CA_Javelin_SEEK_off: CA_Javelin_Day_mode_off {
|
||||||
|
idc = 1005;
|
||||||
|
x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.863/4)*3*SafezoneH - SafezoneX";
|
||||||
|
text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\seek_co.paa";
|
||||||
|
};
|
||||||
|
class CA_Javelin_SEEK: CA_Javelin_SEEK_off {
|
||||||
|
idc = 166;
|
||||||
|
colorText[] = {0.2941,0.8745,0.2157,1.0};
|
||||||
|
};
|
||||||
|
class CA_Javelin_Missle_off: CA_Javelin_Day_mode_off {
|
||||||
|
idc = 1032;
|
||||||
|
x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (-0.134/4)*3*SafezoneH - SafezoneX";
|
||||||
|
y = "(SafezoneY + 0.208*SafezoneH) - SafezoneY";
|
||||||
|
colorText[] = {0.2941,0.2941,0.2941,1.0};
|
||||||
|
text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\missle_co.paa";
|
||||||
|
};
|
||||||
|
class CA_Javelin_Missle: CA_Javelin_Missle_off {
|
||||||
|
idc = 167;
|
||||||
|
colorText[] = {0.9255,0.5216,0.1216,1.0};
|
||||||
|
};
|
||||||
|
class CA_Javelin_CLU_off: CA_Javelin_Missle_off {
|
||||||
|
idc = 1027;
|
||||||
|
y = "(SafezoneY + 0.436*SafezoneH) - SafezoneY";
|
||||||
|
text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\clu_co.paa";
|
||||||
|
};
|
||||||
|
class CA_Javelin_HangFire_off: CA_Javelin_Missle_off {
|
||||||
|
idc = 1028;
|
||||||
|
y = "(SafezoneY + 0.669*SafezoneH) - SafezoneY";
|
||||||
|
text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\hangfire_co.paa";
|
||||||
|
};
|
||||||
|
class CA_Javelin_TOP_off: CA_Javelin_Day_mode_off {
|
||||||
|
idc = 1006;
|
||||||
|
x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (1.023/4)*3*SafezoneH - SafezoneX";
|
||||||
|
y = "(SafezoneY + 0.208*SafezoneH) - SafezoneY";
|
||||||
|
text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\top_co.paa";
|
||||||
|
};
|
||||||
|
class CA_Javelin_DIR: CA_Javelin_Day_mode {
|
||||||
|
idc = 1007;
|
||||||
|
x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (1.023/4)*3*SafezoneH - SafezoneX";
|
||||||
|
y = "(SafezoneY + 0.436*SafezoneH) - SafezoneY";
|
||||||
|
text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\dir_co.paa";
|
||||||
|
};
|
||||||
|
class CA_Javelin_FLTR_mode_off: CA_Javelin_Day_mode_off {
|
||||||
|
idc = 1002;
|
||||||
|
x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (1.023/4)*3*SafezoneH - SafezoneX";
|
||||||
|
y = "(SafezoneY + 0.669*SafezoneH) - SafezoneY";
|
||||||
|
text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\fltr_co.paa";
|
||||||
|
};
|
||||||
|
class CA_Javelin_FLTR_mode: CA_Javelin_FLTR_mode_off {
|
||||||
|
idc = 161;
|
||||||
|
colorText[] = {0.2941,0.8745,0.2157,1.0};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
// on colorText[] = {0.2941, 0.8745, 0.2157, 1.0};
|
// on colorText[] = {0.2941, 0.8745, 0.2157, 1.0};
|
||||||
// off colorText[] = {0.2941, 0.2941, 0.2941, 1.0};
|
// off colorText[] = {0.2941, 0.2941, 0.2941, 1.0};
|
||||||
// orange colorText[] = {0.9255, 0.5216, 0.1216, 1.0};
|
// orange colorText[] = {0.9255, 0.5216, 0.1216, 1.0};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
CA_javelin_elements_group: 170
|
CA_javelin_elements_group: 170
|
||||||
CA_Javelin_Day_mode_off: 1001
|
CA_Javelin_Day_mode_off: 1001
|
||||||
CA_Javelin_Day_mode: 160
|
CA_Javelin_Day_mode: 160
|
||||||
CA_Javelin_WFOV_mode_off: 1004
|
CA_Javelin_WFOV_mode_off: 1004
|
||||||
CA_Javelin_WFOV_mode_group: 163
|
CA_Javelin_WFOV_mode_group: 163
|
||||||
CA_Javelin_NFOV_mode_off: 1003
|
CA_Javelin_NFOV_mode_off: 1003
|
||||||
CA_Javelin_NFOV_mode_group: 162
|
CA_Javelin_NFOV_mode_group: 162
|
||||||
CA_Javelin_SEEK_off: 1005 //1001
|
CA_Javelin_SEEK_off: 1005 //1001
|
||||||
CA_Javelin_SEEK: 166
|
CA_Javelin_SEEK: 166
|
||||||
CA_Javelin_Missle_off: 1032
|
CA_Javelin_Missle_off: 1032
|
||||||
CA_Javelin_Missle: 167
|
CA_Javelin_Missle: 167
|
||||||
CA_Javelin_CLU_off: 1027
|
CA_Javelin_CLU_off: 1027
|
||||||
CA_Javelin_HangFire_off: 1028
|
CA_Javelin_HangFire_off: 1028
|
||||||
CA_Javelin_TOP_off: 1006
|
CA_Javelin_TOP_off: 1006
|
||||||
CA_Javelin_DIR: 1007
|
CA_Javelin_DIR: 1007
|
||||||
CA_Javelin_FLTR_mode_off: 1002
|
CA_Javelin_FLTR_mode_off: 1002
|
||||||
CA_Javelin_FLTR_mode: 161
|
CA_Javelin_FLTR_mode: 161
|
||||||
*/
|
*/
|
BIN
addons/wep_javelin/data/sound/javelin_locked.ogg
Normal file
BIN
addons/wep_javelin/data/sound/javelin_locked.ogg
Normal file
Binary file not shown.
BIN
addons/wep_javelin/data/sound/javelin_locking.ogg
Normal file
BIN
addons/wep_javelin/data/sound/javelin_locking.ogg
Normal file
Binary file not shown.
@ -2,11 +2,11 @@
|
|||||||
#include "\z\ace\Addons\main\script_mod.hpp"
|
#include "\z\ace\Addons\main\script_mod.hpp"
|
||||||
|
|
||||||
#ifdef DEBUG_ENABLED_WEP_JAVELIN
|
#ifdef DEBUG_ENABLED_WEP_JAVELIN
|
||||||
#define DEBUG_MODE_FULL
|
#define DEBUG_MODE_FULL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG_SETTINGS_WEP_JAVELIN
|
#ifdef DEBUG_SETTINGS_WEP_JAVELIN
|
||||||
#define DEBUG_SETTINGS DEBUG_SETTINGS_WEP_JAVELIN
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_WEP_JAVELIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "\z\ace\Addons\main\script_macros.hpp"
|
#include "\z\ace\Addons\main\script_macros.hpp"
|
||||||
|
Loading…
Reference in New Issue
Block a user