Difference between revisions of "NPC-shields OXP"

From Elite Wiki
(setting up the page)
m (Download Location: updated box.com)
Line 37: Line 37:
== Download Location ==
== Download Location ==
NPC-shields.oxp is available for download [http://www.box.net/shared/9c5gz7183z via box.net].
NPC-shields.oxp is available for download [http://www.box.com/shared/9c5gz7183z via box.com].

Revision as of 21:57, 27 November 2011


This OXP gives shields to NPCs, together with an optical effect if your hit their shields. (The optical effect requires 'full shaders' mode.)


One difference between the player ship and NPCs in Oolite is that the player ship has shields as an extra layer of protection, while NPCs haven't. They rely on their energy only.

This OXP simulates shields for NPCs. Each ship will get a value for its shield strength when it is created, adding a layer of protection against damage, just like with the player ship. This makes it harder to kill NPCs, therefore this OXP has a direct impact on game play.

All ships get a shield strength of 128, just like player shields. The only difference being that the player ship has two separate front and aft shields, while NPCs only have one.

As long as there is still shield strength left, the ship won't sustain energy damage. Instead the shield strength will decrease until there is nothing left. When the shields are absorbing a hit, the ship will glow red. This optical effect only works with full shaders.

Shields are recharged from the energy banks, as long as the ship has full energy.

Disabling shields (note to ship designers)

You can exclude any ship of yours from getting shields through this OXP. You can do this by using the script_info-key in shipdata.plist. Insert a value named npc_shields and set it to no. Now your ship won't get shields through this OXP.

If you want to copy and paste, this is what it looks like in OpenStep:

"script_info" =         {
    "npc_shields" = no;

And this is what it looks like in XML:


Minimum Requirements

NPC-shields.oxp requires at least Oolite 1.75.

Download Location

NPC-shields.oxp is available for download via box.com.


Move or copy the file NPC-shields.oxp from its folder into your AddOns folder. Where that resides depends on your installation. Restart Oolite.