I have searched in all xml files for the tag price but I couldnt find the prices for ships and modules so far, only for wares.
Does anyone know where they are?
Where can I find the prices for ships and modules?
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 1463
- Joined: Wed, 27. Jun 18, 19:05
-
- Posts: 36
- Joined: Sun, 15. Jan 06, 06:43
Re: Where can I find the prices for ships and modules?
It's included in the libraries/wares.xml file
I highly recommend using a program like Agent Ransack to search through your extracted X4 directory for information like this. Screenshot so you can see how useful it is:

Windows explorer has a slightly less powerful feature built into it, but I've had issues with it failing to detect results in the past. The preview pane that lets you show how items you searched for are used in the file is a pretty nice timesaver too.
Spoiler
Show
<ware id="engine_arg_l_allround_01_mk1" name="{20107,3004}" description="{20107,3002}" group="engines" transport="equipment" volume="1" tags="engine equipment noplayerblueprint">
<price min="321518" average="357242" max="392966" />
<production time="20" amount="1" method="default" name="{20206,101}">
<primary>
<ware ware="antimatterconverters" amount="147" />
<ware ware="energycells" amount="25" />
<ware ware="engineparts" amount="67" />
</primary>
</production>
<component ref="engine_arg_l_allround_01_mk1_macro" amount="1" />
<restriction licence="generaluseequipment" />
<use threshold="0" />
<owner faction="argon" />
</ware>
<price min="321518" average="357242" max="392966" />
<production time="20" amount="1" method="default" name="{20206,101}">
<primary>
<ware ware="antimatterconverters" amount="147" />
<ware ware="energycells" amount="25" />
<ware ware="engineparts" amount="67" />
</primary>
</production>
<component ref="engine_arg_l_allround_01_mk1_macro" amount="1" />
<restriction licence="generaluseequipment" />
<use threshold="0" />
<owner faction="argon" />
</ware>

Windows explorer has a slightly less powerful feature built into it, but I've had issues with it failing to detect results in the past. The preview pane that lets you show how items you searched for are used in the file is a pretty nice timesaver too.
-
- Posts: 549
- Joined: Sat, 31. Mar 07, 23:44
Re: Where can I find the prices for ships and modules?
I've been using grepWin (https://github.com/stefankueng/grepWin), which is open source and also has regex support.Chair5768 wrote: ↑Tue, 4. Dec 18, 19:54 I highly recommend using a program like Agent Ransack to search through your extracted X4 directory for information like this.