Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jammer Table Doesn't Support HDS Mod #39

Open
patpatpowercat opened this issue Mar 28, 2021 · 2 comments
Open

Jammer Table Doesn't Support HDS Mod #39

patpatpowercat opened this issue Mar 28, 2021 · 2 comments

Comments

@patpatpowercat
Copy link

The jammer table has not yet been updated with the SAM systems from the High Digit SAMs mod. It only has vanilla systems in it.

@walder
Copy link
Owner

walder commented May 3, 2021

thanks working on improved harm detection for 2.7 will add the values with that release

@walder walder assigned walder and unassigned walder May 13, 2021
@walder walder added this to the HighDigitSAMSites support milestone Jul 22, 2022
@walder walder moved this to Release 3.0.0 Backlog in Skynet IADS Jul 22, 2022
@walder walder removed the status in Skynet IADS Jul 22, 2022
@patpatpowercat
Copy link
Author

This code works for me, however the sensitivity/formula for the HDS/S-300 pack SAMs should probably be looked at.

 jammer.jammerTable = {
	['SA-2'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.4 ^ distanceNauticalMiles ) + 90 end,
		['canjam'] = true,
	},
	['SA-3'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.4 ^ distanceNauticalMiles ) + 80 end,
		['canjam'] = true,
	},
	['SA-5'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.4 ^ distanceNauticalMiles ) + 90 end,
		['canjam'] = true,
	},
	['SA-6'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.4 ^ distanceNauticalMiles ) + 23 end,
		['canjam'] = true,
	},
	['SA-8'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.35 ^ distanceNauticalMiles ) + 30 end,
		['canjam'] = true,
	},
	['SA-10'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.07 ^ (distanceNauticalMiles / 1.13) ) + 5 end,
		['canjam'] = true,
	},
	['SA-10B'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.07 ^ (distanceNauticalMiles / 1.13) ) + 5 end,
		['canjam'] = true,
	},
	['SA-11'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.25 ^ distanceNauticalMiles ) + 15 end,
		['canjam'] = true,
	},
	['SA-12'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.07 ^ (distanceNauticalMiles / 1.13) ) + 5 end,
		['canjam'] = true,
	},
	['SA-15'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.15 ^ distanceNauticalMiles ) + 5 end,
		['canjam'] = true,
	},
	['SA-17'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.25 ^ distanceNauticalMiles ) + 20 end,
		['canjam'] = true,
	},
	['SA-20A'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.00 ^ (distanceNauticalMiles / 1.15) ) + 40 end,
		['canjam'] = true,
	},
	['SA-20B'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.00 ^ (distanceNauticalMiles / 1.15) ) + 50 end,
		['canjam'] = true,
	},
	['SA-21'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.07 ^ (distanceNauticalMiles / 1.13) ) + 60 end,
		['canjam'] = true,
	},
	['SA-22'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.07 ^ distanceNauticalMiles ) + 5 end,
		['canjam'] = true,
	},
	['SA-23B'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.07 ^ (distanceNauticalMiles / 1.11) ) + 55 end,
		['canjam'] = true,
	},
	['SA-23'] = {
		['function'] = function(distanceNauticalMiles) return ( 1.07 ^ (distanceNauticalMiles / 1.13) ) + 60 end,
		['canjam'] = true,
	},
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants