Adding new faction licenses

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

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

Hamra
Posts: 4
Joined: Sat, 6. May 23, 17:32
x4

Adding new faction licenses

Post by Hamra »

Anyone familiar with this? It's been a hit and miss and I'm trying to understand why. At first, I added a new license to factions, but it was rejected in the debug log. I later on noticed that in common.xsd, there's an enum called:

<xs:simpleType name="licencelookup">

And I figured, a license type has to match this. So I used one of the names in it, station_race_advanced, which is not actually used anywhere else apart from in this enum. That too got rejected. So I did a test, I changed the license type to station_venture, and it showed up fine along with Police and trade subs.

But I feel maybe I should not do that. Any idea how license types are evaluated?

Return to “X4: Foundations - Scripts and Modding”