how to mod more drones and hangar space

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

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

fredddd
Posts: 94
Joined: Wed, 10. Mar 04, 19:40
x3tc

how to mod more drones and hangar space

Post by fredddd »

how to mod more drones and hangar space
Realspace
Posts: 1637
Joined: Wed, 15. Nov 06, 10:21
x4

Re: how to mod more drones and hangar space

Post by Realspace »

Drones are defined as 'units' in each ship's macro and storage is defined in a separate macro called storage_*shipname and is recalled always in the ship's macro at the bottom. You can see them changed in my REM mod or in smaller more readable mods that do only increase storage so easy to see. In the nexus there are a couple.

Edit: you asked hangar no cargo. Hangar is also defined in a separated macro having the _s_ or _m_ in the name like _s_ships_etc. You can simply modify these hangar macros to increase or decrease the nr of ships without changing the single ship's macro
fredddd
Posts: 94
Joined: Wed, 10. Mar 04, 19:40
x3tc

Re: how to mod more drones and hangar space

Post by fredddd »

thanks i hope i can figure it out
Tassekaffe
Posts: 60
Joined: Thu, 10. Feb 22, 19:33
x4

Re: how to mod more drones and hangar space

Post by Tassekaffe »

you´r looking for this part when it comes to drones i guess :

<storage missile="300" unit="1000" /> <!-- DRONES -->

Return to “X4: Foundations - Scripts and Modding”