[MOD] AutoLooter (ver0.6 March 14 2015)

The place to discuss scripting and game modifications for X Rebirth.

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

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 11474
Joined: Sun, 15. Feb 04, 21:12
x4

[MOD] AutoLooter (ver0.6 March 14 2015)

Post by euclid » Sat, 27. Dec 14, 16:27

Dowload


AutoLooter v0.6 March 14 2015


What and How
Select Long range scan mode to trigger the autolooter option (custom menu) to beam all crates (inventory items and ammunition only within a certain range) aboard the Skunk. Ammunition (missiles) will be added only if the Skunk has free storage capacity. Onscreen messages provide detailed information.

Installation
As usual extract the folder AutoLooter to your extensions folder.

Cheers Euclid

Changelog
v0.2: Sorry, one old file in the zip. Please download again.
v0.3: inserted a condition to ensure all drops are of inventory type,i.e. can be collected by the Skunk.
v0.4 added info on drops to player logbook 'tips'
v0.5 changed find_object_component to find_object
v0.6 changed object to space, thx YorrickVander for spotting this
Last edited by euclid on Sat, 14. Mar 15, 18:52, edited 5 times in total.
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786

milytar
Posts: 287
Joined: Wed, 25. Feb 09, 20:44
x4

Post by milytar » Sat, 27. Dec 14, 16:33

thanx euclid you are the man,but remember to rest cos now is "holiday season"!
And one day ... one day i will be there ...
And if not... then i will be here ...

Me

User avatar
YorrickVander
Posts: 2672
Joined: Tue, 29. Oct 13, 22:59
x3ap

Post by YorrickVander » Sat, 27. Dec 14, 16:50

Nice :D
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.

Makimera
Posts: 28
Joined: Fri, 1. Jun 12, 19:34

Post by Makimera » Sat, 27. Dec 14, 16:52

awsome, gona try it now :D

Makimera
Posts: 28
Joined: Fri, 1. Jun 12, 19:34

Post by Makimera » Sat, 27. Dec 14, 17:22

hmm, i activate long range scanner but nothing happends.

DorianEU
Posts: 148
Joined: Fri, 28. Mar 14, 18:20

Post by DorianEU » Sat, 27. Dec 14, 17:25

Tractor beam! YES!

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 11474
Joined: Sun, 15. Feb 04, 21:12
x4

Post by euclid » Sat, 27. Dec 14, 18:03

Sorry :cry:

Accidentially copied old file to zip. Please download again.


Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786

w.evans
Posts: 2962
Joined: Tue, 18. Nov 14, 17:23
x4

Post by w.evans » Sat, 27. Dec 14, 20:32

@milytar This is euclid resting!

Thanks, euclid! Downloading now. Oh man, hope my build doesn't blow up.

milytar
Posts: 287
Joined: Wed, 25. Feb 09, 20:44
x4

Post by milytar » Sun, 28. Dec 14, 12:14

I see mr. w.evans

One little thing,not big probleem,easy to avoid it...

when you open LRS and keep it too long(i am in same zone) then its not recognize them.
Workaround:Just close after every collection scanner and open it again if you see another loot
And one day ... one day i will be there ...
And if not... then i will be here ...

Me

User avatar
NZ-Wanderer
Posts: 1496
Joined: Thu, 5. Aug 04, 01:57
x4

Post by NZ-Wanderer » Sun, 28. Dec 14, 22:19

Ooo just what I need :)

With one of my Arawn's killing everything in sight in Maelstrom it will make my collecting task a lot easier.. - Thank you...

PS: Added autolooter to my mod list...

User avatar
YorrickVander
Posts: 2672
Joined: Tue, 29. Oct 13, 22:59
x3ap

Post by YorrickVander » Mon, 29. Dec 14, 17:17

I see a lot of errors sometimes indicating crates can't be collected - I assume these are capital ship containers being caught in the function. Is it possible to filter these out?

Code: Select all

[=ERROR=] Error in MD cue md.EuclidsAutoLooterStart.EuclidALEnd<inst:1aeae>: collect_drop: Evaluated object 'Albion Skunk' can not collect drop 'Ware Container'
* Expression: player.primaryship
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.

LUBEggA
Posts: 54
Joined: Sun, 1. Jan 06, 13:17

Post by LUBEggA » Mon, 29. Dec 14, 18:16

Nice mod, very handy, thanks a loot euclid !
Could you perhaps also add a hotkey ?

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 11474
Joined: Sun, 15. Feb 04, 21:12
x4

Post by euclid » Mon, 29. Dec 14, 18:50

YorrickVander wrote:I see a lot of errors sometimes indicating crates can't be collected - I assume these are capital ship containers being caught in the function. Is it possible to filter these out?

Code: Select all

[=ERROR=] Error in MD cue md.EuclidsAutoLooterStart.EuclidALEnd<inst:1aeae>: collect_drop: Evaluated object 'Albion Skunk' can not collect drop 'Ware Container'
* Expression: player.primaryship
Thanks Yorrick :-) ... almost beat you to it :p :

New version uploaded (see OP for details)


@LUBEggA: Unfortunately handling keys (things like assign_key or event_key_pressed) is one of the two most useful features that are not yet implemented and hence not yet available for scripting. :-(


Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786

User avatar
NZ-Wanderer
Posts: 1496
Joined: Thu, 5. Aug 04, 01:57
x4

Post by NZ-Wanderer » Mon, 29. Dec 14, 21:10

Results using "old" version

Works great, I have my Arawn patrolling one of Maelstroms zones, every now and then I take Skunk over to check up on her, activate your mod and get lots and lots of goodies..
Sure makes easy work instead of having to spend heaps of time trying to locate every single crate..

Just one thought, I notice it doesn't pick up missiles if you already full, any chance they could be automatically destroyed instead of leaving them cluttering up the x universe?

Heads over to download new version.. - Thank you Euclid...

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 11474
Joined: Sun, 15. Feb 04, 21:12
x4

Post by euclid » Tue, 30. Dec 14, 00:16

NZ-Wanderer wrote: .....
Just one thought, I notice it doesn't pick up missiles if you already full, any chance they could be automatically destroyed instead of leaving them cluttering up the x universe?
....
Na, even worse with the latest version, ware containers with non-inventory items are left in space.

Maybe get a freighter every now and then to collect the remaining goodies? Uhh, and go sell your overload of missiles so the AutoLooter can fill you up with new shiny ones :D

Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786

Post Reply

Return to “X Rebirth - Scripts and Modding”