mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
a40b0d48f2
* HEMTT v10 Compatibility * Update addons/field_rations/CfgUIGrids.hpp Co-authored-by: PabstMirror <pabstmirror@gmail.com> * fix PabstMirror review * optionals * End empty macro definitions with semi-colon (HEMTT v0.10) * Adapt to HEMTT v0.10.0-a14 * Revert End empty macro definitions with semi-colon * Disable old HEMTT build step in CI * Add missing include and fix macro usage and include casings * End empty macro definitions with semi-colon (HEMTT v0.10) * Update addons/disarming/functions/fnc_showItemsInListbox.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> * cleanup test code * arty - keep style same as before * fix fire screams * Update script_component.hpp * Keep old hemtt/workflow/sqfc * Update arma.yml * Update arma.yml * Update CfgUIGrids.hpp --------- Co-authored-by: PabstMirror <pabstmirror@gmail.com> Co-authored-by: jonpas <jonpas33@gmail.com>
45 lines
1.9 KiB
C++
45 lines
1.9 KiB
C++
class CfgWeapons {
|
|
class ACE_ItemCore;
|
|
class CBA_MiscItem_ItemInfo;
|
|
|
|
class ACE_SpottingScope: ACE_ItemCore {
|
|
scope = 2;
|
|
author = ECSTRING(common,ACETeam);
|
|
displayName = CSTRING(DisplayName);
|
|
descriptionShort = "";
|
|
picture = QPATHTOF(UI\w_spottingscope_ca.paa);
|
|
model = QPATHTOF(data\ace_spottingscope.p3d);
|
|
|
|
class ItemInfo: CBA_MiscItem_ItemInfo {
|
|
mass = 40;
|
|
};
|
|
};
|
|
|
|
class ItemCore;
|
|
class ACE_SpottingScopeOptic: ItemCore {
|
|
scope = 1;
|
|
|
|
class CBA_ScriptedOptic {
|
|
minMagnificationReticleScale[] = {5,1};
|
|
maxMagnificationReticleScale[] = {25,5};
|
|
|
|
reticleDetailTextures[] = {
|
|
// start at > this magnification, reticleTexture, reticleTextureSize, reticleTextureNight (optional)
|
|
{0, QPATHTOF(data\ace_spottingscope_reticle_b1_ca.paa), 1, QPATHTOF(data\ace_spottingscope_reticle_b1_ca.paa)},
|
|
{9, QPATHTOF(data\ace_spottingscope_reticle_b2_ca.paa), "1/2", QPATHTOF(data\ace_spottingscope_reticle_b2_ca.paa)},
|
|
{14, QPATHTOF(data\ace_spottingscope_reticle_b3_ca.paa), "1/3", QPATHTOF(data\ace_spottingscope_reticle_b3_ca.paa)},
|
|
{19, QPATHTOF(data\ace_spottingscope_reticle_b4_ca.paa), "1/4", QPATHTOF(data\ace_spottingscope_reticle_b4_ca.paa)},
|
|
{24, QPATHTOF(data\ace_spottingscope_reticle_b5_ca.paa), "1/5", QPATHTOF(data\ace_spottingscope_reticle_b5_ca.paa)}
|
|
};
|
|
fadeReticleInterval[] = {10.5,9.5};
|
|
|
|
bodyTexture = QPATHTOF(data\ace_spottingscope_body_co.paa);
|
|
//bodyTextureNight = QPATHTOF(data\ace_spottingscope_body_co.paa);
|
|
bodyTextureSize = 1.5;
|
|
reticleSafezoneSize = 1;
|
|
hidePeripheralVision = 1;
|
|
opticsPPEffects[] = {QGVAR(OpticsRadBlur1)};
|
|
};
|
|
};
|
|
};
|