The internet is a lawless place with knowledge and sarcastic wit the pistols of this wild frontier.
Don't go out without being sufficiently armed.

~Blade

Other places

Ares (Current version: 0.B)

Ares's primary facilities have been moved elsewhere:

  • If you wish to report a bug in Ares, please proceed to its bugtracker.
  • If you'd like to request a feature, register a blueprint.
  • If you have questions or can provide answers regarding Ares's usage, visit the Q&A section.
  • Before you post a new question, you should check the FAQ, though.

Behavior

  • Mind the forum rules.
  • Due to its documentedly horrible quality, we do not offer NPatch support.


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cellspread/Range
Author Message
Private patric20878 Offline
Junior Member
**
Members

Posts: 8
Joined: 23 Nov 2009
Reputation: 0
Post: #1
Cellspread/Range
Just updated ModEnc's cellspread page.

To be brief, I found out that range is calculated exactly to the decimals using the Pythagorean Theorem/Distance Formula. If you want to see if a weapon with a certain range, d, can reach a certain distance, (x, y), away, plug in horizontal and vertical distance into the formula, and see how it compares.
Better update the table and graph. Because it's like completely wrong, the minimum range part.
(This post was last modified: 24.11.2009 14:53:06 by patric20878.)
24.11.2009 14:50:34
Find all posts by this user Quote this message in a reply
Commander-in-Chief Renegade Offline
Lazy Modder
*****
Admins

Posts: 1 906
Joined: 21 Nov 2004
Reputation: 14
Post: #2
RE: Cellspread/Range
For reference, the block added to the page was
patric/ModEnc Wrote:Note that diagonal range, as well as cellspread range is, exactly, to the decimal, calculated using the Pythagorean Theorem/Distance Formula. For example, using (8,6) and (7,7): The distance away in cells for (8,6) is 10, and (7,7) is 9.8995. A weapon with cellspread 9.9 will not reach (8,6), but will reach (7,7). Using this, (1,1) would require approximately a 1.415 cell spread/range. Please update the table and graph. (Patric20878 12:12, 24 November 2009 (UTC))

I have taken it off the page for the moment based on the following reasons:
  1. Simply formal reasons. It would need a complete rewrite anyway, so taking it off while the discussion runs ensures page coherence.
  2. The message is unclear. While the math is certainly interesting, I'm not quite sure what you're trying to express. Ultimately the way I understand what you wrote, you showed that a distance of 9.89 is within the reach of CellSpread=9.9, while 10 isn't. That is sort of expected?
  3. Wrong units. D, after checking the exe, clearly stated that the distance calculation uses leptons; so while your math may not necessarily be wrong, it is using the wrong units for the task, and would at least need re-doing with leptons.
  4. Extremely authoritative tone regarding Pythagoras. This kind of connects to #2. For the first 10 reads, I was convinced you were saying the game itself is using Pythagoras, and that was very dubious without evidence. (Very much not impossible, of course, but should at least be supported by someone who has actually seen the distance calculation code.) Reading it again, I think you're just pointing out how distance is calculated in general, which, of course, is correct, and very thought- and helpful, but only marginally connected to usage of CellSpread in practice.


Having read your post a dozen times or so, I do think you're ultimately just showing mathematically that the graph is wrong. That's alright, and that's certainly correct, given that the graph is for the old assumption of how CellSpread works; I simply didn't get around to updating it yet - I will do that now.

If that's all you were trying to do (point out that the graph is wrong), I hope an updated graph resolves the issue. Mind, though, that such things are best done on the talk page, not in the middle of the article.

Independent from all of this, signing your contributions within article pages should not happen. That's for talk pages, to attribute positions in discussions and other messages.

As said, if that the graph was wrong was all that was the issue, we acknowledge that, it simply hasn't been updated yet (that's the reason why it's in the "traditional view" part of the page).
If you meant something else, please try to explain, because that's all I got out of it. :/

Forum Rules

(01.06.2011 05:43:25)kenosis Wrote:  Oh damn don't be disgraced again!

(25.06.2011 20:42:59)Nighthawk Wrote:  The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
25.11.2009 02:30:50
Visit this user's website Find all posts by this user Quote this message in a reply
Commander-in-Chief DCoder Offline
Not Ares Anymore
*****
Admins

Posts: 1 756
Joined: 22 Nov 2004
Reputation: 18
Post: #3
RE: Cellspread/Range
I went and rewrote the "reality" section based on the EXE, as neither one of you got it completely right... I guess it's my own fault for giving you summaries instead of full details.

25.11.2009 08:08:31
Visit this user's website Find all posts by this user Quote this message in a reply
Commander-in-Chief Renegade Offline
Lazy Modder
*****
Admins

Posts: 1 906
Joined: 21 Nov 2004
Reputation: 14
Post: #4
RE: Cellspread/Range
I added a new diagram and cleared up some of the phrasing.

We'll have to see how the table needs to be fixed.

Forum Rules

(01.06.2011 05:43:25)kenosis Wrote:  Oh damn don't be disgraced again!

(25.06.2011 20:42:59)Nighthawk Wrote:  The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
25.11.2009 23:09:31
Visit this user's website Find all posts by this user Quote this message in a reply
Private patric20878 Offline
Junior Member
**
Members

Posts: 8
Joined: 23 Nov 2009
Reputation: 0
Post: #5
RE: Cellspread/Range
@Renegade:
Eh, dunno. And oh, don't sign, ok.
Is my first time editing a wiki, but yeah, you can write an edited version.

It is calculated with Pythagorean/Distance formula though. I guess Distance formula is more correct, since it isn't about triangles. Doesn't take game code to confirm that, as it is accurate to the hundredth decimal, and I haven't tested it to the thousandth or more. But really, even if it wasn't distance formula, it still has the exact same results. Might as well just say that 2 isn't equal to 1 + 1; it's equal to 4 - 2. Tongue

I was providing an example with the 9.9 thing. The paragraph I wrote was to clarify exactly how distance for range and cellspread is calculated. Though I guess, implicitly, it does imply that the graph is wrong, but that wasn't the point.
25.11.2009 23:18:50
Find all posts by this user Quote this message in a reply
Commander-in-Chief Renegade Offline
Lazy Modder
*****
Admins

Posts: 1 906
Joined: 21 Nov 2004
Reputation: 14
Post: #6
RE: Cellspread/Range
I was not questioning the validity of your results, I was wondering what the point of the formula in the page was Tongue

Forum Rules

(01.06.2011 05:43:25)kenosis Wrote:  Oh damn don't be disgraced again!

(25.06.2011 20:42:59)Nighthawk Wrote:  The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
26.11.2009 00:02:25
Visit this user's website Find all posts by this user Quote this message in a reply
Private patric20878 Offline
Junior Member
**
Members

Posts: 8
Joined: 23 Nov 2009
Reputation: 0
Post: #7
RE: Cellspread/Range
...So people can use it to figure exactly how far a warhead with cellspread d will reach, coordinates of (x,y) distance away from the impact point?
26.11.2009 02:18:27
Find all posts by this user Quote this message in a reply
Commander-in-Chief Renegade Offline
Lazy Modder
*****
Admins

Posts: 1 906
Joined: 21 Nov 2004
Reputation: 14
Post: #8
RE: Cellspread/Range
Well, that is taken care for by the image now.

Forum Rules

(01.06.2011 05:43:25)kenosis Wrote:  Oh damn don't be disgraced again!

(25.06.2011 20:42:59)Nighthawk Wrote:  The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
26.11.2009 03:43:42
Visit this user's website Find all posts by this user Quote this message in a reply
Private patric20878 Offline
Junior Member
**
Members

Posts: 8
Joined: 23 Nov 2009
Reputation: 0
Post: #9
RE: Cellspread/Range
You do realize how hard it is to read that graph, since now it's based on radius? A user will have to look if a circle with a certain radius hits the middle of a cell. Hard to guess. And by the way, the graph is still wrong.

By the way, did some extreme range tests: cellspread 10 and 11.
Reference: I'll use (radius, lateral distance). Radius is 10, or 11. Lateral distance is across horizontally from that radius. Picture it, and you'll get a T shape, the vertical part of the T is radius, the horizontal part of the T is lateral. Onto the below.

Cellspread 10: Same distance formula calculation . Still spreads damage in a perfect circle. It won't damage (10,1), only (10,0), as expected.

Cellspread 11: Interesting. Well, it still only damages (11,0), not (11,1). But it does damage (10,x) weird. For reference, by distance formula, (10,4) should be the max y value that can still meet the distance formula, sqrt(100+16) < (121). Cellspread 11 is buggy as stated in ModEnc though, so. Anyways, I did a test with the grizzly tank, and changed it's [AP] warhead to a cellspread of 11. Only on the up-left and bottom-right, cellspread 11 will damage (10,-3) to (10,3), 7 cells across. But on the up right and bottom left, cellspread 10 will only damage (10,-1) to (10,1). Buggyness.

I really can't tell by the radius circle graph thing, and I'm not sure if the graph already represents what I found. Fix if it isn't. Also, I didn't do lateral tests both left and right for all 4 directions. Might not be symmetrical.

Random Moment From Patric20878 (Post Script*):
Cellspread 11 sucks anyways. 10 is a nice even number. 11 is not a nice even number. Cellspread 11 should GTFO. Then there will be no exceptions to the distance formula calculations.
(26.11.2009 05:50:53)patric20878 Wrote:  You do realize how tedious it is to read that confusing graph, since now it's based on radius? A user will have to look if a circle with a certain radius hits the middle of a cell. Hard to guess. And by the way, the graph is still wrong.

By the way, did some extreme range tests: cellspread 10 and 11.
Reference: I'll use (radius, lateral distance). Radius is 10, or 11. Lateral distance is across horizontally from that radius. Picture it, and you'll get a T shape, the vertical part of the T is radius, the horizontal part of the T is lateral. Onto the below.

Cellspread 10: Same distance formula calculation . Still spreads damage in a perfect circle. It won't damage (10,1), only (10,0), as expected.

Cellspread 11: Interesting. Well, it still only damages (11,0), not (11,1). But it does damage (10,x) weird. For reference, by distance formula, (10,4) should be the max y value that can still meet the distance formula, sqrt(100+16) < (121). Cellspread 11 is buggy as stated in ModEnc though, so. Anyways, I did a test with the grizzly tank, and changed it's [AP] warhead to a cellspread of 11. Only on the up-left and bottom-right, cellspread 11 will damage (10,-3) to (10,3), 7 cells across. But on the up right and bottom left, cellspread 10 will only damage (10,-1) to (10,1). Buggyness.

I really can't tell by the radius circle graph thing, and I'm not sure if the graph already represents what I found. Fix if it isn't. Also, I didn't do lateral tests both left and right for all 4 directions. Might not be symmetrical.

Random Moment From Patric20878 (Post Script*):
Cellspread 11 sucks anyways. 10 is a nice even number. 11 is not a nice even number. Cellspread 11 should GTFO. Then there will be no exceptions to the distance formula calculations.
(This post was last modified: 26.11.2009 05:53:01 by patric20878.)
26.11.2009 05:50:53
Find all posts by this user Quote this message in a reply
Commander-in-Chief Renegade Offline
Lazy Modder
*****
Admins

Posts: 1 906
Joined: 21 Nov 2004
Reputation: 14
Post: #10
RE: Cellspread/Range
"Fix it if it isn't" is cute. One can't even read out of your post what supposedly needs fixing.
  • What is PercentAtMax set to?
  • Where in the target cell did the impact happen?
  • Where in the outer ring cell did you measure if damage happened?
  • How in the outer ring cell did you measure if damage happened?
  • AP has Verses as low as 25% against some targets. Are you sure nothing was damaged where damage should have been? Is it possible the damage was just so minuscule you didn't see it?

And wth is "x" in (10,x)? No warhead should damage anything other than (10,3), (10,2), (10,1), (10,0), (10,-1), (10,-2), (10,-3). Anything else is outside of the lookup table.
Same goes for 11 - only less than half of (11,1), (11,0) and (11,-1) should be damaged anyway - so if you test with an InfantryType in the top-right corner of (11,1), it's no wonder you detect no damage.

Your "reference" of (10,4) being the max that should be reachable by the distance formula also suggests that you still haven't fully grasped how the system works - (10,4) is irrelevant. It doesn't matter if it's the mathematical maximum reachable. It's not on the lookup table. The game doesn't check it.

So, really...if you can provide simple, reproducible test cases which show the game does damage cells not on the graph, or doesn't damage areas it should on the graph, or something similar, I'll be happy to update the graph. But a claim it doesn't damage (11,1), for example, when less than half of that cell is even within radius in the first place, there is no guarantee your shooter hit the center of the cell, no one knows how damage and PercentAtMax are set, or how you actually tested for damage, is nothing I can act on.
As said - if you had an InfantryType standing in the top right corner of that cell, it's perfectly feasible it didn't get damaged, and the graph would still be correct.
So in order to determine whether anything is inaccurate, I really need more, very precise, details, down to at least the approximate area the shooter hit the impact cell in, and the position and type of testing target in the outer ring.


Also, I'm not sure what you're complaining about with the graph in general...the fact that it's a circle running through the middle of cells is exactly what was now unveiled. If that's the way the game works, that's the way the game works. I can't just make the graph inaccurate to make it easier to read? Lift eyebrow

Forum Rules

(01.06.2011 05:43:25)kenosis Wrote:  Oh damn don't be disgraced again!

(25.06.2011 20:42:59)Nighthawk Wrote:  The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
26.11.2009 19:32:49
Visit this user's website Find all posts by this user Quote this message in a reply
Private patric20878 Offline
Junior Member
**
Members

Posts: 8
Joined: 23 Nov 2009
Reputation: 0
Post: #11
RE: Cellspread/Range
Quote:# What is PercentAtMax set to?
# Where in the target cell did the impact happen?
# Where in the outer ring cell did you measure if damage happened?
# How in the outer ring cell did you measure if damage happened?
# AP has Verses as low as 25% against some targets. Are you sure nothing was damaged where damage should have been? Is it possible the damage was just so minuscule you didn't see it?
I told you that I used the AP warhead, only that I changed cellspread to 10/11. What do you think the PercentAtMax default for AP is?
Where? A very large formation of tanks,from radius 9 to 13. And laterally, 7 in both directions. Do the math, I made about 30 tanks to record all damage on each side, and being 4 sides, I spammed about 120 tanks to measure it.

If a tank got damaged, I recorded it as being damaged. Every time after I test, I had them all repaired.

I only recorded damage for the grizzly tank. Everything else was no where near. And you should know that even when a target takes 1 damage, it will still display as not having full health. Of course I know if a target got damaged.

Quote:And wth is "x" in (10,x)? No warhead should damage anything other than (10,3), (10,2), (10,1), (10,0), (10,-1), (10,-2), (10,-3). Anything else is outside of the lookup table.

Read the below.
Quote:Reference: I'll use (radius, lateral distance). Radius is 10, or 11. Lateral distance is across horizontally from that radius. Picture it, and you'll get a T shape, the vertical part of the T is radius, the horizontal part of the T is lateral. Onto the below.

Quote:Your "reference" of (10,4) being the max that should be reachable by the distance formula also suggests that you still haven't fully grasped how the system works - (10,4) is irrelevant. It doesn't matter if it's the mathematical maximum reachable. It's not on the lookup table. The game doesn't check it.

Quote:For reference, by distance formula, (10,4) should be the max y value that can still meet the distance formula, sqrt(100+16) < (121).

Wow, what do you think I said "for reference" then, hmm? Is it not obvious that I referenced it to point out that at cellspread 11, range doesn't follow the distance formula all the time anymore? Can it get much more obvious that it wasn't irrelevant, since right after that, I also said that cellspread 11 is buggy, so it won't follow the formula? Either you paid no attention to what I said, or you seriously have trouble understanding it.

Quote:So, really...if you can provide simple, reproducible test cases which show the game does damage cells not on the graph, or doesn't damage areas it should on the graph, or something similar, I'll be happy to update the graph. But a claim it doesn't damage (11,1), for example, when less than half of that cell is even within radius in the first place, there is no guarantee your shooter hit the center of the cell, no one knows how damage and PercentAtMax are set, or how you actually tested for damage, is nothing I can act on.

Obviously it doesn't damage (11, 1). Because it's not in radius, and neither do the buggy properties extend the range. And you really have no clue eh. So now my shooter isn't guaranteed to hit the center of the cell. What do you think the 105mm weapon is? Inaccurate, with flakscatter, and ballisticscatter set to 50,000 leptons? Again, had you actually read carefully, you'd know exactly the unit I was using: a regular grizzly battle tank. Allied Grizzly Battle Tank, yes, that one that costs 700 credits and is built from a War Factory. And you would know that I did a test with the grizzly tank, not infantry. I know perfectly well that 3 infantry occupy a cell at most, and they don't occupy the center. Really, how much more information do I have to give to qualify this to be a simple reproductible test? It's not that hard. 1) Use an unmodded Grizzly Battle Tank. 2) Change the cellspread of its weapon's warhead, [AP], to 10/11, depending on which range you need to test. 3) Build lots of grizzly tanks, run several trials, record results. 4) Wow, done.

I don't know if I really need to tell you everytime I test, but it is implied that I will run several trials before reaching a conclusion, and I've done years of bug testing to test random weapons in my mod and know the game well enough to not make dumb mistakes like using infantry to test range.

Did I say you need to change up the graph to not fit the game? Maybe if you added a dot or cross or something in the middle of each cell, it would far easier to tell if the range circles hits it?
(This post was last modified: 26.11.2009 23:35:43 by patric20878.)
26.11.2009 23:30:09
Find all posts by this user Quote this message in a reply
Commander-in-Chief Renegade Offline
Lazy Modder
*****
Admins

Posts: 1 906
Joined: 21 Nov 2004
Reputation: 14
Post: #12
RE: Cellspread/Range
ROFL so now it's my fault I'm not guessing your test setup?

The fact that you said you used the Grizzly and changed its warhead neither tells me that you didn't change weapon or projectile, nor does it tell me on what targets you measured the damage.

As for PercentAtMax, given the vast amount of information you didn't tell us, and given that you were testing Damage propagation, it was very possible you set it to PercentAtMax=1.0 and just neglected to tell us. So spare me your "I told you..." tirades. If you posted all test data + media up front, people wouldn't endlessly have to inquire about the exact circumstances of your test.

The fact of the matter is, you would get vastly better results if you set PercentAtMax to 1.0, the damage to 5, the health of the tanks to 10, and ensured all other "weird" factors like crates, bonuses etc. were gone as well. Shoot straight into the middle, see which tanks have half strength and which have full strength, select all, make screenshot. Simple. It's not my fault I assumed you might actually go and simplify your test scenario. So sorry I overestimated you. I'll assume less smart scenarios from now on.

Your explanation of what x is supposed to be actually made it harder to understand for me. I thought you were making weird assumptions about the tenth column of the graph before, but now I don't even know which cells you're talking about anymore. "Across horizontally from that radius"? The radius is all around. The line I drew in the graph is horizontal, and for the large majority of cells in the graph, going horizontally from the edge of the circle would either lead far out of the circle, or deep into it. So the only logical explanation is that you used some sort of tangent to the circle, which makes your instructions all but impossible to follow without active measuring and a ruler.
All of this, of course, could be avoided if you just used the coordinates in the graph, alas, that would be too easy, would it?

To answer your question, no, it's not obvious that you referenced that cell for any purpose. I'm guessing now, from what I said above, that we may be talking about totally different cells, but I still don't know what you're trying to tell us? Should 10,4 be hit? Should it not be hit? Is it hit, but shouldn't be? What is the significance of 10,4? Why is it important enough to be pointed out for reference?
Because your explanation makes no sense at all, on multiple levels: "(10,4) should be the max y value that can still meet the distance formula, sqrt(100+16) < (121)" - for one, (10,4) is a point, not a y value, at least not in that formula. For two, in the distance formula used by the game, cells don't even appear, so cell coordinates are irrelevant. For three, I have no idea what the hell your formula is supposed to be there - a single cell has 256 leptons, so the cutoff value at CS 10 would be 2560, at 11 2816. That is important. Not, what I assume you meant, the square root of 121. Lastly, if you say something is the max y value of a formula, and then provide a formula, it makes sense to provide a formula that actually includes y.

I am guessing, from your fascination with Pythagoras, and after reading it for the fifth time, that that formula is meant to tell us that the result of 10² + 4², that is, "the distance", is supposed to stay below 11² - how the hell you figure that, I don't know.
10² + 4² equals 116, the root is 10.7703296, times 256 is 2757.20438, which is above the cutoff for CellSpread=10, and below the cutoff for CellSpread=11. How the hell 121 factors into that, I still don't know. Maybe it's a weird attempt to calculate the reach of CellSpread in cells, figuring out the furthest cell reachable, after you've been told multiple times that cells don't matter, leptons do. Why exactly you need to do that, when the graph is showing you exactly which cells could potentially be touched by CellSpread, I don't know. I don't even know if that's what you're doing, because whatever you're doing there seems to not make any sense at all.

So would you please enlighten me what exactly you are calculating, which exact cell (10,4) is, and what its significance is? Because as far as I can tell, your math is making no sense at all, and even if it did, it wouldn't tell me why (10,4) is important.

And the irony of telling me that you do know that there can be multiple InfantryTypes in one cell, not centered, and yet, a few lines before, go on some ranty tangent about whether I had illusions about the weapon using scatter is hilarious.
Think long and hard about infantry getting attacked, and maybe you'll know why I considered it a possibility your shot was off-center. Had you provided information about how exactly you conducted your test up front, I wouldn't even have had to ask.

And, in fact, given that you still didn't specify under what conditions your shot impacted the ground, I still can't be sure it was centered on the impact cell.


So, for another round: You have claimed the graph is still wrong. Would you tell us, in simple terms, what exactly is wrong with it, and provide the simplest possible complete explanation of how exactly you determined that, and how to reproduce your results?
If you choose to use math for that, please provide an explanation why you are using the functions you're using, what the individual parameters are, and what the results are telling us, so we'll all be clear about what exactly you're calculating and why.
Same goes for cells - if you reference cells, and your coordinates differ from the ones in the graph, please give a simple, unambiguous explanation of where exactly those cells would be located.

Forum Rules

(01.06.2011 05:43:25)kenosis Wrote:  Oh damn don't be disgraced again!

(25.06.2011 20:42:59)Nighthawk Wrote:  The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
27.11.2009 03:49:04
Visit this user's website Find all posts by this user Quote this message in a reply
Private patric20878 Offline
Junior Member
**
Members

Posts: 8
Joined: 23 Nov 2009
Reputation: 0
Post: #13
RE: Cellspread/Range
I am not going to waste my time arguing about whether I was clear enough or not.

I'll tell you one final time in the below. Whether you understand it or not doesn't concern me, because if you really can't understand such simple things, there is no hope for you, and then, I have lost even more reason to stay here.

Quote:Reference: I'll use (radius, lateral distance). Radius is 10, or 11. Lateral distance is across horizontally from that radius. Picture it, and you'll get a T shape, the vertical part of the T is radius, the horizontal part of the T is lateral. Onto the below.
What does that sound like to you? Obviously it's tangent. You don't need a damn ruler to know if it's tangent or not. You fire in one direction, the direction of the radius, and lateral distance is relative to the direction you fired in.

And yeah, I could use coordinates, though why should I bother posting coordinates when the game obviously is diagonal, not straight up vertical and horizontal? Think already. And if ever took precalculus or calculus, you'd know that the radius way of expressing it (r, x, (direction)) is far easier to understand and is more consistent to express for a game like this than (x, y). (x,y) isn't the only way.

I have said multiple times that the only value I changed for the grizzly tank is the cellspread for AP. You really fail at modding if you just can't connect the dots to know that nothing is changed besides that. And how many times do I have to say that a unit will be displayed as damaged even if it takes the smallest of damage? I don't need to have half the unit's health depleted to know that it's damaged. I'm testing for whether a warhead with a certain cellspread reaches and damages a certain cell. I'm obviously not seeing how much damage it does.

On the 11^2 thing:
-_-
11^2 is the maximum range^2 value there should be, according to the formula. All other combos of horizontal and vertical distances away should be less than that value. And it is. The max distance a CS 11 will reach is (11,0), and the max it should reach with CS 10 is (10,-4)/(10,4). And it is also.

Scatter:
Wow, need I tell you again that I only used the tank in the test? And given the fact that the only value was changed was the cellspread, its weapon did not scatter? What's wrong with the process of elimination part of your thought?

And I don't understand why you keep on going back to leptons. A cell is 256 leptons wide and long. Why can't you just substitute "cell" for "256 leptons" and get on with it? Wow, it's like you're trying to get me to use meters instead of miles.

And using your coordinates, which isn't diagonal at all like the game is:
Wrong: As far as I understand from that graph right now, CS 11 only goes to 11,0. Why is (11,3) to (11,3) colored when the line only goes to the center of 11,0?

Process: Baby step explanation: Grizzly tanks, completely unmodded, besides changing cellspread to 10 and 11. Used grizzly tanks to see if cannons damaged them. A grizzly tank fires on 0,0. There is are tanks from (9, -7) to (13, 7), a large rectangular formation of tanks. There are also tanks on the other 3 directions as well, ie: -9 - -13, etc.

If they lost health, they got damaged. If they didn't lose health, they didn't get damaged and the CS didn't reach it.

CS 10: All normal. 10,0 got damaged. 10, x, where x doesn't = 0, didn't get damaged. -9 to 9, 4 got damaged. All consistent with distance formula.

CS 11: 11, 0: damaged. 11, x, where x isn't 0, didn't get damaged. The up left side and bottom right side in game in relative to 0,0, not consistent with distance formula: CS 11 damaged 10, -3 to 10, 3. (If it were consistent, it would damage up to 10,-4 and 10, 4, integer only,as 100 + 16 is still less than 11^2 = 121.) Up right side and bottom left side only damaged 10, -1 to 10,1. Reverts back to normal for radius <= 9.
(This post was last modified: 27.11.2009 16:31:22 by patric20878.)
27.11.2009 16:24:55
Find all posts by this user Quote this message in a reply
Commander-in-Chief DCoder Offline
Not Ares Anymore
*****
Admins

Posts: 1 756
Joined: 22 Nov 2004
Reputation: 18
Post: #14
RE: Cellspread/Range
Quote:Whether you understand it or not doesn't concern me, because if you really can't understand such simple things, there is no hope for you, and then, I have lost even more reason to stay here.
K, thx, bye then.

27.11.2009 20:06:13
Visit this user's website Find all posts by this user Quote this message in a reply
Commander-in-Chief Renegade Offline
Lazy Modder
*****
Admins

Posts: 1 906
Joined: 21 Nov 2004
Reputation: 14
Post: #15
RE: Cellspread/Range
God man, it's a miracle you even manage to open the INIs.
Once again, in list format, since I doubt it'll go through your skull anyway:
  • "Think already" yourself. A grid is a grid. Telling us where on a grid something happened after it happened on the same grid, only rotated, really isn't all that hard. It's not my fault you chose to complicate things by giving the impression you had invented an all new addressing system.
  • "Only" only came into play in your follow-up post, after I had asked.
  • For the xth time, your formula is worthless. All it tells you is that the furthest cell potentially damaged by a CS 11 warhead will be...11 cells away. Wow! Surprising! I really needed math for that. Do you want to know a secret? The furthest cell away damaged by a CS 9 warhead will be....9 cells away! Oops Who would have thought?! Of course, that is utterly irrelevant, since the additional range damaged by a CS 11 warhead, compared to a CS 10, are leptons 2560-2816 from the point of impact, not "another ring of cells". Given that the outer-most cell (or 11², as you love to call it), is only half-covered in damage by default, as soon as the impact is on the outer edge of the impact cell, the 11th cell will be fully covered on one side, and virtually not covered at all on the other side.
    Having said all that, I still don't see what your obsession with (10,4) is. Let's assume we use the inaccurate, game-irrelevant cell-counting system you use.
    (11,0) is the maximum distance a CS 11 warhead can reach.
    Wouldn't that make (10,0) the maximum distance a CS 10 warhead can reach? Why is it (10,4)?
    It's a circle. The maximum distance of damage is the same on all sides of the point of impact, regardless of the cells - CS*256 leptons.
    I don't know if you're simply disregarding how both circles and the game work, or if you simply don't grasp how the game works, but the maximum distance of damage for each CellSpread is the same in all directions for a given CellSpread, irrelevant of the cell grid underlying it.
    Add to all that that, again, if I go 10 into a given direction, and then 4 up and down from there, the fucking cell is not among those even checked by the game, and I have to ask again - why is (10,4) special? What makes it reference-worthy?    
  • FFS, forget scatter - you were the one who brought scatter up, not me. And blaming me for your complete and utter failure to just say "I used force-fire on an empty cell", "I fired on a building" or "I fired on yet another grizzly tank" is more than ridiculous. It's not my fault you seem to be psychologically inhibited to just give a clear, concise answer, instead repeating the same things over and over again, which weren't clear enough the first time around. Even after yet another round of you repeating your "I only used grizzly, I only used grizzly, are you too dumb to get that?" mantra, I still don't know whether that means you fired upon a grizzly, or you fired on nothing.
    So spare me your questioning of my intelligence, and just give a real answer, rather than repeating the same ambiguous bullshit again and again, pretending it's the clearest answer since the birth of the universe, when it really leaves at least two different possibilities open.
  • I keep going back leptons because cells are irrelevant. The CellSpread range border doesn't give a shit for cells, and a ring of cells does not accurately describe the circular border CellSpread has. Add to that that there are 256 potential border-positions inside a given cell, and no, it's not the same.
  • Your next point betrays just how little you actually understand the system. (Which, of course, after reading all the ignorant, narrow-minded bullshit above, doesn't surprise me.) (11,3) and (11,-3) are colored because a) they are part of the game's CellSpread lookup table, and b) a fraction of them is actually reachable by CS 11. That's what I keep telling you post after post - your formula is bullshit, and cells are irrelevant. Leptons and circles rule, and leptons and circles govern that (11,3) is just barely reachable.
  • Baby step explanation is still missing information about the target cell, though I assume from your previous notorically ambiguous explanations that it was empty.
  • As for your conclusions, let me tell you this as loud and clear as possible:
    YOUR DISTANCE FORMULA IS IRRELEVANT
    As I have pointed out countless times before, (10,4) is not on the game's CellSpread lookup table. The fact that it isn't damaged is not new or unexpected, that is exactly what the graph shows, and has been known since April 2008.

    And if you just opened your goddamn eyes and actually read what I wrote, you would have realized that several posts ago.

So if your only complaint keeps being that the game behaves exactly as the graph predicts it would, I guess we're done here.

Forum Rules

(01.06.2011 05:43:25)kenosis Wrote:  Oh damn don't be disgraced again!

(25.06.2011 20:42:59)Nighthawk Wrote:  The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
27.11.2009 21:15:46
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)