Space Engineers

Space Engineers

Not enough ratings
WeaponCoreScript-Template
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
52.145 KB
14 Aug, 2020 @ 11:45am
3 Aug, 2022 @ 5:02am
5 Change Notes ( view )

Subscribe to download
WeaponCoreScript-Template

In 2 collections by Sigmund Froid
WeaponCore Ingame Scripts
13 items
Mods I use for my current builds
19 items
Description
This is a template for Ingame scripts. Other authors may use this as base to learn how to script with WeaponCore's PB API.

What this does
On run this will fire all WeaponCore static launchers on the grid.
What did you expect this is just a template?

I'm sorry that the script didn't work until now, I only used it for the API so I never actually checked if it works

Bugs And Issues?
=======================
Leave a comment below.

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

My Workshop

Support Darkstar (Patreon)[www.patreon.com]

I have a github now:
https://github.com/SilicDev/WeaponCoreScripts
18 Comments
BAKADAKALAKA556 24 Sep, 2023 @ 4:11am 
i'm building an S-300 trailer. is there a script that can get the vertical launchers to fire on a detected target from the AI? no user interaction just grid AI identify the target and launchers sequence fire
Devlah 9 Jun, 2023 @ 8:01am 
So there's this little pet project I am working on, perhaps you could provide some insight?
There's this Modpack "Star Trek Mod Pack 5.1" (https://steamhost.cn/steamcommunity_com/workshop/filedetails/?id=2634862322)
that includes a set of weapons designated as "Fleet Support".
They sort of behave like fixed weapons that spawn in entities when fired. They use Weaponcore for targeting, but will not acquire targets on their own like a turret would, requiring a user to manually designate a target via the UI.
As I'd like to setup these fleet support weapons as automated defense options for a shipyard, I'm trying to figure out a way to designate a target for these automously.
Firing is easy. A long range proximity sensor with the "Shoot on" setting can do that, but designating a target seems to be the challenge. Without a target, they do nothing.
Any help would be greatly appreciated.
Sigmund Froid  [author] 7 Jan, 2023 @ 3:28pm 
@Daniel. For some weapons the Autofire Script in the collection above might work... If it doesn't, I'm currently investigating an issue with that Script regarding homing weapons
Daniel. 7 Jan, 2023 @ 11:37am 
can you make homming missiles autofire on targets without manualy locking on them from the cockpit ?
Rhubarb Bikini 3 Aug, 2022 @ 7:00am 
You can delete our convo if you wish.
Rhubarb Bikini 3 Aug, 2022 @ 6:59am 
Just tested and worked fine. Thank you so much :)
Sigmund Froid  [author] 3 Aug, 2022 @ 5:03am 
Seems like I forgot to implement an API change from earlier. It should work now.
Sigmund Froid  [author] 3 Aug, 2022 @ 4:55am 
Yeah I'll go check if something broke
Rhubarb Bikini 3 Aug, 2022 @ 4:53am 
i had a helm - didnt work. i removed, didnt work, added a"cockpit" still doesnt work
Rhubarb Bikini 3 Aug, 2022 @ 4:52am 
still failed with no cockpits - thanks for your help so far.