Custom supply ship not appearing in game, rest of ship style is fine... ???

Title. Currently I have nine other ships in my ship style, and those are working without problem.

This is a XML-append ship style - does the supply ship require some additional entry in another file beyond the norm (blueprint, class, faction ship style, text)?

9,905 views 6 replies
Reply #1 Top

I'll ask another way: Has anyone successfully created a custom supply ship for a XML ship style? Or played a mod that includes one?

I'd like to at least know if it's possible.

Reply #2 Top

Shame that neither resources nor an active modding community are available to answer these kind of basic questions.

I think I've figured this out via trial-and-error:

Custom supply ship blueprints must use the RequiredSpecificComponents tag for SupplyModule.

Using the RequiredComponentType tag for SupplyModule will not work - the blueprint will be accepted by the game but will not appear in the in-game build list.

Further, the RequiredSpecificComponents tag requires the presence of a RequiredComponentType tag in the blueprint or else the game will return an error on startup.

The modules listed in RequiredComponentType and RequiredSpecificComponents seem to be unrelated - the default blueprint for supply ships uses LifeSupport for RequiredComponentType and SupplyModule for RequiredSpecificComponents.

To be honest, the way it works seems rather stupid. But if you create your blueprint using the above guidelines, you'll be able to get your custom supply ship into the game.

Reply #3 Top

Thanks for documenting it, good to know.

Reply #5 Top

This looks like an issue with either not updating GlobalDefs or ComponentClassDefs to the Retribution versions.