Hello,
I've played around a bit with the "custodia heavy fighter" mod, moving parts and so on to see what is possible xml-only. Maybe for a couple of own variants of existing ships. Now I wanted to set the ship race=player and add the ship to the player shipyard, but wasn't able to find an entry for licences owned/buyable by the player. As long as it is argon, you can buy it at the argon warf.
Does anyone knows how to do it correctly?
Greetings daBeschi
Question: how to enable custom ships at player shipyard
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 76
- Joined: Mon, 28. Jan 19, 14:04
-
- Posts: 80
- Joined: Fri, 18. Jan 19, 19:25
Re: Question: how to enable custom ships at player shipyard
I'm just gonna quote my previous response to a very similar question:
There's also a discord with a bunch of the modders (link's floating around this forum). Haven't personally participated in it yet, but probably a good place to ask questions.
Also recommend BrummBear02's tutorial for general ship stuff.Cg089 wrote: ↑Wed, 27. Feb 19, 23:24 I'm pretty sure aftokinito has figured it out to some degree both from trying to get shipyards working before 2.0 came out, and for his unlock of resupplier ships: viewtopic.php?f=181&t=409289. So take a look at his mod and/or shoot him a PM, bet he'd help you out.
There's also a discord with a bunch of the modders (link's floating around this forum). Haven't personally participated in it yet, but probably a good place to ask questions.
-
- Posts: 76
- Joined: Mon, 28. Jan 19, 14:04
Re: Question: how to enable custom ships at player shipyard
Hi,
I worked my way trough the files (game and recommended mods) but couldn't find the answer. It seems there is no way to set in in the "wares" or "macros". So I decided to write a MD-script to add the blueprint to the player.
The "add_blueprints" command works, but not like intended
I was able to buy the blueprint from the argons (others not tested) and build the ship at all warfs. xsd sais "Add blueprints to player's blueprint library" but something went wrong.
Second try was the "unlocks" command, but till now no success
Will check out the discord later.
Greetings daBeschi
Edit: Try and error didn't work. Actually I add the ship variants to the factions who owns the original ships and buy the licence. As long as the new ones were not included into the ai_scripts the ai shouldn't use them (or do they
)
I worked my way trough the files (game and recommended mods) but couldn't find the answer. It seems there is no way to set in in the "wares" or "macros". So I decided to write a MD-script to add the blueprint to the player.
The "add_blueprints" command works, but not like intended

Second try was the "unlocks" command, but till now no success

Will check out the discord later.
Greetings daBeschi
Edit: Try and error didn't work. Actually I add the ship variants to the factions who owns the original ships and buy the licence. As long as the new ones were not included into the ai_scripts the ai shouldn't use them (or do they
