Wormhole restoration OXP

From Elite Wiki
Revision as of 19:52, 25 April 2011 by Commander McLane (talk | contribs) (created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


How do the Thargoids make your wormhole through witchspace collapse and spit you out in the middle of nowhere? It turns out that they have a device for that, and if you get stuck in interstellar space, you find yourself within a grid of four Thargoid Witchspace Jammers. These jammers keep you where you are, and also prevent you from escaping with another witchspace jump, even if you have the necessary fuel.

Destroy them and your original wormhole will re-open, allowing you to continue your journey to your original destination.


Usually, after a misjump you find yourself ambushed by some viciously attacking Thargoid Warships. Sometimes you even manage to fight and kill them. You're still full of excitement and adrenalin from the epic battle when you finally find out that you're dead anyway, because you don't have enough fuel left to reach any of the surrounding systems. You're doomed to die in interstellar space. This sucks.

There are already a couple of OXPs which offer you a way out of this—literally—dead end. Wormhole_restoration.oxp goes another path than those existing OXPs. Its basic premise is that after you fought off the ambush in interstellar space, your original wormhole opens again and you can continue your original journey to your original destination.

To this end the OXP introduces a visible device which is supposed to have collapsed your wormhole in the first place: the Thargoid Witchspace Jammer. There are always four of them surrounding the place where you emerged from your jump. It's a spiky device that gives off an evil glow, easily recognizable. Destroy all four of them, and your original wormhole opens again. Enter it just like you would enter another ship's wormhole, and you continue your journey to your original destination without using any more witchjump fuel.

It is only necessary to destroy the four Witchspace Jammers, so you can try to avoid the surrounding Thargoid ships and only concentrate on the jammers. However, the warships will of course still attack you, so you will still be forced to fight them off. Your ship's computer will notify you whenever one of the Witchspace Jammers is destroyed, telling you how many are still intact. It will also detect the re-formation of your original wormhole after the last Witchspace Jammer is destroyed. All you have to do then is to locate your wormhole, return to it, and enter it. If there were other ships stuck together with you, their wormholes will re-open as well, leading to their original destinations, so in this case it may be worthwhile to examine all wormholes first. You don't want to jump in the wrong direction, do you? Don't spend too much time with a thorough examination, though. The re-opened wormholes only stay open for between one and two minutes. Therefore your maxim should be: if in doubt, just head for the closest wormhole as quickly as possible.

There is a catch, though: If you (or other ships) haven't killed all Thargoids before destroying the Witchspace Jammers, the remaining Thargoid ships may follow you or any other ship through the re-opened wormhole. Therefore your successful escape may mean death and destruction for many vessels in your destination system. You may unwillingly head the Thargoid forces to an invasion of the very system where you seek refuge from them. Therefore—if at all possible—you should make sure that no Thargoid Warships are left in interstellar space when you re-enter your wormhole.

Technical details

Wormhole_restoration.oxp contains the model of the Thargoid Witchspace Jammer. This model was recycled from Cataclysm.oxp. Four Thargoid Witchspace Jammers are spawned in a grid around the player's position whenever misjumping. These Witchspace Jammers have enough mass to prevent any witchspace jump inside their scanner range, therefore leaving is not possible, even with enough fuel. Killing them sends a message to the player's console. Killing the last one creates an invisible dummy entity that immediately attempts to jump out to the player's original destination. The attempts are repeated until one is successful. The wormhole stays open for about 90 seconds. Another dummy entity is created for each ship with a yellow blip. These jump out randomly to either the player's destination or the system he came from. Immediately after reaching the other side the dummy entity is removed.

The OXP also replaces the normal thargoidAI with a slightly modified version. This new thargoidAI gives Thargoid ships a one-in-four chance to follow the player through his wormhole whenever he jumps out. This is inspired by the current pirateAI, which also introduces the chance of pirates following the player, should he jump out in the middle of a fight.

Known bugs/problems

(1) On consecutive misjumps you will always find Thargoid Witchspace Jammers, but under certain circumstances their destruction may not create a working wormhole anymore. The familiar blue disk appears, but you fly just through it, without jumping to your target system. It always works for the first misjump, so you can always return to normal space.

(2) It appears that no wormhole can be created that leads to your system of origin (the system from where you misjumped). Therefore, if there are other traders stuck with you, all re-opening wormholes will lead in your direction; currently the wormholes leading in the opposite direction are not created. (This is already fixed in the current trunk.)

Minimum Requirements

Wormhole_restoration requires at least Oolite 1.75.1.

Download Location

This OXP is available for download via Box.net.


Move or copy the file wormhole_restoration from this folder into your AddOns folder. Where that resides depends on your installation. Restart Oolite.