2023-12-27 20:13:39 -08:00
|
|
|
[gun."blaster"]
|
2023-12-28 17:04:41 -08:00
|
|
|
|
|
|
|
# Angle of fire cone
|
|
|
|
# Smaller angle = more accurate
|
|
|
|
spread = 2
|
|
|
|
|
|
|
|
# Average delay between shots
|
|
|
|
rate = 0.2
|
|
|
|
# Random rate variation (+- this in both directions)
|
|
|
|
rate_rng = 0.1
|
|
|
|
|
|
|
|
|
2023-12-27 20:13:39 -08:00
|
|
|
projectile.sprite = "projectile::blaster"
|
2023-12-28 17:04:41 -08:00
|
|
|
# Height of projectile in game units
|
|
|
|
projectile.size = 10
|
|
|
|
projectile.size_rng = 0.0
|
|
|
|
# Speed of projectile, in game units/second
|
2023-12-27 20:13:39 -08:00
|
|
|
projectile.speed = 300
|
2023-12-28 17:04:41 -08:00
|
|
|
projectile.speed_rng = 10.0
|
|
|
|
# Lifetime of projectile, in seconds
|
2023-12-27 20:13:39 -08:00
|
|
|
projectile.lifetime = 2.0
|
2023-12-28 17:04:41 -08:00
|
|
|
projectile.lifetime_rng = 0.2
|
2023-12-29 12:21:56 -08:00
|
|
|
projectile.damage = 10.0
|