Difference between revisions of "Energy Management"
(Creating EnergyManagement) |
J Litewski (talk | contribs) (Started rewriting page (NEEDS TO BE COMPLETED!)) |
||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
− | + | Energy Management is the art of conserving power to improve overall survival. Some of the more common methods are: | |
− | |||
* Fire low power bullets at long distances. | * Fire low power bullets at long distances. | ||
* Never fire bullets with a power higher than the necessary to kill the enemy. | * Never fire bullets with a power higher than the necessary to kill the enemy. | ||
− | * Reduce fire-power (or not fire at all) when the bot energy is low. | + | * Reduce fire-power (or not fire at all) when the bot energy is low. |
+ | |||
+ | ==Explanation== | ||
+ | Energy Management is extremely easy to implement in almost any bot. Nanobots may not want to use Energy Management methods, since they have such strict [[Code_Size]] requirements. | ||
+ | |||
+ | ===Save Energy for Short Distances=== | ||
+ | Saving Energy for Close Range Combat is a smart thing for two reasons: | ||
+ | * Powerful shots take longer to move and | ||
+ | * Higher Hit Average. | ||
+ | |||
+ | ===Reducing Firepower for Killing=== | ||
+ | Reducing Firepower to use just enough energy to kill an opponent would save a vast amount of energy. Instead to firing full power at a robot with an energy reading of 3.0, you could shoot at with 1.0 energy. | ||
+ | |||
+ | The Formula for Energy Used/Damage Inflicted is <code>4*(2*(power-1))</code>, | ||
+ | where ''power'' is a '''double''' greater than 1, and <code>4*(power)</code>, | ||
+ | where ''power'' is a '''double''' less than or equal to 1. So the Minimum Damage you can do is 0.4 ('''4*(0.1)''') and the Maximum Damage you can do is 16.0 ('''4*(2*(3.0-1))'''). | ||
− | == Related == | + | ==Related== |
*[[Selecting Fire Power]] | *[[Selecting Fire Power]] | ||
*[[When To Fire]] | *[[When To Fire]] |
Revision as of 11:28, 20 May 2009
This article is a stub. You can help RoboWiki by expanding it. |
Energy Management is the art of conserving power to improve overall survival. Some of the more common methods are:
- Fire low power bullets at long distances.
- Never fire bullets with a power higher than the necessary to kill the enemy.
- Reduce fire-power (or not fire at all) when the bot energy is low.
Contents
Explanation
Energy Management is extremely easy to implement in almost any bot. Nanobots may not want to use Energy Management methods, since they have such strict Code_Size requirements.
Save Energy for Short Distances
Saving Energy for Close Range Combat is a smart thing for two reasons:
- Powerful shots take longer to move and
- Higher Hit Average.
Reducing Firepower for Killing
Reducing Firepower to use just enough energy to kill an opponent would save a vast amount of energy. Instead to firing full power at a robot with an energy reading of 3.0, you could shoot at with 1.0 energy.
The Formula for Energy Used/Damage Inflicted is 4*(2*(power-1))
,
where power is a double greater than 1, and 4*(power)
,
where power is a double less than or equal to 1. So the Minimum Damage you can do is 0.4 (4*(0.1)) and the Maximum Damage you can do is 16.0 (4*(2*(3.0-1))).