Removing a station

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

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

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

Removing a station

Post by oliverjanda » Thu, 4. Jan 18, 23:12

Does anybody know how to remove a station (HV Licensed Distillery)?
I dont care if its a mod or a safegame hack...

User avatar
Marvin Martian
Posts: 3547
Joined: Sun, 8. Apr 12, 09:40
x4

Post by Marvin Martian » Thu, 4. Jan 18, 23:28

removing from savegame will ending that the game will create a new station without control-npcs

you can make a mod with
/maps/xu_ep1_universe/zones.xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<diff>
	<remove sel="//macro[@name='tzoneCluster_C_Sector10_Zone68_macro']/connections/connection[@name='struct_bt_ol_spacefuel_production_macro']" />
</diff>

iforgotmysocks
Posts: 1244
Joined: Fri, 8. Nov 13, 22:35
x4

Post by iforgotmysocks » Fri, 5. Jan 18, 00:51

Ehm, do u want to remove that station entirely from the game so that no new ones can be build or do u just want to get rid of 1 single station in space?

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

Post by oliverjanda » Fri, 5. Jan 18, 09:03

@ iforgotmysocks
This station annoys me because its hostile and my traders get destroyed when boosting past it. Switching the faction of the station might be a solution as well

@Marvin Martian
Thx, I avent modded in a long while though but might give it a try if I have to.

iforgotmysocks
Posts: 1244
Joined: Fri, 8. Nov 13, 22:35
x4

Post by iforgotmysocks » Fri, 5. Jan 18, 11:10

oliverjanda wrote:@ iforgotmysocks
This station annoys me because its hostile and my traders get destroyed when boosting past it. Switching the faction of the station might be a solution as well
Ah okay. Well, heres a little script that i wrote to get rid of my own stations that i didn't want anymore. I commented out the lines that restrict it to playerstations and that pay out money for the station. All u have to do is talk to the manager of whatever station u want to destroy (over comm), and then select "recycle station". Another small file in there allows comm connections to hostiles.

https://mega.nz/#%21BRAnzCpY%21gvOZxL5b ... kLLo008B1Y

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

Post by oliverjanda » Fri, 5. Jan 18, 12:47

@iforgotmysocks
Thats great, thanks!
Will it be permanently gone or will the game spawn a new sation after a while?

JESS 246
Posts: 573
Joined: Mon, 3. Jul 06, 03:24
x3

Post by JESS 246 » Fri, 5. Jan 18, 13:01

Hello oliverjanda

If you like find in workshop and try this mod "Simoom's Lantern - Ultimate Cheat Menu" .

This mod will allow you to clam a station or self destruct it among other things it dose.

iforgotmysocks
Posts: 1244
Joined: Fri, 8. Nov 13, 22:35
x4

Post by iforgotmysocks » Fri, 5. Jan 18, 13:34

oliverjanda wrote:@iforgotmysocks
Thats great, thanks!
Will it be permanently gone or will the game spawn a new sation after a while?
It'll be gone, but if u're using mods like cwir it can happen that they might build a station there again. (But probably not in the exact same spot)

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

Post by oliverjanda » Fri, 5. Jan 18, 14:03

Thanks guys!
i'm sure i can handle the station one way or another now.

Post Reply

Return to “X Rebirth - Scripts and Modding”