Difference between revisions of "Archive: Bot shooting mechanics"

From Gladiabots Wiki
Jump to: navigation, search
Line 47: Line 47:
 
== Rough thoughts ==
 
== Rough thoughts ==
  
Informations about precision<br>
+
Is there a different precision value used when shooting from mid of short and mid range<br>
shooting out of range<br>
+
Is there further information neccessary?<br>
shooting from mid of short and mid<br>
+
Diagrams<br>
sniper misses<br>
+
Attack damage algorithm<br>
+
 
https://forum.gladiabots.com/viewtopic.php?f=8&t=17&p=67#p61 <br>
 
https://forum.gladiabots.com/viewtopic.php?f=8&t=17&p=67#p61 <br>
 
https://forum.gladiabots.com/viewtopic.php?f=6&t=225&view=unread#unread <br>
 
https://forum.gladiabots.com/viewtopic.php?f=6&t=225&view=unread#unread <br>
 
https://forum.gladiabots.com/viewtopic.php?f=8&t=545 <br>
 
https://forum.gladiabots.com/viewtopic.php?f=8&t=545 <br>

Revision as of 07:06, 30 August 2017

Shooting process

Although the bot classes have very different shooting behavior, they all share the same shooting process:

  1. aiming for the time of the aiming duration
  2. attacking for the time of the attack duration
    • shooting one or more rounds each with one or more bullets (specified by the bullet configuration) towards the target
    • each bullet will either hit with the attack power or miss completely according to the precision
      • the used precision value is determined at the moment the bullet is fired
        • if the target is within short range, the short range precision is used
        • if the target is between short and mid range, the mid range precision is used
        • if the target is between mid and long range, the long range precision is used
        • if the target is out of range, the bullet will miss
      • for each bullet the precision counter is incremented by the corresponding precision value
        • if the precision counter is greater or equal to 100 the bullet will hit and the precision counter will be decremented by 100
        • otherwise the bullet will miss
  3. continue with 1.


Bot class shooting stats

  • Assault
    • Aiming duration: 1 second
    • Attack power: 300 damage per bullet
    • Bullet configuration: 3x2 (3 rounds each with 2 bullets)
    • Attack duration 0.3 seconds (0.1 seconds per round)
    • Precision: Short range 90%, Mid range: 50%, Long range: 10%
  • Shotgun
    • Aiming duration: 1 second
    • Attack power: 600 damage per bullet
    • Bullet configuration: 1x5 (1 round with 5 bullets)
    • Attack duration 0.1 seconds (0.1 seconds per round)
    • Precision: Short range 75%, Mid range: 25%, Long range: 5%
  • Machine gun
    • Aiming duration: 2.5 seconds
    • Attack power: 250 damage per bullet
    • Bullet configuration: 100x1 (100 rounds with 1 bullet)
    • Attack duration 7.5 seconds (0.075 seconds per round)
    • Precision: Short range 80%, Mid range: 50%, Long range: 10%
  • Sniper
    • Aiming duration: 3 seconds
    • Attack power: 2000 damage per bullet
    • Bullet configuration: 1x1 (1 round with 1 bullet)
    • Attack duration 0.1 seconds (0.1 seconds per round)
    • Precision: Short range 100%, Mid range: 100%, Long range: 100%

Rough thoughts

Is there a different precision value used when shooting from mid of short and mid range
Is there further information neccessary?
Diagrams
https://forum.gladiabots.com/viewtopic.php?f=8&t=17&p=67#p61
https://forum.gladiabots.com/viewtopic.php?f=6&t=225&view=unread#unread
https://forum.gladiabots.com/viewtopic.php?f=8&t=545