[Mod being planned] looking to add a new software item

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

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

Post Reply
docwho83
Posts: 168
Joined: Mon, 15. Jun 09, 23:10
x4

[Mod being planned] looking to add a new software item

Post by docwho83 » Sun, 2. Jan 22, 18:30

I have an Idea that I want to add to all the ships. Maybe a few items really. I as would like to make it so that each ship would have this or a handful of options to make small changes to each ship at the building of it.

My question is this. As I do not want to add a line to each and every ship macro. I see that software is listed there but I do not see like docking computer 1 which i know is list on the build screen. Ideas on where I need to hunt for it. As in both what it adds to the ship and where the line is generated for the ship yards to read them.
My Mods
RepairLasers Player controlled drone Also on steam
[Minefield] fell affliction minefield removed Also on steam
[Buildmodule] add research for buildmodule leak steals

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

Re: [Mod being planned] looking to add a new software item

Post by DeadAirRT » Sun, 2. Jan 22, 19:12

It should be in defaults.xml I believe

docwho83
Posts: 168
Joined: Mon, 15. Jun 09, 23:10
x4

Re: [Mod being planned] looking to add a new software item

Post by docwho83 » Mon, 3. Jan 22, 02:22

Not found it there. I am wanting to do what we ended up doing in XR to give the player ship more armor. But I am not looking at that part yet. I want a item to put on my large crew ships that could be set to make a service crew or marine with a skill of zero every 10 to 15 minutes game time. As basically getting a new adult looking for a better life.

I want to code 3 version.
New person is service crew
New person is Marine
New person is randomly placed between the two groups.

For me I would mainly use this on my large ships. The crew of over 50 since I play with the crew leveling up mod they would become skilled as time goes on. And it would be like the captain is hiring people themselves to fill out the crew space on the the ship.

So I am looking for where each type of software is defined. So I could add my software to it.
And where it is defined so it would show up in the shipyard build screen.

X4 is little more difficult to find items to adjust. XR and X3 was some work but could find it.

Thanks.
My Mods
RepairLasers Player controlled drone Also on steam
[Minefield] fell affliction minefield removed Also on steam
[Buildmodule] add research for buildmodule leak steals

Post Reply

Return to “X4: Foundations - Scripts and Modding”