My guess is that the timer is never "reset" but reversed something like this: onEnergyLoss?: Timer -= energyLost * C, where C is a constant. Someone who knows more might want to confirm it though. -- Kinsen |
My guess is that the timer is never "reset" but reversed something like this: onEnergyLoss?: Timer -= energyLost * C, where C is a constant. Someone who knows more might want to confirm it though. -- Kinsen After some test runs i have discovered a bit more about the inactivity timer, at the begining of each round a number from 1 to 10 is chosen this is the amount of energy loss that must take place in order for the timer to be reset * wall hits that do damage < 1 do not count to total energyloss needed to reset the time * bullet under power 1 or the damage do not count to total energyloss needed to reset the time * i have not tested ram damage, it could go either way(could not count becuase it causes < 1 damage, could count becuase it gives a ram bonus) I hope this clears some things up, and if you want a to test to see how good you energydrop detection try it out on * Sittingduck - tests your ability to detect inactivity time * Crazy - to test your ability to calculate wall damage * Walls - i dont why but sometimes on a stopNgo bot i made(regular energydrop dectection) seemed to not move for a shot or two give these a shot, doesn't mean your perfect but pretty close - Gorded |