[MOD] Mobile Ship Production

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

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

aftokinito
Posts: 229
Joined: Sun, 30. Mar 08, 17:29
x4

[MOD] Mobile Ship Production

Post by aftokinito » Tue, 18. Dec 18, 17:20

Mobile Ship Production

https://cdn.discordapp.com/attachments/ ... _04_PM.png
https://cdn.discordapp.com/attachments/ ... _00_PM.png
https://cdn.discordapp.com/attachments/ ... _32_PM.png
https://puu.sh/Co6Sl/ea15ed8603.png
https://puu.sh/Co6Sv/c30fd24a33.png

Description

Enables the hidden resupplier ships and restores their intended functionality as mobile equipment docks.
Players can now buy or build their own resupplier ships at any Argon, Teladi, Paranid or Player (provided they have the appropriate blueprint) shipyard.
These resupplier ships work as mobile equipment docks and/or wharfs and players can use them to equip their ships or produce new ones as it they were stations, with the benefit of them being fully functional ships.
Vanguard variants of the resupplier ships work as equipment docks (they can modify and repair ships but produce new ones), while Sentinel variants work as fully functional wharfs capable of building new ships.
Please, do note that, for now, players will be required to supply the required building wares to the ship manually, either by trading with resupplier itself or by using M size freighters.

Dependencies: Source:
https://bitbucket.org/aftokinito/x4-mob ... production

Latest version download:
https://bitbucket.org/aftokinito/x4-mob ... uction.zip

Changelog
---v1.00---
  • Initial public release
  • Mod renamed to Mobile Ship Production
Last edited by aftokinito on Fri, 28. Dec 18, 06:42, edited 5 times in total.

User avatar
Mysterius
Posts: 38
Joined: Thu, 4. Jan 07, 16:27
x4

Re: [MOD] LazySoft Ship Tag Fixer

Post by Mysterius » Tue, 18. Dec 18, 19:37

God, the Paranid resupplier is what Paranid military ships should have been instead of big hairdryers.
Congrats for finding this though !

bl3ek
Posts: 184
Joined: Tue, 31. Jul 18, 11:58
x4

Re: [MOD] LazySoft Ship Tag Fixer

Post by bl3ek » Tue, 18. Dec 18, 20:17

Ooooh, I wonder if there are any more hidden away?

I also wonder if these were left out because they bugged or broke something else.

aftokinito
Posts: 229
Joined: Sun, 30. Mar 08, 17:29
x4

Re: [MOD] LazySoft Ship Tag Fixer

Post by aftokinito » Tue, 18. Dec 18, 21:57

bl3ek wrote:
Tue, 18. Dec 18, 20:17
Ooooh, I wonder if there are any more hidden away?

I also wonder if these were left out because they bugged or broke something else.
These are the only hidden ships if you don't count #deca, which doesn't even have a ware.

Requiemfang
Posts: 3197
Joined: Thu, 16. Jul 09, 12:24
x4

Re: [MOD] LazySoft Ship Tag Fixer

Post by Requiemfang » Tue, 18. Dec 18, 22:37

carmaster wrote:
Tue, 18. Dec 18, 21:57
bl3ek wrote:
Tue, 18. Dec 18, 20:17
Ooooh, I wonder if there are any more hidden away?

I also wonder if these were left out because they bugged or broke something else.
These are the only hidden ships if you don't count #deca, which doesn't even have a ware.
Wait... what? #deca is hidden in the game files is it!? maybe devs have plans.

Shadowline
Posts: 4
Joined: Thu, 15. Jan 09, 09:06
x4

Re: [MOD] LazySoft Ship Tag Fixer

Post by Shadowline » Wed, 19. Dec 18, 02:39

I can't help but really like the ship designs for these versus some of the other ships. For example, the argon one looks like it would make a great carrier using the pads for landing and the launch tubes to send a crap ton of fighters out.
The teladi one looks great with that ring on it too.

arknor1981
Posts: 62
Joined: Sun, 17. Nov 13, 00:05

Re: [MOD] LazySoft Ship Tag Fixer

Post by arknor1981 » Wed, 19. Dec 18, 02:45

bl3ek wrote:
Tue, 18. Dec 18, 20:17
Ooooh, I wonder if there are any more hidden away?

I also wonder if these were left out because they bugged or broke something else.
afaik they are supposed to be fleet resupply ships providing missiles etc which is why they arent in the game by default because we don't have that yet.

Sirilius
Posts: 302
Joined: Sat, 27. Dec 03, 00:59
x4

Re: [MOD] LazySoft Ship Tag Fixer

Post by Sirilius » Wed, 19. Dec 18, 10:31

If these worked as intended (restock etc) would that not make carriers pointless?
Image

Azran_Zala
Posts: 69
Joined: Tue, 13. Mar 18, 01:25
x4

Re: [MOD] LazySoft Ship Tag Fixer

Post by Azran_Zala » Wed, 19. Dec 18, 14:27

Sirilius wrote:
Wed, 19. Dec 18, 10:31
If these worked as intended (restock etc) would that not make carriers pointless?
Only as much as having an Elite makes a Discover pointless I reckon.
My question is, and maybe I'm dumb and there is a way to get them into cargo, but how do I restock ships with missles (If these things apparently only carry 40?)

morbideth
Posts: 389
Joined: Sun, 9. Nov 08, 04:07
x3tc

Re: [MOD] LazySoft Ship Tag Fixer

Post by morbideth » Wed, 19. Dec 18, 16:02

Azran_Zala wrote:
Wed, 19. Dec 18, 14:27
Only as much as having an Elite makes a Discover pointless I reckon.
My question is, and maybe I'm dumb and there is a way to get them into cargo, but how do I restock ships with missles (If these things apparently only carry 40?)
The restock command is disabled for player ships.

Code: Select all

<handler name="ResupplyHandler">
        <conditions>
          <!-- param="'resupply'" param2="$urgent?" param3="$debugchance_interrupt" -->
          <event_object_signalled object="this.ship" param="'resupply'"/>
          <!-- TODO: If we decide to provide a way for the player to modify the loadout for player-owned ships, check for that and activate here. Otherwise, this will lead to player-owned ships buying things that the player did not authorize. -->
          <check_value value="not this.assignedcontrolled.isplayerowned"/>
It would require a mod to add it in for players and for the mod to include these ships as a valid restock target.

Alandauron
Posts: 163
Joined: Tue, 21. Mar 17, 18:24
x4

Re: [MOD] LazySoft Ship Tag Fixer

Post by Alandauron » Thu, 20. Dec 18, 02:57

Sirilius wrote:
Wed, 19. Dec 18, 10:31
If these worked as intended (restock etc) would that not make carriers pointless?
If the devs don't have plans for it I'm sure some modder will take it upon themselves to have each one better at a specific role. The Carriers holding more S ships while the Resuppliers having only limited docking for M & S ships, maybe no ship storage, and more cargo space comes to mind immediately. Either way once the resupply is working that will be great.

aftokinito
Posts: 229
Joined: Sun, 30. Mar 08, 17:29
x4

Re: [MOD] LazySoft Ship Tag Fixer

Post by aftokinito » Thu, 20. Dec 18, 19:19

morbideth wrote:
Wed, 19. Dec 18, 16:02
Azran_Zala wrote:
Wed, 19. Dec 18, 14:27
Only as much as having an Elite makes a Discover pointless I reckon.
My question is, and maybe I'm dumb and there is a way to get them into cargo, but how do I restock ships with missles (If these things apparently only carry 40?)
The restock command is disabled for player ships.

Code: Select all

<handler name="ResupplyHandler">
        <conditions>
          <!-- param="'resupply'" param2="$urgent?" param3="$debugchance_interrupt" -->
          <event_object_signalled object="this.ship" param="'resupply'"/>
          <!-- TODO: If we decide to provide a way for the player to modify the loadout for player-owned ships, check for that and activate here. Otherwise, this will lead to player-owned ships buying things that the player did not authorize. -->
          <check_value value="not this.assignedcontrolled.isplayerowned"/>
It would require a mod to add it in for players and for the mod to include these ships as a valid restock target.
I will take a look at that when I'm back (explanation: viewtopic.php?f=181&t=403662&p=4805393#p4805393. The same applies to this one).
Something else I was thinking is giving them equipment dock or wharf capabilities for the time being.


aftokinito
Posts: 229
Joined: Sun, 30. Mar 08, 17:29
x4

Re: [MOD] Mobile Ship Production

Post by aftokinito » Fri, 28. Dec 18, 06:05

---v1.00---
  • Initial public release
  • Mod renamed to Mobile Ship Production

aftokinito
Posts: 229
Joined: Sun, 30. Mar 08, 17:29
x4

Re: [MOD] Mobile Ship Production

Post by aftokinito » Fri, 28. Dec 18, 06:41

I added some documentation to the repository's wiki for developers to have a general idea of how to make their mod ships capable of ship building: https://bitbucket.org/aftokinito/x4-mob ... production

Post Reply

Return to “X4: Foundations - Scripts and Modding”