Something Lurking in the Dark - Oxp idea
Moderators: winston, another_commander
- Amen Brick
- Deadly
- Posts: 187
- Joined: Sat May 10, 2008 5:22 pm
- Location: Bolton!
Something Lurking in the Dark - Oxp idea
An off shoot of the 'why no ships in deep space?' thread. Could someone please design an(or is there already an) OXP where a new alien threat lurks outside the shipping lanes, picking off the curious for vile experiments/shooting practice/vile reasons unknown?
- LittleBear
- ---- E L I T E ----
- Posts: 2882
- Joined: Tue Apr 04, 2006 7:02 pm
- Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.
Its fairly do-able. One of the missions in Assassins requires you to take a trip out of the space lanes. . But your target is marked on the Compass so you know where to go. In Oolite (as in Elite) space is infinate (as it effectively would be at sub-light travel in RL). The real difficulty of putting anything outside the space lanes is that extreem unliklihood of the player bumping into it! A random chance of somthing nasty being spawned in the player's location (only when outside the main lane) would be doable though.
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Next line will add a ship with role "nasty_alien" 50 000 meters in front of the flightdirection of the player.LittleBear wrote:Its fairly do-able. ..... A random chance of somthing nasty being spawned in the player's location (only when outside the main lane) would be doable though.
Code: Select all
system.legacy_addShipsAtPrecisely("nasty_alien", 1, "abs", player.position.add(player.heading.multiply(50000)))
EDIT: After testing it didn't work. Heading is always correct for NPC ships, but the w-coordinate is inverted for the player orientation. Next code does work and places ships in front of the player:
Code: Select all
let orientation = player.orientation; orientation.w = -orientation.w
system.legacy_addShipsAtPrecisely("pirate", 3, "abs", player.position.add(orientation.vectorForward().multiply(50000)))
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
I thought this was fixed, but it seems it isn’t. Fixing for 1.72.Eric Walch wrote:EDIT: After testing it didn't work. Heading is always correct for NPC ships, but the w-coordinate is inverted for the player orientation.
E-mail: [email protected]
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact: