[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

GT500
Posts: 2
Joined: Tue, 6. Jan 15, 06:33

Post by GT500 » Tue, 6. Jan 15, 15:18

euclid wrote:Hi manpapper & GT500 :-)

@ manpapper: All my mod are on Nexus but you will find mods of my mods on other sites like the Steam Worskshop.

@ GT500: That was the original idea but unfortunately firing the LRS is not covered by any event and hence I cannot use it as a trigger.

Cheers Euclid
Thanks for the Reply,

Ahh that it too bad about having no trigger to work from. May I make an adjusted suggestion with that new information in mind. Can you make a version of you mod that once you enter LRS mode, that it loops on a timer to check automatically every 5-10 seconds (or whatever time makes sense) for any loot near by?

oliverjanda
Posts: 309
Joined: Sun, 14. Feb 10, 17:47
xr

Post by oliverjanda » Fri, 9. Jan 15, 14:15

Thanks for all your great mods!

Would you mind putting your mods in the steam workshop?

What's the distance of the looter? 25km or 50km? (I'd like to make it a bit smaller)

best

w.evans
Posts: 2963
Joined: Tue, 18. Nov 14, 16:23
x4

Post by w.evans » Fri, 9. Jan 15, 14:25

oliverjanda wrote:What's the distance of the looter? 25km or 50km?
I assumed it was zone-wide. Isn't it?

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

Post by euclid » Fri, 9. Jan 15, 16:37

Hi oliverjanda :-)
oliverjanda wrote: ....
Would you mind putting your mods in the steam workshop?
Nope, sorry, all my mod are on Nexus only so there are no conflicts when other players publish their mods of any of my mods.
oliverjanda wrote: What's the distance of the looter? 25km or 50km? (I'd like to make it a bit smaller)
The range is 25km which is the radar range of the skunk. If you like to change that for your personal use then just replace the '25km' here:

Code: Select all

<match_distance object="player.primaryship" max="25km"/>
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

Apscondo
Posts: 55
Joined: Sun, 14. Dec 08, 01:39
x4

Post by Apscondo » Sat, 10. Jan 15, 13:14

bei mir zeigt der zwar an, dass crates da sind, aber der sammelt nie ein, hab genügend freien raum.

oliverjanda
Posts: 309
Joined: Sun, 14. Feb 10, 17:47
xr

Post by oliverjanda » Sat, 10. Jan 15, 13:54

Thx, found and changed the range.

More people would use your mods if they were available on steam. But that's your decision... I'm glad I found your mods.

Would it be possible to introduce a button for looting into the scanner sidebar? To make the looter (or even the autotrader, see YAT) activation more convenient.

Best

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

Post by euclid » Sat, 10. Jan 15, 14:47

Hallo Abscondo :-)

Es werden nur Munitionskisten und Inventarwaren eingesammelt. Wenn Du die Nachricht bekommst, dass Kisten nicht eingesammelt wurden, dann sind es entweder Waren die das Spielerschiff nicht transportieren kann, oder es handlet sich um Munition (Raketen) und Du hast schon zuviele davon.
Bitte ueberpruefe das mal und wenn es nicht daran liegt dan bitte schicke mir Dein gezipptes Savegame per Email.

@ oliverjanda: I am aware that there are some UI hacks out there but I prefer to wait for the developers to release an official tool/script command to include a custom sidebar menu. ;-)

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
YorrickVander
Posts: 2711
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander » Sun, 11. Jan 15, 16:05

Autoloot doesn't seem to collect 'unidentified artifacts', dropped from nividium asteroids in my test case here while hunting eggs.
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.

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

Post by euclid » Sun, 11. Jan 15, 17:46

Thanks Yorrick :-)

Edit:

My initial test was flawed because the drop must come from an asteroid and not from the crate. So I've added a field of nividum asteroids and stated shooting. All drops including the artefacts were collected without problems.

So, in short, I cannot reproduce the problem you have descibed.


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
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 13300
Joined: Sun, 15. Feb 04, 20:12
x4

Post by euclid » Tue, 13. Jan 15, 13:35

New version uploaded - see OP for details.

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

NightlinerSGS
Posts: 116
Joined: Tue, 30. Aug 05, 23:07
x4

Post by NightlinerSGS » Mon, 9. Mar 15, 20:30

It appears the Autolooter has stopped working in 3.50 RC1, I'm not getting the prompt to collect everything anymore after activating the long range scanner.
Edit: It was working fine as of Beta 3 though.

dan92d
Posts: 14
Joined: Tue, 24. Dec 13, 13:28

Post by dan92d » Mon, 9. Mar 15, 20:41

NightlinerSGS wrote:It appears the Autolooter has stopped working in 3.50 RC1, I'm not getting the prompt to collect everything anymore after activating the long range scanner.
Edit: It was working fine as of Beta 3 though.
I confirm, with 3.50 Beta 3 there was no problem, but with 3.50 RC1 it does not work.

NightlinerSGS
Posts: 116
Joined: Tue, 30. Aug 05, 23:07
x4

Post by NightlinerSGS » Mon, 9. Mar 15, 20:48

dan92d wrote:
NightlinerSGS wrote:It appears the Autolooter has stopped working in 3.50 RC1, I'm not getting the prompt to collect everything anymore after activating the long range scanner.
Edit: It was working fine as of Beta 3 though.
I confirm, with 3.50 Beta 3 there was no problem, but with 3.50 RC1 it does not work.
To be more specific: It says "Auto Looter: No crates detected" in the logbook, but there are collectible crates floating right in front of my ship.
Can you confirm this?

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

Post by euclid » Mon, 9. Mar 15, 23:15

Thanks NightlinerSGS & dan92d :-)

It seems the command

Code: Select all

<find_object_component name="$targets" object="player.zone" class="class.drop" multiple="true" >
  <match_distance object="player.primaryship" max="25km"/>
</find_object_component>
is not working anymore. If you substitute that by

Code: Select all

<find_object name="$targets" class="class.drop" multiple="true" space="player.zone">
    <match_distance object="player.primaryship" max="25km"/>
</find_object>
then it works fine. As a workaround for now please just delete "_component" (4 times in EuclidsAutoLooterStart.xml). If this is intended rather than a bug then I'll upload a corrected version.

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

dan92d
Posts: 14
Joined: Tue, 24. Dec 13, 13:28

Post by dan92d » Tue, 10. Mar 15, 00:16

Euclid: Thanks, now it works fine!!

oliverjanda
Posts: 309
Joined: Sun, 14. Feb 10, 17:47
xr

Post by oliverjanda » Tue, 10. Mar 15, 16:04

I read there is some kind of crates magnet in 3.5.
Whats the difference to autolooter?

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

Post by euclid » Tue, 10. Mar 15, 17:06

New version uploaded - see OP for details.

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

Endeavour79
Posts: 287
Joined: Fri, 29. Nov 13, 23:14
x4

Post by Endeavour79 » Tue, 10. Mar 15, 23:17

euclid,

Sorry of these are stupid questions but can you please clarify a few things for me?

1. What kind of Loot is collected? Only dropped stuff from destroyed ships or additional crates, lock boxes, artifacts etc?

2. Does the AutoLooter work when used multiple times? Example I scanned with message nothing found, scanned again but no message anymore. Do I have to exit scan mode every time or does it work with multiple scans after? Update: just tested, I have to leave LRScan mode and restart LRScanner mode to be able to use again.

3. What's the difference to LootMagnet?

4. What are "not collectible" items?

Cheers, End

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

Post by euclid » Wed, 11. Mar 15, 02:42

Hi Endeavour79,

1. Only inventory items and missiles (provided the Skunk has sufficient storage)

2. As your update notes read: you need to enter the long range scan mode to trigger the AutoLooter.

3. Not entirely sure because I'm using the AutoLooter :p Joke aside, it draws all loot near you, think the range is 1 Km, but you need to collect it manually.

4. Any crates that do not contain inventory items or missiles; you will find details in the player logbook.

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
YorrickVander
Posts: 2711
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander » Wed, 11. Mar 15, 04:03

The loot has to be close enough for the elipse to show around it for the magnet to work.
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.

Post Reply

Return to “X Rebirth - Scripts and Modding”