2023-12-27 20:13:39 -08:00
|
|
|
[gun."blaster"]
|
2023-12-28 17:04:41 -08:00
|
|
|
|
2023-12-30 21:05:06 -08:00
|
|
|
space.weapon = 10
|
|
|
|
|
2023-12-28 17:04:41 -08:00
|
|
|
# Average delay between shots
|
|
|
|
rate = 0.2
|
|
|
|
# Random rate variation (+- this in both directions)
|
|
|
|
rate_rng = 0.1
|
|
|
|
|
|
|
|
|
2023-12-30 11:25:51 -08:00
|
|
|
projectile.sprite_texture = "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
|
2024-01-01 15:41:47 -08:00
|
|
|
# Random variation of firing angle.
|
|
|
|
# If this is 0, the projectile always goes straight.
|
|
|
|
# If this is 10, projectiles will form a cone of 10 degrees
|
|
|
|
# ( 5 degrees on each side )
|
|
|
|
projectile.angle_rng = 2
|