Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Disclaimer, I haven't tested them on moving targets, the project is still in it's infancy.
The camera's have a raycast function (that I don't fully understand myself) and you can program them to give the gps coords of a ship it's pointed at. The GPS coords are updated every so often (depends on the range) so you can track a target by following it with a camera.
You can send these coords to a missile or drone with laser antennas (I think there's a way with regular antennas too, not sure). When you assign a programmable block to an antenna, it runs when it recieves a message, with the message as the argument. Use the programmble block to to the message into GPS coordinates, and put these coordinates in your autopilot.
It turned out not to be super complex to code either.
I used this example for the raycasting:
https://forum.keenswh.com/threads/new-camera-raycast-and-sensor-api-update-01-162-dev.7389290/
And this link explains the laser antennas:
https://forum.keenswh.com/threads/programmable-block-inter-grid-communication-guide.7392031/
There's also probably scripts in the workshop made by more competent coders than I.
that was broken a long time ago. Make sure to check both how recently a mod/script has been updated as well as the comments on the mod/script's page to make sure you're not spinning your wheels.
That used a function that is no longer available to players.