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 SPIKE {
functionName = QFUNC(seeker);
};
class SPIKE {
functionName = QFUNC(seeker);
};
};
class ace_missileguidance_NavigationTypes {
class SPIKE {
functionName = QFUNC(navigation);
onFired = "";
onFired = "";
};
};
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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