[request] revealing everything
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 5280
- Joined: Mon, 3. May 10, 14:39
[request] revealing everything
It would really help if someone made a mod, which would automatically discover all zones in the universe, mark every station and place trade agents on all stations, when I create a new savegame. (to speed things up, skip the "recon" part of game)
So, that when I remove the mod afterwards, the agents and discovered locations will stay.
So, that when I remove the mod afterwards, the agents and discovered locations will stay.
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
this should cover it:
note that there is no condition when this should be executed, so it will run immediately. this applies to both Savegames and new games. also it will only be executed once per Save.
Also it will set the Stations to known, but it wont Scan them (i think how this works changed in the last 2 Years)
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<mdscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Reveal" xsi:noNamespaceSchemaLocation="http://utnas/~unitrader/XRebirthxsds/md.xsd">
<cues>
<cue name="Reveal">
<actions>
<find_cluster name="$objects" multiple="true"/>
<do_all exact="$objects.count" counter="$i">
<set_known object="$objects.{$i}" known="true"/>
</do_all>
<find_sector name="$objects" multiple="true"/>
<do_all exact="$objects.count" counter="$i">
<set_known object="$objects.{$i}" known="true"/>
</do_all>
<find_zone name="$objects" multiple="true"/>
<do_all exact="$objects.count" counter="$i">
<set_known object="$objects.{$i}" known="true"/>
</do_all>
<find_station name="$objects" multiple="true" space="player.galaxy"/>
<do_all exact="$objects.count" counter="$i">
<set_known object="$objects.{$i}" known="true"/>
<add_trade_subscription object="$objects.{$i}"/>
</do_all>
</actions>
</cue>
</cues>
</mdscript>
Also it will set the Stations to known, but it wont Scan them (i think how this works changed in the last 2 Years)
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help

-
- Posts: 5280
- Joined: Mon, 3. May 10, 14:39
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
just put it as .xml file into the MD folder of some extension (best create a new one)
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help

-
- Posts: 452
- Joined: Mon, 7. May 07, 05:17
-
- Posts: 5625
- Joined: Sat, 10. Nov 12, 17:55
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
no need to unpack game files, just create a new Folder in Extensions to create a new extension, create an md folder inside there and paste the code above in a new xml file there 
and yep, you can leave out the Trade Agents part (
<add_trade_subscription object="$objects.{$i}"/> )

and yep, you can leave out the Trade Agents part (
<add_trade_subscription object="$objects.{$i}"/> )
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help

-
- Posts: 5625
- Joined: Sat, 10. Nov 12, 17:55
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
well, the script above just sets everything to known, but you still know nothing about it (0% scan status) - its like having a Map of a Region you never have been before 

if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help

-
- Posts: 5280
- Joined: Mon, 3. May 10, 14:39
-
- Posts: 5280
- Joined: Mon, 3. May 10, 14:39
Hello, here I come again
I uploaded this little mod on the workshop, as many suggested to me. And a request appeared from Sindrali, he asks if it's possible to make this little mod add all stations of the universe to the ship computer map (currently it adds all zones and places trade agents everywhere, but stations are not revealed).
Can you guys help again here? I don't have experience with modding, not a slightest bit here.

I uploaded this little mod on the workshop, as many suggested to me. And a request appeared from Sindrali, he asks if it's possible to make this little mod add all stations of the universe to the ship computer map (currently it adds all zones and places trade agents everywhere, but stations are not revealed).
Can you guys help again here? I don't have experience with modding, not a slightest bit here.

-
- Moderator (Script&Mod)
- Posts: 7465
- Joined: Mon, 15. Dec 03, 18:53
People have tried to do this before, but I am not sure if it is possible.Earth Ultimatum IV. wrote:Hello, here I come again![]()
I uploaded this little mod on the workshop, as many suggested to me. And a request appeared from Sindrali, he asks if it's possible to make this little mod add all stations of the universe to the ship computer map (currently it adds all zones and places trade agents everywhere, but stations are not revealed).
Can you guys help again here? I don't have experience with modding, not a slightest bit here.
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
sorry, cannt help you there.. just a hint: i think you need to somehow scan the related Stations to get at least 1% knowledge about them, but didnt need something like this recently so no idea how to exactly achieve that..
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help

-
- Moderator (English)
- Posts: 8074
- Joined: Tue, 30. Mar 04, 12:28
Maybe this old command line tool could offer a clue.
http://forum.egosoft.com/viewtopic.php?t=372336
http://forum.egosoft.com/viewtopic.php?t=372336