From 745a47fb6e7178896a7525880ab7eb255c3adef7 Mon Sep 17 00:00:00 2001 From: Brandon Danyluk Date: Sat, 1 Jan 2022 19:11:20 -0700 Subject: [PATCH] Config changes --- addons/spike/CfgMagazines.hpp | 6 +++--- addons/spike/CfgWeapons.hpp | 16 +++++++++------- addons/spike/data/reticle_titan.p3d | Bin 0 -> 1440 bytes .../spike/functions/fnc_getTargetPosition.sqf | 2 +- addons/spike/stringtable.xml | 6 ++++++ 5 files changed, 19 insertions(+), 11 deletions(-) create mode 100644 addons/spike/data/reticle_titan.p3d diff --git a/addons/spike/CfgMagazines.hpp b/addons/spike/CfgMagazines.hpp index 19a75d8b89..1e7b389f33 100644 --- a/addons/spike/CfgMagazines.hpp +++ b/addons/spike/CfgMagazines.hpp @@ -4,9 +4,9 @@ class CfgMagazines { author = "Brandon (TCVM)"; ammo = QGVAR(lr); - displayName = "Spike AT"; - displayNameShort = "foo"; - mass = 1; + displayName = CSTRING(LR); + displayNameShort = CSTRING(LR_Short); + mass = 300; }; }; diff --git a/addons/spike/CfgWeapons.hpp b/addons/spike/CfgWeapons.hpp index bbfc51b3e9..6abf8d4168 100644 --- a/addons/spike/CfgWeapons.hpp +++ b/addons/spike/CfgWeapons.hpp @@ -1,9 +1,10 @@ -class Mode_SemiAuto; class CfgWeapons { - class launch_Titan_base; - class launch_B_Titan_short_F; + class launch_Titan_short_base; + class launch_B_Titan_short_F: launch_Titan_short_base { + class Single; + }; class GVAR(base): launch_B_Titan_short_F { - class Single: Mode_SemiAuto { + class Single: Single { EGVAR(missileGuidance,attackProfile) = "SPIKE_TOP"; }; }; @@ -11,17 +12,18 @@ class CfgWeapons { scope = 2; GVAR(enabled) = 1; weaponInfoType = "ACE_RscOptics_spike"; - //modelOptics = QPATHTOF(data\reticle_titan.p3d); + modelOptics = QPATHTOF(data\reticle_titan.p3d); canLock = 0; lockingTargetSound[] = {"",0,1}; lockedTargetSound[] = {"",0,1}; - displayName = "Spike AT"; - displayNameShort = "Spike AT"; + displayName = CSTRING(LR); + displayNameShort = CSTRING(LR_Short); magazines[] = {QGVAR(lr)}; + magazineWell[] = {}; }; }; diff --git a/addons/spike/data/reticle_titan.p3d b/addons/spike/data/reticle_titan.p3d new file mode 100644 index 0000000000000000000000000000000000000000..682296f0c82019ff462841e6b3d8299f747d35ab GIT binary patch literal 1440 zcmc&zJx>Bb5Z&_={Q3oSmmowWr!QCKgo2hFTjFah|YbIU9+E5B6r>&h5;*o4MFlJgg{;(VuMx!Z8!KC%d@SC9zrPh5;O-tr{CU4Q5SO_ly-Y=y4wyXSA7$_<$#{;=8{h|Bz} z?pT{YZTI6z_s*@%5kJp74#Z^+%|NG9{nr0ipRrm$&#=C%K|YK9Q4%%=afCLjg_y4r zL=Vs(aOY<=G)evltrLAY2u|(~@PJ-1dEPoMrVey&7{;wprYJp@02EFO(zC-?wP&$cK?Qto0(cLzg7ob0 zRqa{qRqSsZ{gpd{!oyYF-H1jNHId_md?b@Kiz>_Y)MI)9Of7uO8hkPBV%|_6J%V=Z z!D0^ MANUAL + + Spike LR + + + LR +