Modding the Erlking Unlimited Mod -- Cargo Drones?

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

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

Post Reply
HammerHead91
Posts: 217
Joined: Thu, 8. Apr 04, 21:55
x2

Modding the Erlking Unlimited Mod -- Cargo Drones?

Post by HammerHead91 » Thu, 14. Jul 22, 00:44

Hopeless noob here.

I'm sure many of us are familiar with TheShooter36's fun (if OP) mod, "Erlking Unlimited" (Steam: https://steamcommunity.com/sharedfiles/ ... xt=erlking).

It's a lot of fun, but there's one aspect of the mod which is a bit awkward: the buildable Erlking II ship doesn't have any cargo space. Obviously this is the author's perspective on balance, but I really want cargo!

Adding cargo space can be achieved by amending the file like this:

<connection ref="con_storage_01">
<macro ref="storage_pir_xl_battleship_01_a_macro" connection="ShipConnection" />
</connection>

(Thanks to Rue of Steam for helping out on that one)

But a problem remains. There's no provision for giving the Erlking II cargo drones. I've hunted through the game files as best I'm able, but I can't figure out how to add cargo drones to the craft.

Would anyone be kind enough to give me a steer on this?

Many thanks

DeadAirRT
Posts: 1008
Joined: Fri, 25. Jan 19, 03:26
x4

Re: Modding the Erlking Unlimited Mod -- Cargo Drones?

Post by DeadAirRT » Thu, 14. Jul 22, 03:52

Look in a different ship macro but it's something that defines unit capacity

Code: Select all

<storage missile="35" unit="100"/>

HammerHead91
Posts: 217
Joined: Thu, 8. Apr 04, 21:55
x2

Re: Modding the Erlking Unlimited Mod -- Cargo Drones?

Post by HammerHead91 » Thu, 14. Jul 22, 15:52

DeadAirRT wrote:
Thu, 14. Jul 22, 03:52
Look in a different ship macro but it's something that defines unit capacity

Code: Select all

<storage missile="35" unit="100"/>
Many thanks, DeadAirRT!

The curiosity is this: the mod lets me have repair drones and defense drones, but not cargo drones.

DeadAirRT
Posts: 1008
Joined: Fri, 25. Jan 19, 03:26
x4

Re: Modding the Erlking Unlimited Mod -- Cargo Drones?

Post by DeadAirRT » Thu, 14. Jul 22, 16:31

Certain types of drones require a small dock. I'm not familiar with the ship or mod in particular.

Post Reply

Return to “X4: Foundations - Scripts and Modding”