Auto-Update shared Files

vector is up-to-date (2.0.3) (BUK-M2/Nasal/vector.nas)
vector is up-to-date (2.0.3) (depot/Nasal/vector.nas)
vector is up-to-date (2.0.3) (fleet/Nasal/vector.nas)
vector is up-to-date (2.0.3) (Frigate/Nasal/vector.nas)
vector is up-to-date (2.0.3) (gci-radar/Nasal/vector.nas)
vector is up-to-date (2.0.3) (groundtarget/Nasal/vector.nas)
vector is up-to-date (2.0.3) (MIM-104D/Nasal/vector.nas)
vector is up-to-date (2.0.3) (missile-frigate/Nasal/vector.nas)
vector is up-to-date (2.0.3) (S-200/Nasal/vector.nas)
vector is up-to-date (2.0.3) (S-300/Nasal/vector.nas)
vector is up-to-date (2.0.3) (S-75/Nasal/vector.nas)
vector is up-to-date (2.0.3) (SA-6/Nasal/vector.nas)
vector is up-to-date (2.0.3) (ZSU-23/Nasal/vector.nas)
Fetched missile-code 1.1.1->1.1.2 (BUK-M2/Nasal/guided-missiles.nas)
Fetched missile-code 1.1.1->1.1.2 (MIM-104D/Nasal/guided-missiles.nas)
Fetched missile-code 1.1.1->1.1.2 (S-75/Nasal/guided-missiles.nas)
Fetched missile-code 1.1.1->1.1.2 (SA-6/Nasal/guided-missiles.nas)
damage is up-to-date (1.3.1) (BUK-M2/Nasal/damage.nas)
damage is up-to-date (1.3.1) (depot/Nasal/damage.nas)
damage is up-to-date (1.3.1) (fleet/Nasal/damage.nas)
damage is up-to-date (1.3.1) (Frigate/Nasal/damage.nas)
damage is up-to-date (1.3.1) (gci-radar/Nasal/damage.nas)
damage is up-to-date (1.3.1) (groundtarget/Nasal/damage.nas)
damage is up-to-date (1.3.1) (MIM-104D/Nasal/damage.nas)
damage is up-to-date (1.3.1) (missile-frigate/Nasal/damage.nas)
damage is up-to-date (1.3.1) (S-200/Nasal/damage.nas)
damage is up-to-date (1.3.1) (S-300/Nasal/damage.nas)
damage is up-to-date (1.3.1) (S-75/Nasal/damage.nas)
damage is up-to-date (1.3.1) (SA-6/Nasal/damage.nas)
damage is up-to-date (1.3.1) (ZSU-23/Nasal/damage.nas)
datalink is up-to-date (1.1.0) (BUK-M2/Nasal/datalink.nas)
datalink is up-to-date (1.1.0) (fleet/Nasal/datalink.nas)
datalink is up-to-date (1.1.0) (MIM-104D/Nasal/datalink.nas)
datalink is up-to-date (1.1.0) (missile-frigate/Nasal/datalink.nas)
datalink is up-to-date (1.1.0) (S-200/Nasal/datalink.nas)
datalink is up-to-date (1.1.0) (S-300/Nasal/datalink.nas)
datalink is up-to-date (1.1.0) (S-75/Nasal/datalink.nas)
datalink is up-to-date (1.1.0) (SA-6/Nasal/datalink.nas)
datalink is up-to-date (1.1.0) (ZSU-23/Nasal/datalink.nas)
armament-notification is up-to-date (1.1.0) (BUK-M2/Nasal/ArmamentNotification.nas)
armament-notification is up-to-date (1.1.0) (depot/Nasal/ArmamentNotification.nas)
armament-notification is up-to-date (1.1.0) (fleet/Nasal/ArmamentNotification.nas)
armament-notification is up-to-date (1.1.0) (Frigate/Nasal/ArmamentNotification.nas)
armament-notification is up-to-date (1.1.0) (gci-radar/Nasal/ArmamentNotification.nas)
armament-notification is up-to-date (1.1.0) (groundtarget/Nasal/ArmamentNotification.nas)
armament-notification is up-to-date (1.1.0) (MIM-104D/Nasal/ArmamentNotification.nas)
armament-notification is up-to-date (1.1.0) (missile-frigate/Nasal/ArmamentNotification.nas)
armament-notification is up-to-date (1.1.0) (S-200/Nasal/ArmamentNotification.nas)
armament-notification is up-to-date (1.1.0) (S-300/Nasal/ArmamentNotification.nas)
armament-notification is up-to-date (1.1.0) (S-75/Nasal/ArmamentNotification.nas)
armament-notification is up-to-date (1.1.0) (SA-6/Nasal/ArmamentNotification.nas)
armament-notification is up-to-date (1.1.0) (ZSU-23/Nasal/ArmamentNotification.nas)
geo-bridged-transmitter is up-to-date (1.0.1) (BUK-M2/Nasal/GeoBridgedTransmitter.nas)
geo-bridged-transmitter is up-to-date (1.0.1) (depot/Nasal/GeoBridgedTransmitter.nas)
geo-bridged-transmitter is up-to-date (1.0.1) (fleet/Nasal/GeoBridgedTransmitter.nas)
geo-bridged-transmitter is up-to-date (1.0.1) (Frigate/Nasal/GeoBridgedTransmitter.nas)
geo-bridged-transmitter is up-to-date (1.0.1) (gci-radar/Nasal/GeoBridgedTransmitter.nas)
geo-bridged-transmitter is up-to-date (1.0.1) (groundtarget/Nasal/GeoBridgedTransmitter.nas)
geo-bridged-transmitter is up-to-date (1.0.1) (MIM-104D/Nasal/GeoBridgedTransmitter.nas)
geo-bridged-transmitter is up-to-date (1.0.1) (missile-frigate/Nasal/GeoBridgedTransmitter.nas)
geo-bridged-transmitter is up-to-date (1.0.1) (S-200/Nasal/GeoBridgedTransmitter.nas)
geo-bridged-transmitter is up-to-date (1.0.1) (S-300/Nasal/GeoBridgedTransmitter.nas)
geo-bridged-transmitter is up-to-date (1.0.1) (S-75/Nasal/GeoBridgedTransmitter.nas)
geo-bridged-transmitter is up-to-date (1.0.1) (SA-6/Nasal/GeoBridgedTransmitter.nas)
geo-bridged-transmitter is up-to-date (1.0.1) (ZSU-23/Nasal/GeoBridgedTransmitter.nas)
asset-fire-control is up-to-date (1.0.0) (BUK-M2/Nasal/fire-control.nas)
asset-fire-control is up-to-date (1.0.0) (MIM-104D/Nasal/fire-control.nas)
asset-fire-control is up-to-date (1.0.0) (S-75/Nasal/fire-control.nas)
asset-fire-control is up-to-date (1.0.0) (SA-6/Nasal/fire-control.nas)
asset-radar-logic is up-to-date (1.1.0) (BUK-M2/Nasal/radar-logic.nas)
asset-radar-logic is up-to-date (1.1.0) (MIM-104D/Nasal/radar-logic.nas)
asset-radar-logic is up-to-date (1.1.0) (S-75/Nasal/radar-logic.nas)
asset-radar-logic is up-to-date (1.1.0) (SA-6/Nasal/radar-logic.nas)
asset-radar-logic is up-to-date (1.1.0) (gci-radar/Nasal/radar-logic.nas)
This commit is contained in:
github-actions[bot] 2023-09-30 00:43:26 +00:00
parent 4cfbf70cd5
commit c1e78234e5
5 changed files with 24 additions and 24 deletions

View File

@ -536,7 +536,7 @@ var AIM = {
m.vector_thrust = 0; m.vector_thrust = 0;
} }
if (m.flareResistance == nil or !m.gnd_launch) { if (m.flareResistance == nil or !m.gnd_launch) {
m.flareResistance = 0.85; m.flareResistance = 0.80;
} }
if (m.chaffResistance == nil or !m.gnd_launch) { if (m.chaffResistance == nil or !m.gnd_launch) {
m.chaffResistance = 0.85; m.chaffResistance = 0.85;
@ -3321,8 +3321,8 @@ var AIM = {
# target has released a new flare, lets check if it fools us # target has released a new flare, lets check if it fools us
me.flareTime = me.life_time; me.flareTime = me.life_time;
me.flareLast = me.flareNumber; me.flareLast = me.flareNumber;
me.aspectDeg = me.aspectToExhaust(me.coord, me.Tgt) / 180; me.aspectDeg = me.aspectToExhaust(me.coord, me.Tgt) / 180;# 0 = viewing engine, 1 = front
me.flareLock = rand() < (1-me.flareResistance + ((1-me.flareResistance) * 0.5 * me.aspectDeg));# 50% extra chance to be fooled if front aspect me.flareLock = rand() < (1-me.flareResistance);
if (me.flareLock) { if (me.flareLock) {
# fooled by the flare # fooled by the flare
me.printStats(me.type~": Missile locked on flare from "~me.callsign); me.printStats(me.type~": Missile locked on flare from "~me.callsign);
@ -3357,7 +3357,7 @@ var AIM = {
me.aspectDeg = me.aspectToExhaust(me.coord, me.Tgt) / 180;# 0 = viewing engine, 1 = front me.aspectDeg = me.aspectToExhaust(me.coord, me.Tgt) / 180;# 0 = viewing engine, 1 = front
me.redux = me.guidance == "semi-radar" or me.guidance == "command" or me.guidance == "tvm"?(me.gnd_launch?0.5:0.75):1; me.redux = me.guidance == "semi-radar" or me.guidance == "command" or me.guidance == "tvm"?(me.gnd_launch?0.5:0.75):1;
me.chaffChance = (1-me.chaffResistance)*me.redux; me.chaffChance = (1-me.chaffResistance)*me.redux;
me.chaffLock = rand() < (me.chaffChance - (me.chaffChance * 0.5 * me.aspectDeg));# 50% less chance to be fooled if front aspect me.chaffLock = rand() < (me.chaffChance - (me.chaffChance * 0.70 * me.aspectDeg));# 70% less chance to be fooled if front aspect
if (me.chaffLock) { if (me.chaffLock) {
me.printStats(me.type~": Missile locked on chaff from "~me.callsign); me.printStats(me.type~": Missile locked on chaff from "~me.callsign);
@ -3514,7 +3514,7 @@ var AIM = {
# To make sure deviation_deg is updated in midflight function. # To make sure deviation_deg is updated in midflight function.
me.FOV_check(me.hdg, me.pitch, me.curr_deviation_h, me.curr_deviation_e, me.max_seeker_dev, me.myMath); me.FOV_check(me.hdg, me.pitch, me.curr_deviation_h, me.curr_deviation_e, me.max_seeker_dev, me.myMath);
} }
if (me.chaffLock and (me.guidance == "command" or me.guidance == "semi-radar" or me.guidance == "tvm") and (me.life_time - me.chaffLockTime) > (me.gnd_launch?4:6)) { if (me.chaffLock and (me.guidance == "command" or me.guidance == "semi-radar" or me.guidance == "tvm") and (me.life_time - me.chaffLockTime) > (me.gnd_launch?4:8)) {
me.chaffLock = 0; me.chaffLock = 0;
me.printStats(me.type~": Chaff dissipated, regained track."); me.printStats(me.type~": Chaff dissipated, regained track.");
} }

View File

@ -536,7 +536,7 @@ var AIM = {
m.vector_thrust = 0; m.vector_thrust = 0;
} }
if (m.flareResistance == nil or !m.gnd_launch) { if (m.flareResistance == nil or !m.gnd_launch) {
m.flareResistance = 0.85; m.flareResistance = 0.80;
} }
if (m.chaffResistance == nil or !m.gnd_launch) { if (m.chaffResistance == nil or !m.gnd_launch) {
m.chaffResistance = 0.85; m.chaffResistance = 0.85;
@ -3321,8 +3321,8 @@ var AIM = {
# target has released a new flare, lets check if it fools us # target has released a new flare, lets check if it fools us
me.flareTime = me.life_time; me.flareTime = me.life_time;
me.flareLast = me.flareNumber; me.flareLast = me.flareNumber;
me.aspectDeg = me.aspectToExhaust(me.coord, me.Tgt) / 180; me.aspectDeg = me.aspectToExhaust(me.coord, me.Tgt) / 180;# 0 = viewing engine, 1 = front
me.flareLock = rand() < (1-me.flareResistance + ((1-me.flareResistance) * 0.5 * me.aspectDeg));# 50% extra chance to be fooled if front aspect me.flareLock = rand() < (1-me.flareResistance);
if (me.flareLock) { if (me.flareLock) {
# fooled by the flare # fooled by the flare
me.printStats(me.type~": Missile locked on flare from "~me.callsign); me.printStats(me.type~": Missile locked on flare from "~me.callsign);
@ -3357,7 +3357,7 @@ var AIM = {
me.aspectDeg = me.aspectToExhaust(me.coord, me.Tgt) / 180;# 0 = viewing engine, 1 = front me.aspectDeg = me.aspectToExhaust(me.coord, me.Tgt) / 180;# 0 = viewing engine, 1 = front
me.redux = me.guidance == "semi-radar" or me.guidance == "command" or me.guidance == "tvm"?(me.gnd_launch?0.5:0.75):1; me.redux = me.guidance == "semi-radar" or me.guidance == "command" or me.guidance == "tvm"?(me.gnd_launch?0.5:0.75):1;
me.chaffChance = (1-me.chaffResistance)*me.redux; me.chaffChance = (1-me.chaffResistance)*me.redux;
me.chaffLock = rand() < (me.chaffChance - (me.chaffChance * 0.5 * me.aspectDeg));# 50% less chance to be fooled if front aspect me.chaffLock = rand() < (me.chaffChance - (me.chaffChance * 0.70 * me.aspectDeg));# 70% less chance to be fooled if front aspect
if (me.chaffLock) { if (me.chaffLock) {
me.printStats(me.type~": Missile locked on chaff from "~me.callsign); me.printStats(me.type~": Missile locked on chaff from "~me.callsign);
@ -3514,7 +3514,7 @@ var AIM = {
# To make sure deviation_deg is updated in midflight function. # To make sure deviation_deg is updated in midflight function.
me.FOV_check(me.hdg, me.pitch, me.curr_deviation_h, me.curr_deviation_e, me.max_seeker_dev, me.myMath); me.FOV_check(me.hdg, me.pitch, me.curr_deviation_h, me.curr_deviation_e, me.max_seeker_dev, me.myMath);
} }
if (me.chaffLock and (me.guidance == "command" or me.guidance == "semi-radar" or me.guidance == "tvm") and (me.life_time - me.chaffLockTime) > (me.gnd_launch?4:6)) { if (me.chaffLock and (me.guidance == "command" or me.guidance == "semi-radar" or me.guidance == "tvm") and (me.life_time - me.chaffLockTime) > (me.gnd_launch?4:8)) {
me.chaffLock = 0; me.chaffLock = 0;
me.printStats(me.type~": Chaff dissipated, regained track."); me.printStats(me.type~": Chaff dissipated, regained track.");
} }

View File

@ -536,7 +536,7 @@ var AIM = {
m.vector_thrust = 0; m.vector_thrust = 0;
} }
if (m.flareResistance == nil or !m.gnd_launch) { if (m.flareResistance == nil or !m.gnd_launch) {
m.flareResistance = 0.85; m.flareResistance = 0.80;
} }
if (m.chaffResistance == nil or !m.gnd_launch) { if (m.chaffResistance == nil or !m.gnd_launch) {
m.chaffResistance = 0.85; m.chaffResistance = 0.85;
@ -3321,8 +3321,8 @@ var AIM = {
# target has released a new flare, lets check if it fools us # target has released a new flare, lets check if it fools us
me.flareTime = me.life_time; me.flareTime = me.life_time;
me.flareLast = me.flareNumber; me.flareLast = me.flareNumber;
me.aspectDeg = me.aspectToExhaust(me.coord, me.Tgt) / 180; me.aspectDeg = me.aspectToExhaust(me.coord, me.Tgt) / 180;# 0 = viewing engine, 1 = front
me.flareLock = rand() < (1-me.flareResistance + ((1-me.flareResistance) * 0.5 * me.aspectDeg));# 50% extra chance to be fooled if front aspect me.flareLock = rand() < (1-me.flareResistance);
if (me.flareLock) { if (me.flareLock) {
# fooled by the flare # fooled by the flare
me.printStats(me.type~": Missile locked on flare from "~me.callsign); me.printStats(me.type~": Missile locked on flare from "~me.callsign);
@ -3357,7 +3357,7 @@ var AIM = {
me.aspectDeg = me.aspectToExhaust(me.coord, me.Tgt) / 180;# 0 = viewing engine, 1 = front me.aspectDeg = me.aspectToExhaust(me.coord, me.Tgt) / 180;# 0 = viewing engine, 1 = front
me.redux = me.guidance == "semi-radar" or me.guidance == "command" or me.guidance == "tvm"?(me.gnd_launch?0.5:0.75):1; me.redux = me.guidance == "semi-radar" or me.guidance == "command" or me.guidance == "tvm"?(me.gnd_launch?0.5:0.75):1;
me.chaffChance = (1-me.chaffResistance)*me.redux; me.chaffChance = (1-me.chaffResistance)*me.redux;
me.chaffLock = rand() < (me.chaffChance - (me.chaffChance * 0.5 * me.aspectDeg));# 50% less chance to be fooled if front aspect me.chaffLock = rand() < (me.chaffChance - (me.chaffChance * 0.70 * me.aspectDeg));# 70% less chance to be fooled if front aspect
if (me.chaffLock) { if (me.chaffLock) {
me.printStats(me.type~": Missile locked on chaff from "~me.callsign); me.printStats(me.type~": Missile locked on chaff from "~me.callsign);
@ -3514,7 +3514,7 @@ var AIM = {
# To make sure deviation_deg is updated in midflight function. # To make sure deviation_deg is updated in midflight function.
me.FOV_check(me.hdg, me.pitch, me.curr_deviation_h, me.curr_deviation_e, me.max_seeker_dev, me.myMath); me.FOV_check(me.hdg, me.pitch, me.curr_deviation_h, me.curr_deviation_e, me.max_seeker_dev, me.myMath);
} }
if (me.chaffLock and (me.guidance == "command" or me.guidance == "semi-radar" or me.guidance == "tvm") and (me.life_time - me.chaffLockTime) > (me.gnd_launch?4:6)) { if (me.chaffLock and (me.guidance == "command" or me.guidance == "semi-radar" or me.guidance == "tvm") and (me.life_time - me.chaffLockTime) > (me.gnd_launch?4:8)) {
me.chaffLock = 0; me.chaffLock = 0;
me.printStats(me.type~": Chaff dissipated, regained track."); me.printStats(me.type~": Chaff dissipated, regained track.");
} }

View File

@ -536,7 +536,7 @@ var AIM = {
m.vector_thrust = 0; m.vector_thrust = 0;
} }
if (m.flareResistance == nil or !m.gnd_launch) { if (m.flareResistance == nil or !m.gnd_launch) {
m.flareResistance = 0.85; m.flareResistance = 0.80;
} }
if (m.chaffResistance == nil or !m.gnd_launch) { if (m.chaffResistance == nil or !m.gnd_launch) {
m.chaffResistance = 0.85; m.chaffResistance = 0.85;
@ -3321,8 +3321,8 @@ var AIM = {
# target has released a new flare, lets check if it fools us # target has released a new flare, lets check if it fools us
me.flareTime = me.life_time; me.flareTime = me.life_time;
me.flareLast = me.flareNumber; me.flareLast = me.flareNumber;
me.aspectDeg = me.aspectToExhaust(me.coord, me.Tgt) / 180; me.aspectDeg = me.aspectToExhaust(me.coord, me.Tgt) / 180;# 0 = viewing engine, 1 = front
me.flareLock = rand() < (1-me.flareResistance + ((1-me.flareResistance) * 0.5 * me.aspectDeg));# 50% extra chance to be fooled if front aspect me.flareLock = rand() < (1-me.flareResistance);
if (me.flareLock) { if (me.flareLock) {
# fooled by the flare # fooled by the flare
me.printStats(me.type~": Missile locked on flare from "~me.callsign); me.printStats(me.type~": Missile locked on flare from "~me.callsign);
@ -3357,7 +3357,7 @@ var AIM = {
me.aspectDeg = me.aspectToExhaust(me.coord, me.Tgt) / 180;# 0 = viewing engine, 1 = front me.aspectDeg = me.aspectToExhaust(me.coord, me.Tgt) / 180;# 0 = viewing engine, 1 = front
me.redux = me.guidance == "semi-radar" or me.guidance == "command" or me.guidance == "tvm"?(me.gnd_launch?0.5:0.75):1; me.redux = me.guidance == "semi-radar" or me.guidance == "command" or me.guidance == "tvm"?(me.gnd_launch?0.5:0.75):1;
me.chaffChance = (1-me.chaffResistance)*me.redux; me.chaffChance = (1-me.chaffResistance)*me.redux;
me.chaffLock = rand() < (me.chaffChance - (me.chaffChance * 0.5 * me.aspectDeg));# 50% less chance to be fooled if front aspect me.chaffLock = rand() < (me.chaffChance - (me.chaffChance * 0.70 * me.aspectDeg));# 70% less chance to be fooled if front aspect
if (me.chaffLock) { if (me.chaffLock) {
me.printStats(me.type~": Missile locked on chaff from "~me.callsign); me.printStats(me.type~": Missile locked on chaff from "~me.callsign);
@ -3514,7 +3514,7 @@ var AIM = {
# To make sure deviation_deg is updated in midflight function. # To make sure deviation_deg is updated in midflight function.
me.FOV_check(me.hdg, me.pitch, me.curr_deviation_h, me.curr_deviation_e, me.max_seeker_dev, me.myMath); me.FOV_check(me.hdg, me.pitch, me.curr_deviation_h, me.curr_deviation_e, me.max_seeker_dev, me.myMath);
} }
if (me.chaffLock and (me.guidance == "command" or me.guidance == "semi-radar" or me.guidance == "tvm") and (me.life_time - me.chaffLockTime) > (me.gnd_launch?4:6)) { if (me.chaffLock and (me.guidance == "command" or me.guidance == "semi-radar" or me.guidance == "tvm") and (me.life_time - me.chaffLockTime) > (me.gnd_launch?4:8)) {
me.chaffLock = 0; me.chaffLock = 0;
me.printStats(me.type~": Chaff dissipated, regained track."); me.printStats(me.type~": Chaff dissipated, regained track.");
} }

View File

@ -55,19 +55,19 @@
], ],
"missile-code": [ "missile-code": [
{ {
"version": "1.1.1", "version": "1.1.2",
"path": "BUK-M2/Nasal/guided-missiles.nas" "path": "BUK-M2/Nasal/guided-missiles.nas"
}, },
{ {
"version": "1.1.1", "version": "1.1.2",
"path": "MIM-104D/Nasal/guided-missiles.nas" "path": "MIM-104D/Nasal/guided-missiles.nas"
}, },
{ {
"version": "1.1.1", "version": "1.1.2",
"path": "S-75/Nasal/guided-missiles.nas" "path": "S-75/Nasal/guided-missiles.nas"
}, },
{ {
"version": "1.1.1", "version": "1.1.2",
"path": "SA-6/Nasal/guided-missiles.nas" "path": "SA-6/Nasal/guided-missiles.nas"
} }
], ],