Removing the Xenon Invasion script

The place to discuss scripting and game modifications for X²: The Threat.

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

NavaCorp
Posts: 2253
Joined: Tue, 16. Nov 04, 12:08
x3tc

Removing the Xenon Invasion script

Post by NavaCorp »

Hi, could someone tell me how to remove the the Xenon Invasions from X2?

I'd like to know what files make this script and if it is possible to remove them whitout affecting the other scripts of this game.

Regards :)
Xenon_Slayer
EGOSOFT
EGOSOFT
Posts: 13126
Joined: Sat, 9. Nov 02, 11:45
x4

Post by Xenon_Slayer »

I don't think they are controlled via script. If you mean the Xenon Invasion mission, it's all hardcoded. Do the Xenon ships even spawn if you don't accept the mission? I don't know as I never managed to find one of those missions (ironic I know).

There are other hardcoded things which cause the Xenon to fly from one sector to another. I think some of these 'urges' are hardcoded too.
Come watch me on Twitch where I occasionally play several of the X games
NavaCorp
Posts: 2253
Joined: Tue, 16. Nov 04, 12:08
x3tc

Post by NavaCorp »

Xenon_Slayer wrote:I don't think they are controlled via script. If you mean the Xenon Invasion mission, it's all hardcoded. Do the Xenon ships even spawn if you don't accept the mission? I don't know as I never managed to find one of those missions (ironic I know).

There are other hardcoded things which cause the Xenon to fly from one sector to another. I think some of these 'urges' are hardcoded too.
I suspected that they were hard-coded since there aren't player made scripts to fix it in the forum. However I tried to see if there was some hope.

PLAN A: What happens if I mod the game and the only sectors bordering xenon sectors are pirate sectors or goner sectors? Should the XI mission appear in the stations BBS? :?

PLAN B: How many jumps away from the xenon sectors must be a station TO NOT broadcast a XI mission in its BBS? If the stations must be inside a certain number of jumps from the xenon sectors to show them, then I could empty the sectors around the xenon territory and make the XI to not appear in my game. :?
SuicidePilot
Posts: 46
Joined: Sat, 22. May 10, 01:53

Post by SuicidePilot »

NavaCorp wrote:PLAN B: How many jumps away from the xenon sectors must be a station TO NOT broadcast a XI mission in its BBS? If the stations must be inside a certain number of jumps from the xenon sectors to show them, then I could empty the sectors around the xenon territory and make the XI to not appear in my game. :?

Note: Invasion are pretty rare ive only had 1 in the past year or so. But anyway.....if your WITHIN 4 jumps of a Xenon sector ( and your blessed with the mission) the game will put it on the BBS of the stations in and near the "target" sector of the invasion.... Good luck...youll need it when the caps show up
User avatar
Chris Gi
Posts: 960
Joined: Wed, 20. Sep 06, 09:57
x3tc

Post by Chris Gi »

As far as I know, these mission are completely independent of nearby Xenon sectors.

There may be another, quite unexpected solution:
these mission only occur for certain sectors (Scale Plate Green, Black Hole Sun, Thyn's Abyss, Menelaus' Paradise, Getsu Fune, and Eighteen Billion). Setting the owner of these sectors to "Unknown" or "Pirates" should eliminate the appearance of XI missions.
--------------------------------

[ external image ]
NavaCorp
Posts: 2253
Joined: Tue, 16. Nov 04, 12:08
x3tc

Post by NavaCorp »

SuicidePilot wrote: Note: Invasion are pretty rare ive only had 1 in the past year or so. But anyway.....if your WITHIN 4 jumps of a Xenon sector ( and your blessed with the mission) the game will put it on the BBS of the stations in and near the "target" sector of the invasion.... Good luck...youll need it when the caps show up
So if I empty the sectors around the xenons' sectors within 4 jumps (three sectors), then I should stop the XI missions from appearing anywhere in the universe.
Chris Gi wrote:As far as I know, these mission are completely independent of nearby Xenon sectors.
In this case my plan B would go in the dustbin.
There may be another, quite unexpected solution:
these mission only occur for certain sectors (Scale Plate Green, Black Hole Sun, Thyn's Abyss, Menelaus' Paradise, Getsu Fune, and Eighteen Billion). Setting the owner of these sectors to "Unknown" or "Pirates" should eliminate the appearance of XI missions.
You've given me the inspiration for a better idea! I could set the xenon sectors as race=unknown and then open the Doubleshadow's text editor and change the "unknown" label for ownership to "xenon".
This should effectively shut down the XI missions! :D

A question: if the race of the xenon sectors becomes "unknown", will the xenon shipyard still replace the xenon ships destroyed in the former xenon sectors? :?
SuicidePilot
Posts: 46
Joined: Sat, 22. May 10, 01:53

Post by SuicidePilot »

NavaCorp wrote:A question: if the race of the xenon sectors becomes "unknown", will the xenon shipyard still replace the xenon ships destroyed in the former xenon sectors? :?
I dont think they will....i changed a xenon sector ownership to myself and they didnt respawn...although a few jumped in from a different sector
NavaCorp
Posts: 2253
Joined: Tue, 16. Nov 04, 12:08
x3tc

Post by NavaCorp »

SuicidePilot wrote: I dont think they will....i changed a xenon sector ownership to myself and they didnt respawn...although a few jumped in from a different sector
What sector it was?
SuicidePilot
Posts: 46
Joined: Sat, 22. May 10, 01:53

Post by SuicidePilot »

X472 <---- my most hated xenon sector....they interupt my Drug biz lol
NavaCorp
Posts: 2253
Joined: Tue, 16. Nov 04, 12:08
x3tc

Post by NavaCorp »

The 472 is the sector with the xenon shipyard: if you destroyed it and then changed the sector ownership to "player", then it is possible that you halted the respawn of the shipyard.
It would be interesting to know what happens if one of the other sectors is given to the player, if the replacement ships are still sent from the shipyard in X472. It would also be interesting to know what happens if the sector race of the xenon sectors is changed to unknown.
NavaCorp
Posts: 2253
Joined: Tue, 16. Nov 04, 12:08
x3tc

Post by NavaCorp »

Do MI appear in pirate bases?
User avatar
Chris Gi
Posts: 960
Joined: Wed, 20. Sep 06, 09:57
x3tc

Post by Chris Gi »

It depends. The XI is only offered in stations of the same race as one of the sectors I mentioned. If you change the ownership of one of these sectors to Pirates, the BBS message will appear in Pirate stations.
--------------------------------

[ external image ]
jlehtone
Posts: 22554
Joined: Sat, 23. Apr 05, 21:42
x4

Post by jlehtone »

Then think about the Getsu Fune. I doubt it has an array of owner races.

For comparison: in the X3R version a Pirate Base in Teladi sector does show the message for XI that will be in Teladi sector.

So perhaps the condition is "in stations, where race of sector == race of target sector"?
NavaCorp
Posts: 2253
Joined: Tue, 16. Nov 04, 12:08
x3tc

Post by NavaCorp »

Chris Gi wrote:It depends. The XI is only offered in stations of the same race as one of the sectors I mentioned. If you change the ownership of one of these sectors to Pirates, the BBS message will appear in Pirate stations.
This means that if If I empty four sectors around the xenon sectors and the pirates build a base there, then the XI will not be offered in that base. Good.

Thanks. :)
Last edited by NavaCorp on Sun, 20. Jun 10, 15:00, edited 1 time in total.
NavaCorp
Posts: 2253
Joined: Tue, 16. Nov 04, 12:08
x3tc

Post by NavaCorp »

jlehtone wrote:Then think about the Getsu Fune. I doubt it has an array of owner races.

For comparison: in the X3R version a Pirate Base in Teladi sector does show the message for XI that will be in Teladi sector.
Oh, this complicate things if x2 works in the same way.
So perhaps the condition is "in stations, where race of sector == race of target sector"?
Can I create a new race with the Doubleshadow's X2-Editor and use it for the sectors around xenon sectors (for example I would empty these sectors of stations but fill them of capships and call their racial ownership "military area")?
SuicidePilot
Posts: 46
Joined: Sat, 22. May 10, 01:53

Post by SuicidePilot »

that might work...and also i lost that save game where i had control over Xenon 472 so now i have to take it over (and switch to my ownership) to test if they will spawn back.......which brings something else to my attention.....wonder if the whole "not spawning when i own sector" will work if i own Khaak sectors..

Return to “X²: The Threat - Scripts and Modding”