[script][23.10.07] Warecollector

The place to discuss scripting and game modifications for X³: Reunion.

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

BEF
Posts: 82
Joined: Thu, 12. Aug 04, 15:57
x2

[script][23.10.07] Warecollector

Post by BEF »

Hello everyone
Do you know how it feels when you`re cleaning out a xenon sector and some stupid little wannabes blow up the stack of gamma PPC just because you can`t collect them during a fight?

if no... try it yourself :P
if yes i might just have the solution you`re lookin for:

a little command that allows your ships of class ts and m6 or bigger to collect flying wares with the transporter from the goners without lowering your shields or a need to slow down your ship.

The command for this can be found in the additional ship commands and requires two inputs:

the first input determines what kind of ware will be collected:
{1} to collect everthing
{2} to collect only weapons, shields and rockets
{3} to collect food and other organic stuff
{4} to collect minerals
{5} to collect everthing else than weapons, shields and rockets

the second input determines if illegal wares, such as space fuel will be collected:
{1} to collect them
{0} to let them stay where they are

in addition this list will be written to your logbook if you enter {1}{x}.

here the downloading link:
http://rapidshare.com/files/83539166/Warecollector.rar

as this is one of my first scripts there are probably some bugs included. feel free to post them here as well as suggestions or wishes.
and as english is not my motherlanguage there are probably some funny mistakes in the texts so just write a pm or a post in here and i will fix them.


Changelog:
[*]version 1.4
initial english release
[*]version 1.1
initial german release

edit: of course i don`t take any responsability for what happens to your safegames or computer. i tested the script and couldn`t find any errors but as no-one is perfect theres no 100% guaranty that there is no bug in it. :P
Last edited by BEF on Sun, 13. Jan 08, 19:54, edited 2 times in total.
Senator Vrax
Posts: 230
Joined: Tue, 18. Sep 07, 06:57
x3tc

Post by Senator Vrax »

It's a nice idea, but it conflicts with the camouflage device script in my game. :cry:
And my UT safety is of more value to me than selective ware collection.
BEF
Posts: 82
Joined: Thu, 12. Aug 04, 15:57
x2

Post by BEF »

well i`m sorry about that but as there where no commands left i had to choose one that was already in use...
User avatar
Whismerhill
Posts: 579
Joined: Wed, 20. Oct 04, 21:16
x3ap

Post by Whismerhill »

nice, I'm going to try this since I'm tired of my ships going round in circles to collect one ware ! (and they get stuck until I get OOS)
User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz »

http://forum.egosoft.com/viewtopic.php?t=170118

is a similiar script that also allows AI ships to use the docking computer.

Maybe you could use the same command slots because (some of) your script features do the exact same thing and it's unlikely someone would use both scripts.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
User avatar
Whismerhill
Posts: 579
Joined: Wed, 20. Oct 04, 21:16
x3ap

Post by Whismerhill »

Gazz wrote:http://forum.egosoft.com/viewtopic.php?t=170118

is a similiar script that also allows AI ships to use the docking computer.

Maybe you could use the same command slots because (some of) your script features do the exact same thing and it's unlikely someone would use both scripts.
as a matter of fact I don't understand deutsch :(
does this script contains any text in game ? and is it safe to use ?
User avatar
Whismerhill
Posts: 579
Joined: Wed, 20. Oct 04, 21:16
x3ap

Post by Whismerhill »

hum I got a problem with this script
not sure what the problem is though...

it seems if I get a ship running it in Thynn's abyss it gets some speed overtune ....
even though there is no ware box with overtunings in range (even with an advanced satellite right beside me)
so I checked out the script, and I can't find the check for being within 5 km distance ...
User avatar
Whismerhill
Posts: 579
Joined: Wed, 20. Oct 04, 21:16
x3ap

Post by Whismerhill »

upon checking further
and from my limited knowledge
I confirm that any person wanting not to cheat in X3 shouldn't use this piece of software because of that:

Code: Select all

$flying.wares.array =  find flying ware: sector=$sector maintype=null subtype=null flags=[Find.Multiple] refobj=null maxdist=null maxnum=2147483647, refpos=null
which means that the script will find ALL wares in the sector the ship is in and will pick up everything at ANY range even if you don't know about it ... :o

also if you're on any quest just don't use it, in case there's something to pick up it could probably mess everything... (although this is just a pure assumption, it really depends on how the quest is coded, but I wouldn't take any chance about it ...)
BEF
Posts: 82
Joined: Thu, 12. Aug 04, 15:57
x2

Post by BEF »

there is a check for the 5 km limit but not within the find flying wares. the script does look for all the wares flying around and then goes through the array and checks if the ware is within 5km and belongs to the specific type of wares you want it to collect

EDIT: no there is no such check -.- i forgot to upload this update into the english version of it, i`m sorry for that and will upload this immediately <-- done
Austinmichael
Posts: 8
Joined: Tue, 28. Sep 04, 06:23
x3

Post by Austinmichael »

This is a great script I dig it! :D
warer
Posts: 5
Joined: Fri, 10. Dec 04, 15:52

Post by warer »

I am having trouble getting this script to work on my cainman SF. It only seems to work on the ship i am in. I can't find it in the list of my caiman.
Vercinger
Posts: 1
Joined: Thu, 24. Feb 11, 16:55

Post by Vercinger »

Is this script still supported? If so, I need some help getting it to work.

I placed the files in the correct folders (I checked to see whether all 4 files are where they are supposed to be, and they are), I can see the script in-game via the script editor, but I can't get the command for it to show up. I bought a TS (Dolphin), equipped it with a Transporter Device and entered it, but the additional commands only showed the ones that came with the Reunion bonus pack. Game: Reunion V2.5

So, am I missing something simple here or what?


Also, assuming I can get it to work, can someone tell me how to remove the ship class restriction? I want to be able to use it in fighters as well.

Return to “X³: Reunion - Scripts and Modding”