Detecting spaceflies

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

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

Post Reply
User avatar
moggy2
Posts: 5505
Joined: Wed, 6. Nov 02, 20:31
x3ap

Detecting spaceflies

Post by moggy2 » Fri, 6. Aug 04, 03:04

anyone know how to detect these irritations?

What kind of object are they?

User avatar
InvrSmall
Posts: 717
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by InvrSmall » Fri, 6. Aug 04, 19:13

There is an entry in the T_Ships file for spaceflys if that's any help.

User avatar
moggy2
Posts: 5505
Joined: Wed, 6. Nov 02, 20:31
x3ap

Post by moggy2 » Fri, 6. Aug 04, 21:07

This works.

Use the find flying ware command. Spaceflies are maintype 7 subtype 70.

Code: Select all

$spacefly =  find flying ware: sector=[SECTOR] maintype=7 subtype=70 flags=[Find.Nearest] refobj=[THIS] maxdist=2000 maxnum=1, refpos=null

TycHouse
Posts: 488
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by TycHouse » Fri, 18. Feb 05, 19:39

Been struggling with this for ages now, the above doesn't work unless you ejected the spaceflies in the first place.

Does anyone have a way to make a ship collect his own spaceflies ?

I've tried every combination of find ship and find flying wares etc, i've even tried some clever stuff like shooting at asteroids in the hope of stunning a spacefly, this works and one gets stunned but i can't identify the stunned fly as an object therefore i cannot move to it or collect it !

Anyone have any suggestions ?

TycHouse
AMD FX-8350 Eight-Core 4.0GHz Processor
ASrock Extreme 3 R2.0 Motherboard
8Gb memory
2 x AMD HD7770 Graphics (Crossfire not enabled)
Windows Vista Ultimate 64bit SP2

Fachtna
Posts: 722
Joined: Mon, 2. Feb 04, 23:25
x3

Post by Fachtna » Fri, 18. Feb 05, 20:40

spaceflies are easy, if you are just looking to harvest them yourself.
get a ship with an ion cannon, sit beside an asteroid (i tend to mobile mine all but one to make it easier) and when you see wee golden things zipping past shoot them with ion distruptor.

This will stun them for a few seconds and, if you shoot every second or so, the ion disruptor wil act as a pathfinder to the wee bug.

The also show up on your gravidar when stunned....

if you ever make/find a script to automate the collection. shout loud and hard....

TycHouse
Posts: 488
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by TycHouse » Fri, 18. Feb 05, 20:45

uhmm yea thanks for that :)

Being the scripting forum it was the script technique i was after, i know how to do it myself !

But thanks for your input anyway. As you might guess, i am trying to write a script that will enable the automation of it :D It seems like many other things, the scripting engine is not as good as it first appears, thus yet another 'good' idea will bite the dust !

Thanks anyway tho'
AMD FX-8350 Eight-Core 4.0GHz Processor
ASrock Extreme 3 R2.0 Motherboard
8Gb memory
2 x AMD HD7770 Graphics (Crossfire not enabled)
Windows Vista Ultimate 64bit SP2

Fachtna
Posts: 722
Joined: Mon, 2. Feb 04, 23:25
x3

Post by Fachtna » Fri, 18. Feb 05, 20:47

after i typeed it i though, i'm in the wrong bleeding forum for that kinda reply, but after all the work i put in typing it, i though "**** it" :lol:

TycHouse
Posts: 488
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by TycHouse » Fri, 18. Feb 05, 20:54

lol no probs thanks anyway :D
AMD FX-8350 Eight-Core 4.0GHz Processor
ASrock Extreme 3 R2.0 Motherboard
8Gb memory
2 x AMD HD7770 Graphics (Crossfire not enabled)
Windows Vista Ultimate 64bit SP2

Post Reply

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