Setting repeat_count and deviations will result in multiple shots at once for every projectile with direction target_type
Code: Select all
ammo_type =
{
category = "cannon-shell",
target_type = "direction",
action =
{
type = "direct",
repeat_count = 2,
action_delivery =
{
type = "projectile",
projectile = "heavy-cannon-projectile",
starting_speed = 1,
direction_deviation = 0.2,
range_deviation = 0.1,
max_range = 40,
So doing something like following will still result in one rocket being fired, I would have expected multiple rocket taking different path to their targets.
Code: Select all
ammo_type =
{
category = "rocket",
action =
{
type = "direct",
repeat_count = 4,
action_delivery =
{
type = "projectile",
projectile = "explosive-rocket",
starting_speed = 0.1,
direction_deviation = 0.5,
range_deviation = 0.5,