Game Mechanics Quiz 2 - Do you know more?

Started by UpperKEES, December 06, 2010, 03:24:21 AM

Previous topic - Next topic

UpperKEES

#60
My findings:

Answer 3:
The detonation of the mine does max. 4 damage to 48 squares. When the square where the mine was located contained more than 4 ccc of creeper this square is damaged for max. 8 ccc and only 46 other squares get damaged. Either way the initial detonation does max. 4 x 48 = 192 ccc damage.

The 5 mortar shells do 144 damage each (as described here).

This means the total maximum damage for a mine comes to 192 + 5 x 144 = 912 ccc.

Answer 4:
The maximum distance between 2 units (except for relays) is 5.9999999, so anything up to 6. When bridging with 2 weapons and Odin City you can theoretically approach the distance of 24 blocks. However the maximum distance between two collectors is 23.85 blocks (20 by 13 offset), which equals 238 whole pixels. The image below demonstrates this maximum bridge.



Quote from: Kapoios on December 19, 2010, 04:47:52 AM
Quote from: ssddgghh on December 19, 2010, 04:24:12 AM
I just tested it, and my answer works! (Note: High precision needed.)

I think, however, that your post would be a bit better timed if it was around 24 hours later :) (Note that in this quiz everyone gets points for correct answers, so you are giving up your lead posting before the deadline, and maybe also spoil the fun for some.)

Next time indeed better wait with posting 'prove' until after the deadline, so everybody gets a chance to think for themselves.
My CW1 maps: downloads - overview
My CW2 maps: downloads - overview

Kapoios

#61
Quote from: UpperKEES on December 21, 2010, 05:34:17 AM
My findings:
I completely agree with your findings. I'd like to add a few things I've found about mines:

1) Mines decide where they will target their 5 mortar bombs randomly within a square of dimensions 20x20. The mine is located in the lower right "middle" of this square. The bombs cannot fall on top of the mine, so there are 399 possible squares for each of the five mortar bombs. Distribution seems rather uniform to me, although I haven't tested it enough.

2) The central explosion of a mine is the only thing that can inflict damage to creeper while the game is paused (by manually destroying the mine). Of course, you will not see the creeper changing colour or disappearing until the game has been unpaused and possibly several frames later, when the creeper gets redrawn. However, you can see the damage when the game is paused, by hovering your mouse over a square near the mine and looking at the elevation gauge.

3) This point is a bit more subtle. So, first of all, I'll have to revise how the various "bullets" decide the damage they make. So bear with me. Each of them has three constants attached to it: number of squares, depth, radius. For example a blaster "bullet" has 8 squares of depth 1 and radius 8. Once a blaster has chosen the target, it will look around the target in an open disk of radius 8. It will do damage up to 1 to the target, and then will start looking at the squares of the disk in some order (roughly from near to far), until either the disk has been exhausted, or it has found a total of 8 squares with creeper (that also satisfy the requirement that they are of lower or equal elevation to the target). It will do damage up to 1 to them.

Similarly, when a mortar or drone bomb falls, it will do up to 4 damage to the target cell, then start looking at an open disk of radius 8 until it either exhausts the disk or finds 36 or 50 squares respectively and do up to 4 damage to them. That's because the squares, depth, radius values for a mortar and drone bomb are 36, 4, 8 and 50, 4, 8 respectively.

Note that the target square can be targetted twice. The bullet will do damage immediately to the target square, but then relook at it while looking at the (non-punctured) disk of radius 8. This is why a blaster does damage up to 2 to its target cell and mortars and drones up to 8 (and in that case they can only hit up to 7, 35, 49 squares respectively). Technically, it hits the target, then finds that there is still creeper in that cell and rehits it.

The radius thing is demonstrated very nicely in this thread, where "through-the-wall" damage only goes as far as <8 squares, even though the 36 squares of damage of mortar have not been exhausted. Note that this radius has nothing to do with the range of weapons, it's a different thing completely, happening after the target has been chosen.

The special thing about mines is that their central explosion has a radius of 15! Their constants are 48, 4, 15 (squares, depth, radius). That's, of course, only for the central explosion. Their fragments are normal mortar bombs with normal mortar constants. In other words, the central mine explosion can display "through-the-wall" effects way farther, almost double the distance, than what a mortar can do.

Short story if 3) was a bit too long to read: The damage of central explosion of mine can reach any distance less than 15 cells away from the mine, as opposed to blaster, mortar and drone bullets, that can only reach less than 8 cells away from the target.



I have used these three special properties of mine explosion in the second part of my latest puzzle map. Admittedly, a somewhat obscure puzzle, but I've been looking forward to posting my findings here on the quiz, so that I can give hints there! :)

SPIFFEN

QuoteThis means the total maximum damage for a mine comes to 192 + 5 x 144 = 912 ccc.
Should'nt it look like this : 192 + ( 5 x 144 ) = 912 ccc =P ,
or else the = is 29088 ccc =)

And i thought it sendt out 6 Drone shells ,
but even if it had done so ,
i still dont know how much dmg it would give =P

Crap , i was close on the distanse thingy =D
PLZ THINK ABOUT WHAT YOU CALL YOUR TOPIC ! It will make the search work better =)
My maps : http://knucklecracker.com/creeperworld/viewmaps.php?author=SPIFFEN
How to make links

Kapoios

Quote from: SPIFFEN on December 21, 2010, 07:08:55 AM
QuoteThis means the total maximum damage for a mine comes to 192 + 5 x 144 = 912 ccc.
Should'nt it look like this : 192 + ( 5 x 144 ) = 912 ccc =P ,
or else the = is 29088 ccc =)
The usual convention is that multiplication has priority to addition. So those parentheses are unnecessary :)

Fisherck

Quote from: Kapoios on December 21, 2010, 07:46:29 AM
The usual convention is that multiplication has priority to addition. So those parentheses are unnecessary :)
Parenthesis
Exponents
Multiply
Ddivide
Addition
Subtraction

My math teachers have learned me well. ;)

Well, I did not get either right, but I did not get to far away from the correct answers either. But now I am learned in this area too :).
My CW2 Maps
My CW1 Maps
Quote from: Sqaz on August 28, 2011, 02:49:35 PM
The comments are here to comment, dare to use them.

UpperKEES

I have updated the overall rankings.

Unfortunately I haven't had the time yet to come up with two new questions, let alone testing for the answers, so I'll post them next week.
My CW1 maps: downloads - overview
My CW2 maps: downloads - overview