Hub plot in mission director

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

Gqqnbig
Posts: 66
Joined: Fri, 12. Jul 13, 14:08

Hub plot in mission director

Post by Gqqnbig »

I assume hub plot is also driven by mission director. So where is the xml file of the hub plot? Is there a way to extract it from somewhere? Has anyone done it?

Another related question, which cue is the hub plot? I want to force the plot to start.
Xenon_Slayer
EGOSOFT
EGOSOFT
Posts: 13129
Joined: Sat, 9. Nov 02, 11:45
x4

Post by Xenon_Slayer »

They're in the director folders for each respective game:

X3TC: director/2.007 HUB Plot.xml
X3AP: addon/director/2.020 Albion Prelude HUB Plot.xml

And the cues with the conditions triggering the plots:
X3TC: L2M007 Create Mahe Ma
X3AP: L2M020
Gqqnbig
Posts: 66
Joined: Fri, 12. Jul 13, 14:08

Post by Gqqnbig »

Oh, no!!! That's why, I don't have these files!!
Xenon_Slayer
EGOSOFT
EGOSOFT
Posts: 13129
Joined: Sat, 9. Nov 02, 11:45
x4

Post by Xenon_Slayer »

Have you unpacked the respective cat/dat files? They'll be in there.

If you want to tinker with the files for whatever reason, I best move this to the scripting and modding forum.

If the issue is that the missions don't seem to be starting when they should, I can help here in tech support.

What game are you playing? TC or AP?

TC requires Boron notoriety rank 8 (which may be 'King's Knight), you're in a Boron sector with a Jumpgate, and the plot ship for Boron Mahi Ma hasn't spawned yet. He'll respawn every now and again.

AP requires Boron notoriety rank 5 (which may be 'Queen's Guard'), the HUB exists in the right sector (as it should), as well as one of the corporation stations in Queens Harbour.
Nanook
Moderator (English)
Moderator (English)
Posts: 28250
Joined: Thu, 15. May 03, 20:57
x4

Post by Nanook »

Since this isn't a tech support issue, it belongs in the scripting and modding forum. Moving ........
Have a great idea for the current or a future game? You can post it in the [L3+] Ideas forum.

X4 is a journey, not a destination. Have fun on your travels.
Gqqnbig
Posts: 66
Joined: Fri, 12. Jul 13, 14:08

Post by Gqqnbig »

I forced L3M02 AP HUB Plot Start, then I received the incoming message.

This cue is

<cue name="L3M02 AP HQ Plot Start" delay="5s">
<condition>
<check_value value="{value@Albion Prelude Plot Ended}" exact="1"/>
</condition>
<cues>
<cue ref="L2M021"/>
</cues>
</cue

which means the condition fails on my game.

I've finished the albion prelude plot. I've got Aamon Prototype.

How do I check the value of {value@Albion Prelude Plot Ended} by scripting? What is the equivalent script command?

I wrote

set global variable: name='Albion Prelude Plot Ended' value=1

but didn't trigger the cue. Did I write it correctly?
User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 25130
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus »

Gqqnbig wrote:What is the equivalent script command?
There is no equivalent MSCI script command. MSCI and the Mission Director are two completely different scripting engines, which are used for different purposes: The Mission Director is mainly used for plot and generic missions, while the main focus of the MSCI are AI commands. While it's not impossible, both engines are also not really designed to communicate with each other.
This cue is

<cue name="L3M02 AP HQ Plot Start" delay="5s">
<condition>
<check_value value="{value@Albion Prelude Plot Ended}" exact="1"/>
</condition>
<cues>
<cue ref="L2M021"/>
</cues>
</cue

which means the condition fails on my game.
Actually, if you started this cue manually and received the plot message, then it means that the condition check succeeded, thus the AP Plot Ended value is set correctly to 1 already. So tinkering with the value itself probably won't have an effect on the plot start.
What I normally suggest, if a plot doesn't seem to start, is going to the first plot interaction point. It's easy enough to miss an incoming message, especially if you're doing something else (like managing your ships). In this case, it would be the Atreus Headquarters. If there's an actor with a blue book symbol, you should be able to start the plot. If that doesn't work and you also don't have any scripts and mods installed, which could interfere with the plot or mess with any relevant plot objects or sectors, I would suggest uploading and providing your savegame. Then someone can have a look.
Last edited by X2-Illuminatus on Sun, 11. Oct 15, 18:23, edited 1 time in total.
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten

Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”