Some minor fixes

This commit is contained in:
PabstMirror 2022-01-05 22:49:21 -06:00
parent 20ad6283b7
commit e318e853b2
7 changed files with 55 additions and 49 deletions

View File

@ -1,11 +1,11 @@
class ace_missileguidance_SeekerTypes { class ace_missileguidance_SeekerTypes {
class SPIKE { class SPIKE {
functionName = QFUNC(seeker); functionName = QFUNC(seeker);
}; };
}; };
class ace_missileguidance_NavigationTypes { class ace_missileguidance_NavigationTypes {
class SPIKE { class SPIKE {
functionName = QFUNC(navigation); functionName = QFUNC(navigation);
onFired = ""; onFired = "";
}; };
}; };

View File

@ -10,30 +10,30 @@ class CfgAmmo {
class ace_missileguidance { class ace_missileguidance {
enabled = 1; enabled = 1;
pitchRate = 30; pitchRate = 30;
yawRate = 30; yawRate = 30;
canVanillaLock = 0; canVanillaLock = 0;
defaultSeekerType = "SPIKE"; defaultSeekerType = "SPIKE";
seekerTypes[] = {"SPIKE"}; seekerTypes[] = {"SPIKE"};
defaultSeekerLockMode = "LOAL"; defaultSeekerLockMode = "LOAL";
seekerLockModes[] = { "LOAL" }; seekerLockModes[] = { "LOAL" };
defaultNavigationType = "SPIKE"; defaultNavigationType = "SPIKE";
navigationTypes[] = { "SPIKE", "ZeroEffortMiss" }; navigationTypes[] = { "SPIKE", "ZeroEffortMiss" };
seekLastTargetPos = 0; seekLastTargetPos = 0;
seekerAngle = 20; seekerAngle = 20;
seekerAccuracy = 1; seekerAccuracy = 1;
seekerMinRange = 50; seekerMinRange = 50;
seekerMaxRange = 2500; seekerMaxRange = 2500;
defaultAttackProfile = "DIR"; defaultAttackProfile = "DIR";
attackProfiles[] = {"DIR"}; attackProfiles[] = {"DIR"};
useModeForAttackProfile = 0; useModeForAttackProfile = 0;
class navigationStates { class navigationStates {
class initial { class initial {

View File

@ -1,12 +1,12 @@
class CfgMagazines { class CfgMagazines {
class Titan_AT; class Titan_AT;
class GVAR(lr): Titan_AT { class GVAR(lr): Titan_AT {
author = "Brandon (TCVM)"; author = "Brandon (TCVM)";
ammo = QGVAR(lr); ammo = QGVAR(lr);
displayName = CSTRING(LR); displayName = CSTRING(LR);
displayNameShort = CSTRING(LR_Short); displayNameShort = CSTRING(LR_Short);
mass = 300; mass = 300;
}; };
}; };

View File

@ -1,15 +1,15 @@
class CfgWeapons { class CfgWeapons {
class launch_Titan_short_base; class launch_Titan_short_base;
class launch_B_Titan_short_F: launch_Titan_short_base { class launch_B_Titan_short_F: launch_Titan_short_base {
class Single; class Single;
}; };
class GVAR(base): launch_B_Titan_short_F { class GVAR(base): launch_B_Titan_short_F {
class Single: Single { class Single: Single {
EGVAR(missileGuidance,attackProfile) = "SPIKE_TOP"; EGVAR(missileGuidance,attackProfile) = "SPIKE_TOP";
}; };
}; };
class GVAR(launcher): GVAR(base) { class GVAR(launcher): GVAR(base) {
scope = 2; scope = 2;
GVAR(enabled) = 1; GVAR(enabled) = 1;
weaponInfoType = "ACE_RscOptics_spike"; weaponInfoType = "ACE_RscOptics_spike";
modelOptics = QPATHTOF(data\reticle_titan.p3d); modelOptics = QPATHTOF(data\reticle_titan.p3d);
@ -19,10 +19,10 @@ class CfgWeapons {
lockingTargetSound[] = {"",0,1}; lockingTargetSound[] = {"",0,1};
lockedTargetSound[] = {"",0,1}; lockedTargetSound[] = {"",0,1};
displayName = CSTRING(LR); displayName = CSTRING(LR);
displayNameShort = CSTRING(LR_Short); displayNameShort = CSTRING(LR_Short);
magazines[] = {QGVAR(lr)}; magazines[] = {QGVAR(lr)};
magazineWell[] = {}; magazineWell[] = {};
}; };
}; };

View File

@ -31,8 +31,8 @@ class RscInGameUI {
show = 1; show = 1;
}; };
class reticle: RscControlsGroupNoScrollbars { class reticle: RscControlsGroupNoScrollbars {
idc = 242000; idc = 242000;
x = "safeZoneX"; x = "safeZoneX";
y = "safeZoneY"; y = "safeZoneY";
w = "safeZoneW-safeZoneX"; w = "safeZoneW-safeZoneX";

View File

@ -27,7 +27,7 @@ class RscText;
#include "ACE_GuidanceConfig.hpp" #include "ACE_GuidanceConfig.hpp"
#include "RscTitles.hpp" #include "RscTitles.hpp"
#include "RscInGameUI.hpp" #include "RscInGameUI.hpp"
#include "CfgEventhandlers.hpp" #include "CfgEventHandlers.hpp"
#include "CfgAmmo.hpp" #include "CfgAmmo.hpp"
#include "CfgMagazines.hpp" #include "CfgMagazines.hpp"
#include "CfgWeapons.hpp" #include "CfgWeapons.hpp"

View File

@ -1,35 +1,41 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project name="ACE"> <Project name="ACE">
<Package name="SPIKE"> <Package name="SPIKE">
<Key ID="STR_ACE_Spike_PanLeft"> <Key ID="STR_ACE_SPIKE_PanLeft">
<English>Pan Camera Left</English> <English>Pan Camera Left</English>
</Key> </Key>
<Key ID="STR_ACE_Spike_PanRight"> <Key ID="STR_ACE_SPIKE_PanRight">
<English>Pan Camera Right</English> <English>Pan Camera Right</English>
</Key> </Key>
<Key ID="STR_ACE_Spike_PanUp"> <Key ID="STR_ACE_SPIKE_PanUp">
<English>Pan Camera Up</English> <English>Pan Camera Up</English>
</Key> </Key>
<Key ID="STR_ACE_Spike_PanDown"> <Key ID="STR_ACE_SPIKE_PanDown">
<English>Pan Camera Down</English> <English>Pan Camera Down</English>
</Key> </Key>
<Key ID="STR_ACE_Spike_ZoomIn"> <Key ID="STR_ACE_SPIKE_ZoomIn">
<English>Zoom Camera In</English> <English>Zoom Camera In</English>
</Key> </Key>
<Key ID="STR_ACE_Spike_ZoomOut"> <Key ID="STR_ACE_SPIKE_ZoomOut">
<English>Zoom Camera Out</English> <English>Zoom Camera Out</English>
</Key> </Key>
<Key ID="STR_ACE_Spike_CycleVisionMode"> <Key ID="STR_ACE_SPIKE_Camera_ViewModeCycle">
<English>Cycle Camera Vision Mode</English> <English>Cycle Camera Vision Mode</English>
</Key> </Key>
<Key ID="STR_ACE_Spike_Manual"> <Key ID="STR_ACE_SPIKE_Manual">
<English>MANUAL</English> <English>MANUAL</English>
</Key> </Key>
<Key ID="STR_ACE_Spike_LR"> <Key ID="STR_ACE_SPIKE_LR">
<English>Spike LR</English> <English>Spike LR</English>
</Key> </Key>
<Key ID="STR_ACE_Spike_LR_Short"> <Key ID="STR_ACE_SPIKE_LR_Short">
<English>LR</English> <English>LR</English>
</Key> </Key>
<Key ID="STR_ACE_SPIKE_designate">
<English>Designate</English><!-- Check this -->
</Key>
<Key ID="STR_ACE_SPIKE_LeaveCamera">
<English>Leave Camera</English><!-- Check this -->
</Key>
</Package> </Package>
</Project> </Project>