Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic unit launcher only launches 1 bot, where throwing can result in multiple #80

Open
Boodals opened this issue Aug 4, 2018 · 1 comment
Assignees

Comments

@Boodals
Copy link

Boodals commented Aug 4, 2018

The automatic unit launcher only ever creates one combat robot, whereas throwing the capsule manually can create multiple. This makes using it much less efficient than manually throwing the capsules.
When thrown, the defender capsule will only create 1 defender robot, but the distractor creates 3, and the destroyer 5.

Seems to be determined by the array size of the following value:
projectilePrototype.action.action_delivery.target_effects[1].offsets
https://github.com/wube/factorio-data/blob/2126b3120855d093913bcddf2c27e6d66b7d7197/base/prototypes/entity/projectiles.lua#L971

Would also be nice if they spawned with the offsets in the value above, at max range, in the direction of the nearest enemy.

Confirmed in version 2.0.7.

@Nexela Nexela self-assigned this Aug 19, 2018
@Nexela
Copy link
Owner

Nexela commented Aug 19, 2018

I can't reproduce this. It does stack them all on one so I will look into spawning on the offsets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants