Talk:Types/ProjectileTriggerDelivery
Revision as of 16:46, 18 January 2023 by Bilka (talk | contribs) (→range_deviation questions: agreed in confusion, question)
range_deviation questions
After it was discovered range_deviation is *not* in tiles, here is an example of a "fragmentation grenade" action:
{
type = "area",
repeat_count = 1200,
radius = 30,
trigger_from_target = true,
target_entities = false,
action_delivery =
{
type = "projectile",
projectile = "shotgun-pellet",
starting_speed = 1,
starting_speed_deviation = 0.3,
min_range = 50,
max_range = 100,
range_deviation = .5
}
}
In game, the farthest a projectile travels is ~125 from the origin of the capsule (ok, so range_deviation / 2, add 1, * max range). However, for the least distance traveled of the projectiles, I find ~17.5. I do not understand and think the values could use some clarifying from a developer. Honktown (talk) 07:43, 31 October 2022 (UTC)