Back to Index Page generated: May 18, 2025, 8:34:31 AM

Expansion Sidewinder NG

Content

Manifest

from Expansion Manager's OXP list from Expansion Manifest
Description This expansion adds the Sidewinder NG to Oolite: a scaled-down version of the Sidewinder with a modern and compact (but slow to engage) Witchdrive making it the smaller ship capable of hyperspace jump. This expansion also adds the GalCop Police version of this ship and the possibility to start the game in Easy or Normal mode with a Sidewinder NG instead of the Cobra MK III. This expansion adds the Sidewinder NG to Oolite: a scaled-down version of the Sidewinder with a modern and compact (but slow to engage) Witchdrive making it the smaller ship capable of hyperspace jump. This expansion also adds the GalCop Police version of this ship and the possibility to start the game in Easy or Normal mode with a Sidewinder NG instead of the Cobra MK III.
Identifier oolite.oxp.davidkroc.Sidewinder-ng oolite.oxp.davidkroc.Sidewinder-ng
Title Sidewinder NG Sidewinder NG
Category Ship Ship
Author DavidKroc DavidKroc
Version 1.9 1.9
Tags
Required Oolite Version
Maximum Oolite Version
Required Expansions
Optional Expansions
Conflict Expansions
Information URL https://wiki.alioth.net/index.php/Sidewinder_NG n/a
Download URL https://wiki.alioth.net/img_auth.php/d/d6/Oolite.oxp.davidkroc.sidewinder-ng.oxz n/a
License CC-BY-NC-SA 4.0 CC-BY-NC-SA 4.0
File Size n/a
Upload date 1743348931

Documentation

Also read http://wiki.alioth.net/index.php/Sidewinder%20NG

readme.txt

Sidewinder-NG

By DavidKroc

OXP based on Illicit unlock OXP by phkb and Jane's Galactic Shipset, ship based on the Elite Dangerous size of the Sidewinder (https://www.elitedangerous.com/equipment/starships/sidewinder).

License
=======
This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 4.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/

Version History
===============
1.0	- Initial release for testing.
1.1	- Ship characteristics adjustment (size according Elite Dangerous version).
1.2	- Ship characteristics adjustment (lower performances).
1.3	- Added GalCop Police version.
1.4	- Fixed Police ship name on scanner.
1.5	- Fixed description for expansion manager.
1.6	- Fixed small bugs.
1.7	- Changed density to fix (increase) mass for very small ships and add start choices with Sidewinder NG.
1.8	- 3D Model based on Griff's SpecGloss Sidewinder.
1.9	- Changed external view distance and restricted possible equipments due to small ship size.

Equipment

This expansion declares no equipment.

Ships

Name
Sidewinder NG
GalCop Sidewinder NG

Models

This expansion declares no models.

Scripts

Path
Scripts/davidkroc_equip_cond.js
this.name        = "davidkroc_equip_cond";
this.description = "script to block equipment for this ship.";

"use strict";

this.allowAwardEquipment = function(equipment, ship, context) // **changed by phkb - credit and thanks to him.
{
	if (context == "scripted") return true;
	
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_ESCAPE_POD")
	{
		//log(this.name, "ESCAPE POD BLOCKED");
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_HEAT_SHIELD")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_HUDSELECTOR")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_IRONHIDE")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_IRONHIDE_MIL")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_RESERVE_TANK")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_RESERVE_TANK_EMPTY")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_AUX_TANK")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_AUX_TANK_EMPTY")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_FUEL_GENERATOR")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_REPAIRBOTS_MINE")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_REPAIRBOTS_CONTROLLER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_REPAIRBOTS_CONTROLLER_LIGHT")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_RETROROCKETS")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_FORWARD_SHIELD_CAPACITOR")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_AFT_SHIELD_CAPACITOR")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_SHIELD_EQUALIZER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_SC_SHIELD_CYCLER_BASIC")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_SC_SHIELD_CYCLER_STANDARD")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_SC_SHIELD_CYCLER_ADVANCED")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_SC_MANUAL_CONFIGURATOR_BASIC")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_SC_MANUAL_CONFIGURATOR_STANDARD")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_SC_MANUAL_CONFIGURATOR_ADVANCED")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_TP_DRIVE")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_LASER_COUPLER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_PULSE_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_MINING_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_EPULSE_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_DUAL_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_HVARISCAN_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_VARISCAN_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_EBEAM_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_BURST_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_ASSAULT_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_HIRAD_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_STAR_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_JKMINING_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_EMILITARY_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_FRONTIER_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_WILLIAMS_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_ZEUSCORP_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_LUCAS_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_QVC_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_DEXM_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_ANDERSON_LASER")
	{
		return false;
	}
	if (ship.shipClassName == "Sidewinder NG" && equipment == "EQ_WEAPON_RIMMERACE_LASER")
	{
		return false;
	}
	
	// remainder from oolite-conditions.js

	// OXP hook to allow stations to forbid specific equipment
	if (context == "purchase" && player.ship.dockedStation && player.ship.dockedStation.scriptInfo["oolite-barred-equipment"])
	{
		if (player.ship.dockedStation.scriptInfo["oolite-barred-equipment"].indexOf(equipment) != -1)
		{
			return false;
		}
	}

	// OXP hook to allow ships to forbid specific "available to all" equipment
	if (ship.scriptInfo && ship.scriptInfo["oolite-barred-equipment"] && ship.scriptInfo["oolite-barred-equipment"].indexOf(equipment) != -1)
	{
		return false;
	}

	// otherwise allowed
	return true;
}