changes to mining definitions in jobs.xml for 7.5

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

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

zakaluka
Posts: 581
Joined: Sat, 16. Nov 13, 19:47
x4

changes to mining definitions in jobs.xml for 7.5

Post by zakaluka »

If you follow reddit you've maybe seen me argue a bit about what the change to miners in 7.5 really means. People make so very authoritative assertions with just an impression from their first 7.5 playthrough. I'd like to know what actually changed in the jobs. Because the common assertion that player mining got nerfed could be true, or it could be an unfounded rumor. I am perhaps guilty of some similar things in the past, so, apologies if so.

I am wondering if anyone has a jobs.xml extract from 7.0 or 7.1 that they'd be willing to help me compare this slice of selected jobs against.... I've included below the 7.5 definitions for all teladi mineral miners in jobs.xml - I'm interested in understanding what changed. I chose teladi because they're the largest faction. (I see that there's a way to get the old cat archives myself from steam, but it looks a bit intimidating to me)

teladi M station miner

Code: Select all

    <!--  Station Miner Jobs, by request only  -->
    <job id="teladi_stationminer_m_solid" name="{20204,5601}">
      <modifiers rebuild="false" commandeerable="true"/>
      <orders>
        <order order="MiningRoutine" default="true">
          <param name="maxbuy" value="5"/>
        </order>
      </orders>
      <basket basket="minerals"/>
      <category faction="teladi" tags="[stationminersolid]" size="ship_m"/>
      <quota galaxy="5" maxgalaxy="30"/>
      <location class="galaxy" macro="xu_ep2_universe_macro" faction="teladi" 
          relation="ally" comparison="ge"/>
      <environment buildatshipyard="true"/>
      <ship>
        <select faction="teladi" tags="[miner, solid]" size="ship_m"/>
        <loadout>
          <level min="0.1" max="0.7"/>
        </loadout>
        <owner exact="teladi" overridenpc="true"/>
      </ship>
    </job>
There is no corresponding job for L or S station miners of solids. The "by request only" comment is interesting - what causes a station to make a request? If I understand deadair's explanation of quotas properly, this should mean that the default number is zero, stations can "request" an assigned miner, and if the number of ships in this job ever gets above 5 the faction will do something to start reducing that number.

modifiers rebuild=false? other mining jobs have rebuild set to true. Maybe they won't rebuild a station miner just because it got blown up.

teladi L free mineral miner

Code: Select all

    <job id="teladi_free_miner_l_mineral" name="{20204,5601}">
    <modifiers rebuild="true" commandeerable="true"/>
    <quota galaxy="12"/>
teladi m free mineral miner

Code: Select all

    <job id="teladi_free_miner_m_mineral" name="{20204,5601}">
    <modifiers rebuild="true" commandeerable="true"/>
    <quota galaxy="8"/>
teladi s free mineral miner

Code: Select all

    <job id="teladi_free_miner_s_mineral" name="{20204,5601}">
    <modifiers rebuild="true" commandeerable="true"/>
    <quota galaxy="7"/>
there are also a few deepspace minerals miners, each has a galaxy quota of 1

Code: Select all

<job id="teladi_free_miner_ml_solid_deepspace_single" name="{20204,5601}" comment="very few">
<job id="teladi_free_miner_ml_solid_deepspace_smallgroup" name="{20204,5601}" comment="very few">
<job id="teladi_free_miner_l_solid_deepspace_largegroup" name="{20204,5601}" comment="very few">
If anyone has the old jobs.xml on hand, and can share it somehow, I could find the changes myself. If not, I'll eventually muddle through the depot downloader process and compare against timelines.
Mysterial
Posts: 661
Joined: Wed, 6. Nov 02, 20:31
x4

Re: changes to mining definitions in jobs.xml for 7.5

Post by Mysterial »

If you are referring to NPC mining stations having a subordinate now, that is not done by jobs but rather via script in trade.station. (Similar to shipyards doing it in build.shiptrader)

Return to “X4: Foundations - Scripts and Modding”