Bug or Possibly Intended

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

User avatar
Baconnaise
Posts: 766
Joined: Sat, 23. Nov 13, 15:50
x4

Bug or Possibly Intended

Post by Baconnaise »

Adding licenses manually via save game file doesn't work. They'll be removed once game loads.

Code: Select all

<license type="ceremonyally" factions="alliance antigone argon hatikvah holyorder ministry paranid scaleplate teladi"/>
<license type="ceremonyfriend" factions="alliance antigone argon hatikvah holyorder ministry paranid scaleplate teladi"/>
<licence type="subgroupfriend" factions="argon hatikvah scaleplate teladi"/>
<license type="station_equip_lxl" factions="antigone argon holyorder ministry paranid teladi"/>
<license type="station_equip_sm" factions="antigone argon holyorder ministry paranid teladi"/>
<license type="station_gen_advanced" factions="antigone argon holyorder ministry paranid teladi"/>
<license type="station_gen_basic" factions="antigone argon holyorder ministry paranid teladi"/>
<license type="station_gen_intermediate" factions="antigone argon holyorder ministry paranid teladi"/>
<licence type="station_illegal" factions="scaleplate hatikvah ministry teladi"/>
<license type="tradesubscription" factions="alliance antigone argon hatikvah holyorder ministry paranid scaleplate teladi"/>
One other thing to note manually adjusting relations and adding licenses doesn't allow purchase of trade subscription from faction representatives. Example below.

Code: Select all

<relation faction="antigone" relation="1"/>
<relation faction="argon" relation="1"/>
<relation faction="civilian" relation="1"/>
<relation faction="criminal" relation="-0.5"/>
<relation faction="hatikvah" relation="1"/>
<relation faction="holyorder" relation="1"/>
<relation faction="khaak" relation="-1"/>
<relation faction="ministry" relation="1"/>
<relation faction="paranid" relation="1"/>
<relation faction="scaleplate" relation="1"/>
<relation faction="teladi" relation="1"/>
<relation faction="xenon" relation="-1"/>
<relation faction="player" relation="1"/>
Player relation is of course with each separate faction as well. This gives you +30 same as Rebirth. Oddly if I recall all of this worked fine in Rebirth. If it's not a bug/issue I assume there are some flags or mission requirements. If that's the case manually adjusting these seems to break those as faction reps do not offer anything besides trade subscriptions (which cannot be purchased) and blueprints.
CBJ
EGOSOFT
EGOSOFT
Posts: 54195
Joined: Tue, 29. Apr 03, 00:56
x4

Re: Bug or Possibly Intended

Post by CBJ »

Hacking savegames already? Goodness me.

Be aware that there are two different licence datasets. One indicates which factions offer which licences, and the other which factions hold which of those licences. You can't add a licence in a savegame if it's not offered by the faction concerned.

With relations, the game enforces mutuality. If you change a relation, be sure to change its counterpart in the other faction.

This really needs to head over to the Scripts and Modding forum!
User avatar
Baconnaise
Posts: 766
Joined: Sat, 23. Nov 13, 15:50
x4

Re: Bug or Possibly Intended

Post by Baconnaise »

Be aware that there are two different licence datasets. One indicates which factions offer which licences, and the other which factions hold which of those licences.
Could you expand upon that? I'm going by the factions.xml in the libraries folder for reference.

FWIW I'm editing what I listed because in the USA it's more popular to spell license (correctly! ;p) rather than licence which is likely the crux of the issue. Might work just fine just waiting for things to load ^^.
CBJ
EGOSOFT
EGOSOFT
Posts: 54195
Joined: Tue, 29. Apr 03, 00:56
x4

Re: Bug or Possibly Intended

Post by CBJ »

Oh. If you change the node name to "license" with an "s" then the game won't even recognise it. That would explain why it was ignoring your changes!
User avatar
Baconnaise
Posts: 766
Joined: Sat, 23. Nov 13, 15:50
x4

Re: Bug or Possibly Intended

Post by Baconnaise »

It works now. Only thing missing are the Hero of Federation or Citizen of blah blah licenses at the moment. I'm either missing something or it requires a mission perhaps. Good for now though. Trade subscriptions were bugging me.

Return to “X4: Foundations - Technical Support”