Archive: Bot shooting mechanics
From Gladiabots Wiki
Shooting process
Although the bots have very different shooting behavior, they all share the same shooting process:
- aiming for the time of the aiming duration
- attacking for the time of the attack duration
- shooting one or more rounds each with one or more bullets towards the target
- continue with 1.
Shooting stats
- Assault
- Aiming duration: 1 second
- Attack power: 300 damage per bullet
- Bullet count: 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 count: 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 count: 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 count: 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
Informations about precision
shooting out of range
sniper misses
Attack damage algorithm
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