Help finding sedative

The place to discuss scripting and game modifications for X4: Foundations.

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

Post Reply
Kaio!
Posts: 681
Joined: Tue, 23. Jan 07, 22:26
x4

Help finding sedative

Post by Kaio! » Sun, 23. Oct 22, 17:29

Hello, i can't find sedatives for Buccaner mission, is there a way by cheats or mods to get at least 3 sedatives?
X3 rank: combat = il mio cane combatte meglio, trade = lavavetri
Possedimenti: sono proprietario di tanti debiti mk1 e mk2

--Una volta ero un barbone spaziale... adesso le cose vanno peggio--

Su TC però sono un gallo.

magitsu
Posts: 399
Joined: Wed, 12. Dec 18, 21:59
x4

Re: Help finding sedative

Post by magitsu » Mon, 24. Oct 22, 13:17

If you can't find a Medical Emergency mission which would enable you to steal sedatives by not delivering them to a customer, you can edit a save.

Download Notepad++, then go to Documents\Egosoft\X4\75930553\save, there unzip the last autosave .gz file. Then when you have that several hundred megabyte file, open it in Notepad++ and ctrl+f search for sedative.
Documents\Egosoft\X4\75930553\save

Example location in my save file:
<connection connection="player">
<component class="player" macro="character_player_custom_f_asi_macro" connection="room" name="Mag Torrance" code="IGX-679" owner="player" known="1" read="0" lastcontrolled="[0xfbac4]" id="[0x40c87]">
<movement class="firstperson">
-
<inventory>
-
<ware ware="inv_argnusteak" amount="1"/>
<ware ware="weapon_gen_spacesuit_laser_01_mk1"/>
<ware ware="weapon_gen_spacesuit_repairlaser_01_mk1"/>
<ware ware="inv_sedative" amount="25"/>
<ware ware="inv_spaceflyeggs" amount="5"/>
<ware ware="software_scannerobjectmk3"/>
.
</inventory>

Edit that inv_sedative amount, then save, and zip it again into a .gz (if you can't do it with windows alone, then get 7-Zip)

Post Reply

Return to “X4: Foundations - Scripts and Modding”