Difference between revisions of "User talk:Morgan525"

From UFOpaedia
Jump to navigation Jump to search
Line 29: Line 29:
 
[[User:Spike|Spike]] 09:37, 30 June 2012 (EDT)
 
[[User:Spike|Spike]] 09:37, 30 June 2012 (EDT)
  
It is an extender version of the original formula if one chooses to enable it. The original formula is the one that has been noted already: [(1+(3/UFOsize))/2 ] * Weapon Accuracy ... UFO sizes going from 5 for very small to 1 for very large. If one were to set the extender's interception difficulty to beginner, the algorithm's output is the same as the original one.
+
It is an extender version of the original formula if one chooses to enable it. The original formula is the one that has been noted already: [(1+(3/UFOsize))/2 ] * Weapon Accuracy ... UFO sizes going from 5 for very small to 1 for very large. If one were to set the extender's interception difficulty to beginner, the algorithm's output is the same as the original one.  The original UFO accuracy algorithm is a flat 60% chance to hit despite difficulty level.
 
[[User:Morgan525|Morgan525]] 19:23, 30 June 2012 (EDT)
 
[[User:Morgan525|Morgan525]] 19:23, 30 June 2012 (EDT)

Revision as of 23:30, 30 June 2012

Functions used in UFOextender's new interception routines

For those that might want to know how accuracy is calculated with the new options for interception turned on:

X-Craft Accuracy

[(1+((3-(.5*(difficulty level-1)))/UFOsize)/2 ] * Weapon Accuracy ....... [beginner=1..superhuman=5]

Diff	Ship Size				
	VS	S	M	L	VL
begin	0.8	0.875	1	1.25	2
exp	0.75	0.8125	0.91667	1.125	1.75
vet	0.7	0.75	0.83333	1	1.5
Genius	0.65	0.6875	0.75	0.875	1.25
Super	0.6	0.625	0.66667	0.75	1
         

UFO Accuracy

60 + ((difficulty level-1)*3) - [Cautious Mode bonus (10)]

Feedback

Any questions or feedback one may have....

Decompiled accuracy algorithm?

Hi Morgan/Tycho

Is the algorithm you describe above, what you have decompiled from the standard game? Or is it a variant for UFOExtender? Great news if you have decompiled what the game actually uses - I will need to check some of my firepower calculations to make sure they are still in line with the algorithm.

cheers, Spike 09:37, 30 June 2012 (EDT)

It is an extender version of the original formula if one chooses to enable it. The original formula is the one that has been noted already: [(1+(3/UFOsize))/2 ] * Weapon Accuracy ... UFO sizes going from 5 for very small to 1 for very large. If one were to set the extender's interception difficulty to beginner, the algorithm's output is the same as the original one. The original UFO accuracy algorithm is a flat 60% chance to hit despite difficulty level. Morgan525 19:23, 30 June 2012 (EDT)