Page 1 of 1

How to remove missiles from the game?

Posted: Thu Feb 12, 2015 9:15 pm
by Astrobe
Hello,

Is there a way to remove missiles both for player and AI ships? Or maybe reduce their damage?

Re: How to remove missiles from the game?

Posted: Thu Feb 12, 2015 9:43 pm
by cim
Removing missiles entirely is tricky and might have odd side-effects. Reducing damage is fairly straightforward, though - make a shipdata.plist with these entries:

Code: Select all

"missile" =
{
	like_ship = "oolite_template_missile";
	script_info = 
	{
		oolite_missile_blastPower = 180;
		oolite_missile_blastRadius = 32.5;
		oolite_missile_blastShaping = 0.1;
		oolite_missile_proximity = 25;
		oolite_missile_range = 30000;
	};
};

"ecm-proof-missile" =
{
	like_ship = "oolite_template_ecm-proof-missile";
	script_info = 
	{
		oolite_missile_blastPower = 180;
		oolite_missile_blastRadius = 32.5;
		oolite_missile_blastShaping = 0.1;
		oolite_missile_ecmResponse = "_ecmProofMissileResponse";				
		oolite_missile_proximity = 25;
		oolite_missile_range = 30000;
	};
};
The numbers above are the current 1.81 numbers, which are slightly tuned down already from 1.80. If you just want missiles to be slightly less deadly, that might be enough. Otherwise, reduce the oolite_missile_blastPower level as needed.

(Alternatively you could override all NPC and player ships so that they couldn't carry missiles - i.e. no pylon mounts - but this would be quite a bit more work)

Re: How to remove missiles from the game?

Posted: Fri Feb 13, 2015 9:21 pm
by Astrobe
Thank you very much. Damage reduction should make it.