I'm sure that these will have been asked before, but I don't know where to look...
One: Combining "ship/station roles"
I want to add Sothis as a "Market Inquirer station", so to speak.
Spara said:
spara wrote: ↑Mon Jun 07, 2021 10:28 am
Make sure you have
Code: Select all
"sothis station inquirer_station";
in shipdata-overrides.plist in SothisTC.
My problem is that the code in the shipdata-overrides.plist already contains
Code: Select all
roles = "sothis station commodityMarkets_station";
I don't know how to combine the two roles, which I presume I need to do. I tried :
Code: Select all
roles = "sothis station commodityMarkets_station"; roles = "sothis station inquirer_station";
& I also tried:
Code: Select all
roles = "sothis station commodityMarkets_station"; "sothis station inquirer_station";
With either attempt, not only did SothisTC
not register
outside the station itself on any of the Market Inquirer databases, but I lost my New Cargoes abilities at SothisTC as well!
What the dickens am I supposed to do?
______________________________________________________________________________________________________________________________
Two: ... Oh ... and I want another message screen to come up in LongWayRound on arrival at either Usanat or Cetiisqu (
ie, the first system after leaving Soladies with His Nibs invisibly & inaudibly on board)
The current
script.js reads
Code: Select all
this.missionScreenOpportunity = function() {
if (player.ship.dockedStation.isMainStation && galaxyNumber === 0) {
if (!missionVariables.longwayround && system.ID === 3) {
// show mission screen
mission.runScreen(
{
screenID: "longwayround",
title: "Incoming Message",
exitScreen: "GUI_SCREEN_STATUS",
messageKey: "long_way_round_Biarge_briefing"
}
);
missionVariables.longwayround = "STAGE1";
mission.markSystem({system:248, name:this.name});
mission.setInstructionsKey("em1_short_desc1", this.name);
return;
}
if (missionVariables.longwayround === "STAGE1" && system.ID === 248) {
So if I bung in
Code: Select all
if (!missionVariables.longwayround && system.ID === 30) {
// show mission screen
mission.runScreen(
{
screenID: "longwayround",
title: "Incoming Message",
exitScreen: "GUI_SCREEN_STATUS",
messageKey: "long_way_round_Usanat/Cetiisqu_briefing"
}
);
missionVariables.longwayround = "STAGE1.5";
mission.markSystem({system:30, name:this.name});
mission.setInstructionsKey("em1_short_desc4", this.name);
return;
}
if (!missionVariables.longwayround && system.ID === 234) {
// show mission screen
mission.runScreen(
{
screenID: "longwayround",
title: "Incoming Message",
exitScreen: "GUI_SCREEN_STATUS",
messageKey: "long_way_round_Usanat/Cetiisqu_briefing"
}
);
missionVariables.longwayround = "STAGE1.5";
mission.markSystem({system:234, name:this.name});
mission.setInstructionsKey("em1_short_desc4", this.name);
return;
}
I'm quite sure that that should do it.
But: 2 questions...
Two:1: It will look clunky if one flies from Usanat to Cetiisqu or vice-versa, getting the same message twice.
How do I combine the two as one either/or to prevent this?
Two:2: And how do I change it so that the message appears
at launching from Usanat/Cetiisqu station? And on
arriving at the witchpoint beacon in either system?
______________________________________________________________________________________________________________________________
Three: At Soladies there is a console message:
Code: Select all
if (missionVariables.longwayround === "STAGE1" && system.ID === 248) {
// show mission screen
mission.runScreen(
{
screenID: "longwayround",
title: "Incoming Message",
exitScreen: "GUI_SCREEN_STATUS",
messageKey: "long_way_round_Soladies_briefing"
}
);
missionVariables.longwayround = "STAGE2";
player.credits += 500;
player.consoleMessage("You have been awarded 500cr.");
mission.unmarkSystem({system:248, name:this.name});
mission.markSystem({system:233, name:this.name});
mission.setInstructionsKey("em1_short_desc2", this.name);
return;
}
Can I tweak it so that it flashes red? Or grows in size? Or explodes and then reforms? Or does anything more exciting other than just sit there quietly and be ignored? I played LWR twice and never saw it!