NPC

From Elite Wiki
Revision as of 09:44, 11 July 2024 by Cholmondely (talk | contribs) (Added list of limitations)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Library OXP's database showing entry for an NPC
(Captain Curruthers from the Vanilla game)

Non-Player Character

Overview

In Oolite, all characters other than you are NPC's. Unless you manage to connect with somebody else using Hiram's Nexus.

How do personalities exist within Oolite? Well, one either interacts with them when docked or as ships (in which case the AI of the ship is the relevant part - note that the AI's were rewritten for Oolite back in 2014 (v.1.80), breaking many AI's in older oxp's).

NPC limitations

There are a number of things which NPCs can't do.

Combat

  • Lasers: While they can use their rear lasers, they can't (yet) use side lasers. OXP plasma cannons (in turrets) work normally, though.
  • Scanners: They seem not to recognise the existence of anything outside scanner range (other than beacons)

Travel

  • Hyperdrive/Torus drive: they don't have it/can't use it.
But see the Synchronised Torus OXP and the experimental SOTL Altmap OXP

How NPC's react to you

The majority of randomness - with the JS AIs, anyway - is provided by the player role list. The player gets various roles (reputations, in intent) assigned to this list as they do stuff in the game, which then decay away again back to "player-unknown" (which is responded to roughly like the old "player" role was - pirates attack, everyone else ignores if Clean).

There is thus a local player reputation - which relates to local activities - and this is affected by one's elite rating.

The higher the player's Elite Rating, the slower their reputation decay is - some newish Mostly Harmless pilot you've never seen before could be anyone; some Deadly pilot you've never seen before you probably have at least vaguely heard the name and know what side they're on. Things which clear bounties - escape pods, galactic hyperspace - also clear out a good chunk of rep (though not all of it, especially not at Elite rank) ... normal jumping between systems clears down rep much faster if you're doing a cross-chart run than if you're hopping around the same A-B trade route for weeks.

Each AI then picks a random role from the list - so a player who does both trading and bounty hunting, some AIs will treat them as a trader, and some as a hunter, in rough proportion to how much they've done each activity lately. AIs in groups will take their lead from the group leader.

So, for example, a player who has been clobbering local pirates will gain a reputation for doing this, and other pirates will try and avoid that player. A player with a reputation as a pirate will on the other hand just be ignored.

This is also used by the police AIs if they stumble across a fight between two Clean ships: does the player have a better rep than the ship they're fighting? If so, it was probably the other one that started it, so they'll then start allocating bounties on that basis. (OXPs have a fair bit of flexibility to poke this so that the assassin pre-emptively attacking the player is the locally highly respected Earl of Tree Grubs, so clearly the scruffy outsider started it when the cops show up). Various other things like friendly fire forgiveness work in a similar way; traders are likely to run away from a "pirate" role player even if the player hasn't got anywhere near being hostile today; etc.

In general the idea is that your actions give you a reputation, AIs respond to that reputation, and escaping an established reputation can be done but takes some effort. (Cim 2022)

OXP's

These OXP's introduce ships with NPC personalities into your game.
Many of these were crafted by Murgh
Note that some of these have been repackaged several times over the years - Missionaries, Boy Racer, Refugee Adder/Adder Xpat
  • Iron Ass OXP - some of these ships have strong personalities (Boy Racer, Adder Xpat, Scrub)
  • Missionaries - three flavours: Iron Ass Missionaries (2022) - see Iron Ass OXP above, Hognose Missionaries (2016), Missionaries OXP (2006)
  • Refugee Adder - three flavours: in the Iron Ass OXP above (2022), the PROHIP Xpat b1 (2022), and the original from 2005
  • Hognose Tugship - two flavours: Griff's version (2022), and Murgh's (2005) original
  • Personalities OXP - introduces some of the older personalities from the Oolite bulletin boards into your game! (2022 - Alnivel's update; 2009 original - possibly broken with newer Oolite versions)
  • These other old OXP's: Hotrods OXP, Frog Space Rickshaw (all from circa 2006).


These OXP's introduce (paid) allies into your game.


Docked NPC's


One of the issues is the Torus Drive which is not shared with NPC ships, and limits some interractions with them. See Torus Drive for workarounds

Missions

Many missions involve ships with personality. See Oolite Missions for a sortable list (you might wish to select your galaxy, for example).

Tools

Links

  • Communication - has list of OXPs which facilitate communication with NPC's
  • Cheating - for OXPs which even out the game inbalances between players & NPC's

Individual NPC's

See Category:Fictional people for a longer list

Some of the Oolite players developed very characterful player versions: See Category:Profiles for an incomplete listing

Discussions