Search found 3 matches
- Mon Dec 06, 2021 10:52 pm
- Forum: Modding help
- Topic: [mod-making] Target marker for turrets
- Replies: 3
- Views: 923
Re: [mod-making] Target marker for turrets
I moved now to a solution using script-triggers. I also changed to projectile to a beam, since create_entity with a projectile was not able to target a position (only entities with health are possible). Here is the final code if someone is interested: data.lua local tower = { type = "turret&quo...
- Sun Dec 05, 2021 7:41 pm
- Forum: Modding help
- Topic: [mod-making] Target marker for turrets
- Replies: 3
- Views: 923
Re: [mod-making] Target marker for turrets
Hi Klonan, thank you for your answer! I played around with the attack parameters and actions and managed to get half-way there: Currently (see 1) I am able to spawn a target indicator at the predicted target position. The predicted target position is computed the usual way - taking in account the pr...
- Sat Dec 04, 2021 10:22 am
- Forum: Modding help
- Topic: [mod-making] Target marker for turrets
- Replies: 3
- Views: 923
[mod-making] Target marker for turrets
Hey, I'm trying to write a mod and want to create a turret that has an indicator for where it's going to shoot, see the sketch below. Is something like this possible with factorio modding? If I can not do it with the attack_parameters , maybe I can create the target marker entity it during on_tick (...