Asteroid Info Script

The place to discuss scripting and game modifications for X²: The Threat.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Nessalc
Posts: 9
Joined: Mon, 12. Dec 05, 02:04

Asteroid Info Script

Post by Nessalc »

I'm trying to make a script that would allow one to send a ship (equipped with a mineral scanner) to each asteroid in a system and record its mineral content to your navigation computer. However, I've noted that, unless you're in the ship, it won't record such information! Is there something I'm missing?
User avatar
Chris Gi
Posts: 960
Joined: Wed, 20. Sep 06, 09:57
x3tc

Post by Chris Gi »

I don't know for sure. It seems the mineral scanner only works on the [PLAYERSHIP].

There was a similar script from XaiTec (can't remember the name). This script used a different solution: using the 'find asteroid' instruction in a loop, with the yield value starting at 1. The yield value was increased in every loop, until an asteroid was found. This information was stored on a satellite placed near the asteroid.
--------------------------------

[ external image ]

Return to “X²: The Threat - Scripts and Modding”