How to remove missiles from the game?

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
Astrobe
---- E L I T E ----
---- E L I T E ----
Posts: 609
Joined: Sun Jul 21, 2013 12:26 pm

How to remove missiles from the game?

Post by Astrobe »

Hello,

Is there a way to remove missiles both for player and AI ships? Or maybe reduce their damage?
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: How to remove missiles from the game?

Post 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)
Astrobe
---- E L I T E ----
---- E L I T E ----
Posts: 609
Joined: Sun Jul 21, 2013 12:26 pm

Re: How to remove missiles from the game?

Post by Astrobe »

Thank you very much. Damage reduction should make it.
Post Reply