it would be awesome to have something to delete unwanted stations with ,
my property list is full of useless stations from build-quests
[Request] Delete Station
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 766
- Joined: Sat, 23. Nov 13, 15:50
Re: [Request] Delete Station
This might not work. A quick and dirty work around would be to edit the save. Look for owner="player" or search for the stations using their macro name if you know it. Change that to another faction and voila. Careful though since in Rebirth you had to edit multiple parts of a station and change their owner to get it working. Tedious if you don't know the macro names. You'll also have to make sure to change ownership of the manager and crew if any etc.
-
- Posts: 1244
- Joined: Fri, 8. Nov 13, 22:35
Re: [Request] Delete Station
I got some time tonight, might aswell write a recycle station mod if it's possible in X4. (Which would be really weird if it wouldn't.)
-
- Posts: 73
- Joined: Wed, 5. Dec 18, 07:04
Re: [Request] Delete Station
Until GUI modding gets fixed by devs, that's probably out, there's a player shipyard mod waiting on the same issue
-
- Posts: 1244
- Joined: Fri, 8. Nov 13, 22:35
Re: [Request] Delete Station
My mod is almost done, just gotta test it... waiting for my station to be build. xDjmattspartacus2 wrote: ↑Sat, 8. Dec 18, 12:26 Until GUI modding gets fixed by devs, that's probably out, there's a player shipyard mod waiting on the same issue
Maybe i should just spawn one.
I get the station destroyed, the player receives half the value as recycling reward back, but ofc it borks the building menu. Gonna have to see how i can avoid that from happening.
-
- Posts: 1244
- Joined: Fri, 8. Nov 13, 22:35
-
- Posts: 344
- Joined: Sat, 17. Sep 05, 11:46
Re: [Request] Delete Station
I did try a little bit on my side to resolve this issue.
I seem to have a solution (save editing). I dont garanty side effect but I didnt see any problem.
to make it easier, remove all modules but a dock (you can teka back the ressources :--D)
Edit the save, find your station (you should give a name peculiar to find it easily). somethink like that:
<component class="station" macro="station_gen_factory_base_01_macro" connection="space" name="A_supprimer" code="EWM-825" owner="player" knownto="player" id="[0x8ffa3c]">
delete all in :
<construction>
<sequence>
<entry id="[0x112a]" index="1" macro="dockarea_arg_m_station_01_lowtech_macro">
...
</entry>
</sequence>
</construction>
delete all in
<connection connection="modules">
<component class="dockarea" macro="dockarea_arg_m_station_01_lowtech_macro" connection="space" construction="[0x112a]" id="[0x1555e]">
...
</component>
</connection>
the load, go to the plot and delete it (the x at the enbd of the line).
verify that all seem ok, in particularity the mission accepted (all or nothing it seem).
I seem to have a solution (save editing). I dont garanty side effect but I didnt see any problem.
to make it easier, remove all modules but a dock (you can teka back the ressources :--D)
Edit the save, find your station (you should give a name peculiar to find it easily). somethink like that:
<component class="station" macro="station_gen_factory_base_01_macro" connection="space" name="A_supprimer" code="EWM-825" owner="player" knownto="player" id="[0x8ffa3c]">
delete all in :
<construction>
<sequence>
<entry id="[0x112a]" index="1" macro="dockarea_arg_m_station_01_lowtech_macro">
...
</entry>
</sequence>
</construction>
delete all in
<connection connection="modules">
<component class="dockarea" macro="dockarea_arg_m_station_01_lowtech_macro" connection="space" construction="[0x112a]" id="[0x1555e]">
...
</component>
</connection>
the load, go to the plot and delete it (the x at the enbd of the line).
verify that all seem ok, in particularity the mission accepted (all or nothing it seem).