Damage Modifiers for Aliens


  • Please log in to reply
228 replies to this topic

#161 Zombie

Zombie

    Mr. Grognard of X-COM

  • Admin
  • PipPipPipPipPipPip
  • 5,535 posts
  • Gender:Male
  • Location:Wisconsin, USA

Posted 20 November 2005 - 06:25 AM

You are correct on both accounts, Danial.  :D

Actually, I didn't test on Beginner skill level. I wanted a challenge so I found a Genius level Reaper on a terror site. So damage follows the strength rating of the creature at that level. The damage range is between 0 and 2*Strength, just like we thought. Gotta love it when a theory holds.

Oh, here is something funny: the darn Reaper was missing attacks. Yep, I forgot that HTH accuracy was less than 100 at Genius. That kinda messed up my results a bit by adding extra zero damage hits. Luckily I realized this and took HTH accuracy into consideration. For my next test I'm changing melee accuracy to 100%. I really hate testing with multiple variables.  :phew:

- Zombie

My X-COM Patch Kit For UFO Defense | Emergency XCOM Meeting spoof on YouTube




JellyfishGreen said:

Zombie: Empirical data's your only man, when formulating a research plan.
A soldier's death is never in vain if it makes the formula more plain.
A few dozen make a better case for refining that third decimal place.
They call me Zombie because I don't sleep, as I slowly struggle to climb this heap,
of corpses, data points, and trials, but from the top - I'll see for miles!

#162 NKF

NKF

    Mr. Badger in disguise

  • Site Staff
  • PipPipPipPipPip
  • 4,424 posts
  • Gender:Male
  • Location:In my mind

Posted 20 November 2005 - 06:43 AM

Zombie, I've been meaning to ask, since you're doing melee tests at the moment:

You gave some melee costs for the aliens a while back, such as a Chryssalid using 15 TUs for an attack. Do you know if these were fixed costs or percentage costs?

- NKF
NKF, narrow minded fuddy duddy who refuses to let go of the past and will not accept anything newer than 1979.

#163 Zombie

Zombie

    Mr. Grognard of X-COM

  • Admin
  • PipPipPipPipPipPip
  • 5,535 posts
  • Gender:Male
  • Location:Wisconsin, USA

Posted 20 November 2005 - 07:28 AM

Thanks for reminding me, NKF!  :D

I just nabbed a Beginner level Reaper and edited current/max TU to 14. Just like at Genius level, the Reaper didn't want to attack. When I edited current/max TU to 15, the Reaper was more than happy to gnaw at my soldier. Since the Reaper has different TU for the different skill levels, the HTH attack is a fixed cost. To verify, a Genius level Chryssalid was edited to 14 and then 15 TU. It only attacked at 15.

I'm not sure how to get aliens to stand still (rooted to one spot) like you do NKF. I'm assuming I should set unitref[035] to 0, but what about current/max energy? Does that play a role? Anyways, it's lucky I didn't root that Reaper to one spot. For the first round it decided to use its 15 TU ro run away and charge back. This left the 2x2 Reaper facing my soldier on a diagonal. *Roar* Reapers can attack on a diagonal too!   :phew:

- Zombie

My X-COM Patch Kit For UFO Defense | Emergency XCOM Meeting spoof on YouTube




JellyfishGreen said:

Zombie: Empirical data's your only man, when formulating a research plan.
A soldier's death is never in vain if it makes the formula more plain.
A few dozen make a better case for refining that third decimal place.
They call me Zombie because I don't sleep, as I slowly struggle to climb this heap,
of corpses, data points, and trials, but from the top - I'll see for miles!

#164 NKF

NKF

    Mr. Badger in disguise

  • Site Staff
  • PipPipPipPipPip
  • 4,424 posts
  • Gender:Male
  • Location:In my mind

Posted 20 November 2005 - 07:50 AM

I root aliens to one spot by setting their current energy to 0 and their energy recharge to 0.

As long as the energy recharge is set to 0 and the alien uses up all its energy, it will no longer be able to walk to other tiles.

- NKF
NKF, narrow minded fuddy duddy who refuses to let go of the past and will not accept anything newer than 1979.

#165 Bomb Bloke

Bomb Bloke

    The Smily Admin

  • Admin
  • PipPipPipPipPip
  • 4,625 posts
  • Gender:Male
  • Location:Tasmania (AU)

Posted 20 November 2005 - 08:05 AM

I suppose you could also use that to prevent aliens from turning?

The logger is now in the downloads department.
BB's X-Com Projects Page - X-Com Games At GamersGate
You're just jealous 'cause the voices only talk to me :P
We love Tammy! :)

#166 Danial

Danial

    Resident Muton

  • Fan Fiction
  • PipPipPipPip
  • 271 posts

Posted 20 November 2005 - 08:43 AM

Zombie said:

Actually, I didn't test on Beginner skill level. I wanted a challenge so I found a Genius level Reaper on a terror site. So damage follows the strength rating of the creature at that level. The damage range is between 0 and 2*Strength, just like we thought. Gotta love it when a theory holds.
Sure do! :D

Zombie said:

Oh, here is something funny: the darn Reaper was missing attacks. Yep, I forgot that HTH accuracy was less than 100 at Genius. That kinda messed up my results a bit by adding extra zero damage hits. Luckily I realized this and took HTH accuracy into consideration. For my next test I'm changing melee accuracy to 100%. I really hate testing with multiple variables.  :phew:
Is it true that HTH Accuracy for Terrorists is fixed at 80%? And that it doesn't increase with skill level?

#167 Zombie

Zombie

    Mr. Grognard of X-COM

  • Admin
  • PipPipPipPipPipPip
  • 5,535 posts
  • Gender:Male
  • Location:Wisconsin, USA

Posted 20 November 2005 - 08:55 AM

Thanks for the help NKF, and for the new logger Bomb Bloke! You two are top-notch!  :phew:

Danial: Let me be perfectly clear here. HTH accuracy is NOT a fixed stat. No sir. It goes up as skill level increases. So just ignore what the OSG mentions for the higher skill levels. It's wrong yet again. See why it's important to test stuff like this?  :)

----------

Okay, I have a special treat for everyone: I just tested how many TU are necessary for the aliens to use their psionic attack one time. What did I say it was before, 22? Wrong. It takes 26 TU. Here again, its a fixed stat. Guess I made some more work for myself in the wiki. :D

- Zombie

My X-COM Patch Kit For UFO Defense | Emergency XCOM Meeting spoof on YouTube




JellyfishGreen said:

Zombie: Empirical data's your only man, when formulating a research plan.
A soldier's death is never in vain if it makes the formula more plain.
A few dozen make a better case for refining that third decimal place.
They call me Zombie because I don't sleep, as I slowly struggle to climb this heap,
of corpses, data points, and trials, but from the top - I'll see for miles!

#168 MikeTheRed

MikeTheRed

    Sergeant

  • Members
  • PipPipPip
  • 95 posts
  • Location:Atlanta GA USA

Posted 25 November 2005 - 08:28 PM

I've been a bit busy lately... great stuff here, though!

Thanks for the update on the logger, BB. I took a look at it... looks great. Fwiw, I've already been directly sucking data out of Unitref and Soldier into Access. This was crucial to my experience work. Speaking of which, your ReadMe said suggestions are welcomed... you might want to put Unitref experience counters in there. These are important for telling how many hits actually landed (even if no damage resulted), etc. For the Psi counters, users need to know that failed psi attempts add 1, but successful ones add 3, to the counter. You can always back-calculate number of successes and failures since you'll know how many attempts you made.

Anyway, just a suggestion. And you don't need to do it for me. But others may like it. In addition to the experience work, they showed me that e.g. occasionally you get an extra reaction count, and that prox grenades credit hits to the person that set the prox mine off, not the person that threw the grenade.

NKF and others - a very minor point re: rooting aliens - be careful of rooting them on an elevator. Elevators don't require energy to move up and down. You'll never guess how I got reminded of this point. :D

Zombie (or anyone), I am modelling the number of hits needed to kill critters and would like to make sure I understand things correctly. Mind if I ask some questions here?

1) You will recall there were some apparent simple errors in the OSG (aka Aztec's spreadsheet) vs. what was found in Geoscape.exe (and Xcomutil.cfg). Would you be able to check the items in "Bytes that are always different" here to confirm that OSG is wrong and Geo is right? Or, like you said, should I simply go with Geo, eh?

2) Likewise, for the second bullet under "Systematic Differences" there - was OSG also incorrect across the board for Celatid and Chryssalid, Firing Accuracy and Armor? (OSG got the 2x increase backward?) Again - go with Geo?

3) OSG has zombies, but Geo does not. If you have confirmed any one level's stats for zombies, the rest can be extrapolated.

4) I see you folks have been talking about Damage Modifiers some. Are they all up to date on the wiki?

5) In your damage analysis here, you talk about "order of computations". It seems to me though that the bottom line for being accurate is not the order per se (min before max before average), but the observation that Integer rounding occurs separately for the modifier. Would this be a correct conclusion?

6) Along these lines, I'm not sure why you broke out the range from the average. Can't the average be stated as simply (Min+Max)/2? This accurately produces the average of 9 to 29 inclusive, 19.0. (Why do you say 19.5? Did your test results indeed have this average?)

Thanks greatly for your help if you (or anyone) can address the above... before I go crunching tons of numbers.

Fortunately for my modelling, target Health does not change across difficulty levels, and armor only changes once. I know I'll model vs. HE, but not sure what else to model... maybe a select few weapons, like standard pistol, laser pistol, heavy plasma.

The weak ones were specifically chosen because they're the reason I'm doing this - to see which approaches to damage let you hit a target the most before killing it. In particular, standard pistol vs. edge of standard grenade blast.

But now that it's set up, I can throw in whatever else folks would like to see. Any other particularly popular weapons? Maybe laser rifles?

I probably haven't made it clear - I've set up a model that does trials of, shooting a target with a particular weapon. It includes armor and health being shot away (or not) with each hit. So it needs to handle min and max damage and modifiers correctly. It also includes a choice to always hit one side of armor (e.g. front), or to always target the highest armor side, out of whatever is left (a.k.a. continuously turning the alien for each shot, to kill as slowly as possible and maximize experience). Then I see how many hits are needed to kill. Run it a million times, and take the average. :phew:

MTR

#169 Danial

Danial

    Resident Muton

  • Fan Fiction
  • PipPipPipPip
  • 271 posts

Posted 25 November 2005 - 11:04 PM

Can't you calculate that data from the damage formula?

Seeing as Health always stays the same, and we know the Modifiers, and that weapons do 0-200% damage, Armour is really the only variable.

I mean, if you use the formula, can't you calculate that a Pistol will kill a Beginner Muton in:

Min. Hits To Kill = 125HP / ((26 x 2 × 0.6) - 10) = 6 shots

Maximum shots would be impossible to know because you might get several 0 damage hits in, and Average shots should just be the above formula without the 2 in the middle, so 23 in this case.

#170 MikeTheRed

MikeTheRed

    Sergeant

  • Members
  • PipPipPip
  • 95 posts
  • Location:Atlanta GA USA

Posted 26 November 2005 - 12:00 AM

True, it's something like that. But notice how e.g. your minimum hits - the simplest possible case - doesn't include the effect of armor "eroding".  The minimum for pistol killing a Muton is actually 5. (Armor gets eroded.)

This is especially important with the weakest weapons (and/or high armor), where armor blockage can be very significant. Silacoids have armor of 25 (at Beginner), equal to half a pistol's damage. Using an "average" would make weird results. Same holds for a grenade at its edge vs. a Muton; average HE is 10, same as Muton armor at Beginner. These are just the kind of cases I'm most interested in - where the inevitable might be delayed as long as possible.

Also formulas won't accurately model the possibility of trying to hit different sides of the target or the more realistic likelihood that probably a couple of sides will be hit, for the most part. Again it can be estimated with a formula, but real life might be weird, especially when armor and hit strength are close.

I originally did try a formula but after attempting to grapple with armor erosion etc. I thought, "wth, I'll just model it".

My trials also are just an estimate - but they are considerably less error prone in the most interesting cases. And a much closer estimate of the real value, in any event.

Anyone care to try a formula for the average number of hits to kill a muton with pistol, or grenade at its edge (average HE=10)? Then I'll compare my findings with ya :phew:

MTR

#171 Zombie

Zombie

    Mr. Grognard of X-COM

  • Admin
  • PipPipPipPipPipPip
  • 5,535 posts
  • Gender:Male
  • Location:Wisconsin, USA

Posted 28 November 2005 - 07:07 AM

View PostMikeTheRed, on 25th November 2005, 2:28pm, said:

1) You will recall there were some apparent simple errors in the OSG (aka Aztec's spreadsheet) vs. what was found in Geoscape.exe (and Xcomutil.cfg). Would you be able to check the items in "Bytes that are always different" here to confirm that OSG is wrong and Geo is right? Or, like you said, should I simply go with Geo, eh?

2) Likewise, for the second bullet under "Systematic Differences" there - was OSG also incorrect across the board for Celatid and Chryssalid, Firing Accuracy and Armor? (OSG got the 2x increase backward?) Again - go with Geo?
Where do I begin? First, I'd go with the geoscape files instead of using the OSG. (Aztec's spreadsheet is nothing more than blatant plagiarism of the OSG and has the same data). However, until I can verify what my geoscape.exe stats say, I can't comment much on this (see my email, Mike).

View PostMikeTheRed, on 25th November 2005, 2:28pm, said:

3) OSG has zombies, but Geo does not. If you have confirmed any one level's stats for zombies, the rest can be extrapolated.
Geoscape.exe may not have Zombies listed simply because they are technically not an alien. Zombies are produced only in the Battlescape via a successful Chryssalid impregnation, and thus, a Geoscape entry may not be used. It is possible that the tactical.exe might have this info instead. (Tactical.exe and Geoscape.exe are the files split off by Xcomutil from the main UFO Defense.exe). From my research into zombies, all their stats are a constant when going to a different skill level.

View PostMikeTheRed, on 25th November 2005, 2:28pm, said:

4) I see you folks have been talking about Damage Modifiers some. Are they all up to date on the wiki?
So far, yes. All the verified modifiers are up-to-date. I will periodically go through that section of the Wiki as more info is gathered.  :D  

View PostMikeTheRed, on 25th November 2005, 2:28pm, said:

5) In your damage analysis here, you talk about "order of computations". It seems to me though that the bottom line for being accurate is not the order per se (min before max before average), but the observation that Integer rounding occurs separately for the modifier. Would this be a correct conclusion?
If I understand you correctly, yes. There is nothing which would say that the game does the Min calculation first, the Max calculation second, etc (the average is a different animal, see below). The point is this: The susceptibility factor is not introduced until after the preliminary Min and Max have been calculated:

Quote

Preconditions:
Any unit which has a susceptibility to HE of 80%
HE shell modified to dish out a listed damage of 25

Example 1:
Calculate Min and Max of the HE-25 shell assuming the damage modifier is applied first.

Modified Listed Damage = 25 * 80 / 100 = 20

Min = INT(MLD/2) = INT(20/2) = INT(10) = 10.
Max = INT(MLD*3/2) = INT(20*3/2) = INT(30) = 30

Conclusion - this method is incorrect since the actual range is between 9 and 29.

----------

Example 2:
Calculate Min and Max of the HE-25 shell assuming the damage modifier is applied last.

N = Listed Damage (in this case it is 25)
S = Susceptibility to HE ammo (in this case it is 80)

Min[1] = INT(N/2) = INT(25/2) = INT(12.5) = 12
Modified Min = INT(Min[1] * S / 100) = INT(12 * 80 / 100) = INT(9.6) = 9

Max[2] = INT(N*3/2) = INT(25*3/2) = INT(37.5) = 37
Modified Max = INT(Max[1] * S / 100) = INT(37 * 80 / 100) = INT(29.6) = 29

Conclusion - this method is correct since it matches observed results.
I hope this clears up any questions.

View PostMikeTheRed, on 25th November 2005, 2:28pm, said:

6) Along these lines, I'm not sure why you broke out the range from the average. Can't the average be stated as simply (Min+Max)/2? This accurately produces the average of 9 to 29 inclusive, 19.0. (Why do you say 19.5? Did your test results indeed have this average?)
Theoretically, the modified average might not even be used but I included the calculation to show what it would be. Indeed, the anticipated Average should simply be  (Min+Max)/2. However, the average that I witnessed was 19.649 (Total damage sum of 20376/1037 trials). From this, I tried to formulate a better way to explain the disparity.

19.5 seemed like the better choice. Why? In all my trials, the Actual average was almost spot-on the Anticipated. And with some large damage ranges (like the Laser-50 vs Quarterpod) that difference was only 0.383. With a tiny range of 9 to 29 (21 values), that average should be much closer. Still, it may just be a fluke where the random numbers generated were higher than expected. One thing is for certain, the Anticipated average cannot be calculated directly using just the damage modifier and the listed damage:

Quote

Example:

Listed damage (N) = 25
Susceptibility (S) = 80

Theoretical Modified Average = INT(25 * 80 / 100) = INT(20) = 20
This is why I maintain that the Average (if it is used) can only be calculated after the Min and the Max are. Either that or the damage modifier is actually 76% (19 / 25 * 100). From my 4000 HE trials with a listed damage of 50, the actual average (39.507) was closer to 40 than it was to 38 (50 * 76 / 100). Not even close. The OSG must list the correct damage modifier of 80% for HE on a Sectopod. We'll know more once a unit with normal resistance to HE is completed. :phew:

- Zombie

My X-COM Patch Kit For UFO Defense | Emergency XCOM Meeting spoof on YouTube




JellyfishGreen said:

Zombie: Empirical data's your only man, when formulating a research plan.
A soldier's death is never in vain if it makes the formula more plain.
A few dozen make a better case for refining that third decimal place.
They call me Zombie because I don't sleep, as I slowly struggle to climb this heap,
of corpses, data points, and trials, but from the top - I'll see for miles!

#172 MikeTheRed

MikeTheRed

    Sergeant

  • Members
  • PipPipPip
  • 95 posts
  • Location:Atlanta GA USA

Posted 29 November 2005 - 01:32 AM

Thanks for your long explanation, Z. Yes it definitely clears up some things.

Clearly the separate modifier calculation resulted in the 9 and 29. The min and max seem very solid.

However, pardon my density but I am not entirely clear about the average. I followed it in the 9/29 example, and hear you say the average was 19.65. The data is the data, eh?

And another quick thought: given your math, shouldn't it be proper to say, the anticipated average is (Max+Min+1)/2? This seems like a simpler way of saying your equation - but I worry that I'm overlooking something.

In your other example of HE 50 and Modifier .8:

   Min[1]=25; MIN=20
   Max[1]=75; MAX=60
   Ave=(20+60+1)/2=40.5
But you saw 39.5? Did I do my math correctly? Or what am I misunderstanding.

There's definitely something going on under the hood in regard to averages. But you know your data far better than I. And apologies if you've already said stuff in this thread, which I didn't read (back) to.

I'm uncertain what to do with my model, in regard to averages. I totally believe you when you say that you did not get the simple math average. But then, what should I do in my model? Right now it is simply rolling randomly within the min to max, inclusive. I have tested to make sure it's doing that. (Always a smart thing to do with random rolls. :phew:) It is - and the average of that, is the simple math average (min+max)/2.

May I ask you this... I don't know how you store your data, but have you looked at it in histogram form? In particular, I am wondering if the "edges" (min and/or max) might be under- or over-represented. In other words, while something's going on that DOES lead to e.g. the 9 to 29 min to max, just the same, maybe those edges are not entirely as likely to occur, as all other points. Or maybe there's something even a little stranger, like odd-numbered values are slightly more likely than even ones - or God knows what. As hard won as your many datapoints are, though, I don't know if they would be enough to tease out. Even when I run a million simulations, there are still some differences between the min and max counts for particular points. What's important enough to matter? I don't know. But I do know that the percentage by which they are off is quite small. More importantly, it varies from trial run to trial run.

You know your data much better than me. And we both know that XCOM may very well not truly store or work with any "average" per se; it probably just sets up its damage ranges etc. and plugs away. Which is to say, their approach may be "good enough for government work", even if it might give data maestros like yourself pause for thought. :) It would never matter in a regular game, and that's the bottom line for the programmers.

I'm not sure where I'm going with this, but any thoughts are appreciated :D

   Mike

#173 Zombie

Zombie

    Mr. Grognard of X-COM

  • Admin
  • PipPipPipPipPipPip
  • 5,535 posts
  • Gender:Male
  • Location:Wisconsin, USA

Posted 29 November 2005 - 03:33 AM

View PostMikeTheRed, on 28th November 2005, 7:32pm, said:

However, pardon my density but I am not entirely clear about the average. I followed it in the 9/29 example, and hear you say the average was 19.65. The data is the data, eh?
The value of 19.65 is called the "actual average" (aka "arithmetic mean"). It is found by averaging many, many data points. In this case, it is 1037 data points with a sum of 20376. 20376/1037=19.65. The other average is the "anticipated average". That value is found by adding the accepted min and max and dividing by 2.

View PostMikeTheRed, on 28th November 2005, 7:32pm, said:

And another quick thought: given your math, shouldn't it be proper to say, the anticipated average is (Max+Min+1)/2? This seems like a simpler way of saying your equation - but I worry that I'm overlooking something.
Sure, you could say it that way. But, I have doubts whether this is what the anticipated average for the damage calculation is. Most likely, it is just the traditional average: (Max+Min)/2. (So for the case with a min of 9 and a max of 29, the average should be 19). Don't know why I decided that 19.5 would be good. Sure, it explains the results better, but it could just be natural variance in the random numbers produced by the game. I was on a roll with the INT rounding error, and probably took it one step too far.

View PostMikeTheRed, on 28th November 2005, 7:32pm, said:

I'm uncertain what to do with my model, in regard to averages. I totally believe you when you say that you did not get the simple math average. But then, what should I do in my model? Right now it is simply rolling randomly within the min to max, inclusive. I have tested to make sure it's doing that. (Always a smart thing to do with random rolls. :phew:) It is - and the average of that, is the simple math average (min+max)/2.
I'd just use the simple math average. It should work fine. Like I said above, I'm probably in error for using the "+1". :D

View PostMikeTheRed, on 28th November 2005, 7:32pm, said:

May I ask you this... I don't know how you store your data, but have you looked at it in histogram form? In particular, I am wondering if the "edges" (min and/or max) might be under- or over-represented.
I was pretty careful in my analysis of the data. Indeed, I ran a histogram of the data and each damage number within the range had roughly the same count for each one. That is to say it is a "continuous uniform distribution" (aka flatline distribution). A normal (or Gaussian) distribution was not seen (the famous bell-shaped curve).  :)

- Zombie

My X-COM Patch Kit For UFO Defense | Emergency XCOM Meeting spoof on YouTube




JellyfishGreen said:

Zombie: Empirical data's your only man, when formulating a research plan.
A soldier's death is never in vain if it makes the formula more plain.
A few dozen make a better case for refining that third decimal place.
They call me Zombie because I don't sleep, as I slowly struggle to climb this heap,
of corpses, data points, and trials, but from the top - I'll see for miles!

#174 MikeTheRed

MikeTheRed

    Sergeant

  • Members
  • PipPipPip
  • 95 posts
  • Location:Atlanta GA USA

Posted 29 November 2005 - 04:56 AM

Thanks Z, that clears it up for me. Sorry for all the questions! I know you've mentioned flatline distributions before, but I couldn't remember if you had mentioned it for these particular data.

I'll just use a pure random roll - Sounds like a plan! Unless and until anything more clear pops out, eh?

#175 Zombie

Zombie

    Mr. Grognard of X-COM

  • Admin
  • PipPipPipPipPipPip
  • 5,535 posts
  • Gender:Male
  • Location:Wisconsin, USA

Posted 16 January 2006 - 04:13 AM

Does anyone remember this post I made a while back? In it, I was trying to explain why my tests with a Quarterpod standing on the ground had less HE damage than one in the air:

			   Quarterpod vs. HE ammo

		   Both on Ground	Both in Air
			 Damage=50		Damage=50
Minimum:		16			  20
Maximum:		48			  60
Ant. Ave:	   32			  40
At the time, I thought that the ground actually "sopped up" some HE damage. Then I tried to explain it away as either file corruption or tester error. None of these theories "felt" right. Fast forward to today. With all my newly acquired knowledge from testing out explosives over at the xcomufo forums, I decided to revisit my tests and take a closer look at the data.

Okay, the "listed" power of the HE shell was 50. That means this number is the average damage produced at ground zero (GZ) in the blast. The min would be 25 while the max would be 75. Now the damage to a unit one tile away from ground zero (GZ+1) would be less due to distance. In this case, the average would go down by the regulated 10 points, while the min would go down by 5 and the max 15. But we have to remember that this would be the damage inflicted to a unit having a susceptibility to HE of 100%. The Sectopod has an 80% susceptibility rating lowering the damages accordingly:

		  100% Susceptibility	 80% Susceptibility
			Min   Ave   Max		Min   Ave   Max
GZ		   25	50	75		 20	40	60
GZ+1		 20	40	60		 16	32	48
Ah ha! From this data, the HE shell was obviously impacting one tile away from the intended ground zero target. So is this tester error? Perhaps. It could also be a targeting error by the computer. Either way, I now have a deeper understanding of what the problem is. Seeing as I still have the original saved game, figuring out which one should be fairly easy. So what do these errors have to do with damage modifiers? Not much. But if the computer is making some bad targeting decisions when a Sectopod is split into parts, that could have a profound impact. I'll let you know what I find out. :lovetammy:

- Zombie

My X-COM Patch Kit For UFO Defense | Emergency XCOM Meeting spoof on YouTube




JellyfishGreen said:

Zombie: Empirical data's your only man, when formulating a research plan.
A soldier's death is never in vain if it makes the formula more plain.
A few dozen make a better case for refining that third decimal place.
They call me Zombie because I don't sleep, as I slowly struggle to climb this heap,
of corpses, data points, and trials, but from the top - I'll see for miles!

#176 MikeTheRed

MikeTheRed

    Sergeant

  • Members
  • PipPipPip
  • 95 posts
  • Location:Atlanta GA USA

Posted 16 January 2006 - 06:27 PM

Interesting stuff, Z... especially how it meshes perfectly with GZ+1.

You've only seen this anomaly with the quarterpod, right? Is it possible that the splitting of the sectopod is somehow confusing the game? I.e., somehow it's assuming you're hitting the "full" sectopod, and this quarter segment is one tile away.

However, if that's the case, why doesn't it also happen in the air. Hmm.

A few easy questions so I can be sure I understand the situation:

For ground tests, are you shooting directly down onto targets that are on level ground?

For the air targets, how are they in the air, and what direction shot from?

I imagine you stripped them of armor as usual? No confusion over GZ explosion hitting under armor, vs. side impacts.

The only weird thing appears to be when on ground. Are you shooting from same angle when shooting them on ground, vs. when in air?

Just tossing out thoughts here, and making sure I understand the situation. Maybe something will come up. Maybe not. :lovetammy:

#177 Danial

Danial

    Resident Muton

  • Fan Fiction
  • PipPipPipPip
  • 271 posts

Posted 17 January 2006 - 01:10 AM

It's good to see there's still some life in the X-COM community. I guess these things go through phases like everything else in life. As usual, keep up the good work.

#178 Zombie

Zombie

    Mr. Grognard of X-COM

  • Admin
  • PipPipPipPipPipPip
  • 5,535 posts
  • Gender:Male
  • Location:Wisconsin, USA

Posted 22 January 2006 - 08:12 PM

View PostMikeTheRed, on 16th January 2006, 12:27pm, said:

A few easy questions so I can be sure I understand the situation:
  • For ground tests, are you shooting directly down onto targets that are on level ground?

  • For the air targets, how are they in the air, and what direction shot from?

  • I imagine you stripped them of armor as usual? No confusion over GZ explosion hitting under armor, vs. side impacts.

  • The only weird thing appears to be when on ground. Are you shooting from same angle when shooting them on ground, vs. when in air?
1.) For the ground tests, both the soldier and the quarterpod were standing on the ground. So the shots are coming in at a 0 degree angle.

2.) The Quarterpods were suspended in the air by editing their height entry in the unitpos.dat file. The direction they were shot at is meaningless, because the results showed the same damage ranges happened no matter where the shot originated from or how high the Quarterpod was off the ground.

3.) Indeed, all the armor ratings were set to 0.

4.) Yes, identical angles (I think).

Gee, it's been so long since I ran those trials that it becomes exceedingly difficult to remember the exact circumstances involved. I know that I used one soldier to shoot at all the Quarterpods in some of the air trials to keep from clicking so many times. Can't remember if I did the same thing for the ground trials too.  ;) I just might have. But when I re-ran the ground trials (using 4 soldiers instead of 1 so no angles were involved) the results were the same as the air.

In any case, knowing what I know now, I would have used a normal grenade instead of the Heavy Cannons HE ammo. That would have eliminated all sorts of variables like soldier firing accuracy, weapon accuracy, drift, angles, etc, because the explosion would happen in a 100% static location each time. You live, you learn.  :lovetammy:

- Zombie

My X-COM Patch Kit For UFO Defense | Emergency XCOM Meeting spoof on YouTube




JellyfishGreen said:

Zombie: Empirical data's your only man, when formulating a research plan.
A soldier's death is never in vain if it makes the formula more plain.
A few dozen make a better case for refining that third decimal place.
They call me Zombie because I don't sleep, as I slowly struggle to climb this heap,
of corpses, data points, and trials, but from the top - I'll see for miles!

#179 Zombie

Zombie

    Mr. Grognard of X-COM

  • Admin
  • PipPipPipPipPipPip
  • 5,535 posts
  • Gender:Male
  • Location:Wisconsin, USA

Posted 22 September 2006 - 03:41 AM

I just happened to stumble across a mention in the x-com wiki about melee by MikeTheRed today:

MikeTheRed said:

NKF or Zombie or whomever - Is it possible to "miss" with the stun rod and not have your experience counter for skill points increase, like with Firing Accuracy? The SR says it's 100% accurate, but then again it can take 2-6 SRs to put a Muton down! Am I "missing" when it takes forever?
This got me thinking. If soldiers have a melee accuracy and it is used for chance to hit determinations with the Stun Rod listed at 100%, then if the soldier melee%<100 there should be a greater chance of hitting 0 stun damage than any other number in the range. So I went back and took a look at my data for the Stun Rod. Since I ran 1000 trials and the range is 131 the anticipated probability of having 0 stun should be 1000/131 = 7.6 = 8 times. After running a distribution breakdown, the value of 0 showed up 4 times. As a final check, I looked at the test soldiers melee accuracy. They were all around 30% or so.  :D

Bingo! Soldier Melee accuracy is never used to determine a chance to hit with the Stun Rod. By default this means that the Stun Rod is always 100% accurate, even though some pokes seem to do no stun damage. Another mystery solved! I suppose the only thing left to check is to edit the stun rod's assumed melee accuracy in obdata.dat [040] to something less than 100. Will have to give this a shot sometime. :)

- Zombie

My X-COM Patch Kit For UFO Defense | Emergency XCOM Meeting spoof on YouTube




JellyfishGreen said:

Zombie: Empirical data's your only man, when formulating a research plan.
A soldier's death is never in vain if it makes the formula more plain.
A few dozen make a better case for refining that third decimal place.
They call me Zombie because I don't sleep, as I slowly struggle to climb this heap,
of corpses, data points, and trials, but from the top - I'll see for miles!

#180 MikeTheRed

MikeTheRed

    Sergeant

  • Members
  • PipPipPip
  • 95 posts
  • Location:Atlanta GA USA

Posted 22 September 2006 - 03:51 AM

Makes perfect sense to me... excellent work! (And it must've taken a LOT of time!!)

You could get real devious and edit the soldiers to 255 Melee Accuracy when you change Obdata to something low :D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users