Space Engineers

Space Engineers

Not enough ratings
WeaponCore Autofire Script
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
381.142 KB
14 Nov, 2020 @ 2:28am
12 Mar, 2022 @ 3:25am
7 Change Notes ( view )

Subscribe to download
WeaponCore Autofire Script

In 1 collection by Sigmund Froid
WeaponCore Ingame Scripts
13 items
Description
Requested script. This script will automatically fire all weapons in any group with the name tag [Auto-Fire]. Additionally the script will sequence every weapon in the group. Note: This script is intended for homing weapons like Mexpex Homing Weaponry. Using this with non homing weapons will most likely just result in ammo loss. If you turn the PB on when aiming at an enemy ship and turning them off other wise you'd have a simple weapon sequencer.

Want to learn how to use the WeaponCore PB API?
Check this out: https://steamproxy.net/sharedfiles/filedetails/?id=2178802013

My Workshop

Support Darkstar (Patreon)[www.patreon.com]
73 Comments
BAKADAKALAKA556 3 Jul @ 3:14pm 
is there a way to get auto locking of grids using the script but not firing? almost like a fire control radar
Bodyboarder2528 9 Jun @ 12:01am 
hey is this still compatible with the latest WC as it doesnt seem to fire and might need to change it to a different mode
TangoZulu 29 Nov, 2023 @ 8:03pm 
@BAKADAKALAKA556 Not sure if you have figured it out yet, but I think your issue is not using the open and close brackets []
Example: [Auto-Fire] Homing missiles
Example 2: Homing Missiles [Auto-Fire]
BAKADAKALAKA556 10 Oct, 2023 @ 11:00pm 
i can't seem to get the script to work I created a group called Auto-Fire. is the script broken or am I missing something?
Jackaroo 24 Apr, 2023 @ 9:58am 
69th comment this works so well
Spec-Ops Mexican 7 Mar, 2023 @ 11:59am 
What mods are supported? I seem to have the issue of the ai not targeting anything or firing the missiles
Fury 31 Dec, 2022 @ 9:57am 
If it gives you another data point, I have this script working with the archer series right now. I tweaked the logic to fire when something is targeted rather than just when a target is on the threat list, but other than that it's pretty much untouched. I have noticed some of the homing missiles go through changes, though. I think the archer series gained the ability to dumb-fire when there's no target, for example.
Sigmund Froid  [author] 30 Dec, 2022 @ 5:27am 
I'll have to give it a look, if the group is initialized correctly there shouldn't be a reason why it doesn't work unless WC has made bigger changes to homing missiles that the m-12 isn't using.
Nightraid [Mine] 30 Dec, 2022 @ 2:38am 
Hi, tried this and it works with the m-12 swarmer. My problem is it does not work with other homing missiles like M-2 or the 42/58 archer series. Any idea why is that?
Sigmund Froid  [author] 26 Nov, 2022 @ 4:48am 
Thank you! While I am certainly not the best programmer I had hoped others would be able to make use of it.