Cloaking Device Mission (beware spoilers)

General discussion for players of Oolite.

Moderators: winston, another_commander

X
Above Average
Above Average
Posts: 25
Joined: Fri Apr 09, 2010 5:59 am

Post by X »

Let's see, the cloaking device...

Advantages:
1. All ships will not be able to track you, and will not react at all when you fire at them.
2. Missiles fired at you will instantly lose track of you upon activation - meaning you pretty much have an fail-proof ECM.
3. Your legal status won't be affected by crimes you commit while cloaked.

Disadvantages:
1. Drains energy (though not by much).
2. You won't be credited for kills/bounty you make while cloaked (though you could whittle them down to near-death then decloak.)
3. You won't be able to repair them without save-file editing, raw editing, or some form of OXP. Thargoid's repair bots won't affect them.

Other effects:
1. They're transferred to any ship you buy.
2. Your condition color will change to white.

Congratulations on getting it; try not to (ab)use it too much though.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

Advantage 1 isn't quite correct, as if you fire when cloaked you decloak. At which point they will see you, and in most cases get rather upset.

And if you're cloaked then you won't get missiles fired at you at all, hence number 2 isn't quite right (although if you cloak whilst a missile is chasing you then what you say is correct).

X wrote:
Thargoid's repair bots won't affect them.
Umm Thargoid's repair bots can repair them, they just have a low (30%) chance of success per shot at it.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Post by Cody »

As I’ve said before, the cloaking device should be repairable in-game… you shouldn’t need a ‘hack’ or an oxp.
Only at TL14 or TL15 systems, and at astronomical cost, but it should be fixable in the vanilla game.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6626
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

El Viejo wrote:
As I’ve said before, the cloaking device should be repairable in-game… you shouldn’t need a ‘hack’ or an oxp.
Only at TL14 or TL15 systems, and at astronomical cost, but it should be fixable in the vanilla game.
Personally, I like the idea of some kind of non-recoverable loss in Elite and the chance of losing the cloak permanently might just make the player a bit more careful.

In any case, if you want to make the cloak repairable, it can very easily be done already in 1.73.4. Open the file oolite-cloaking-device-pod.js, found in oolite.app/Resources/Scripts (first backup etc) with an editor and you will see that it contains this code:

Code: Select all

this.shipWasScooped = function (scooper)
{
	if (scooper.isPlayer)
	{
		if (!player.ship.hasEquipment("EQ_CLOAKING_DEVICE"))
		{
			player.ship.awardEquipment("EQ_CLOAKING_DEVICE");
			// Should we make it possible to repair?
			// EquipmentInfo.infoForKey("EQ_CLOAKING_DEVICE").effectiveTechLevel = 14;
		}
		else
		{
			player.ship.awardCargo("Gold", 100);
		}
	}
	// Should probably award 100 gold to non-player ships too, but they don’t have awardCargo at the moment.
};
Just remove the // from the start of the line reading EquipmentInfo.infoForKey("EQ_CLOAKING_DEVICE").effectiveTechLevel = 14;, save the file, restart Oolite with Shift down and you are set. Cloak can be repaired on tech level 15 systems.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Post by Cody »

Ahh... so the option was there, all along. Thank you, a_c.
Trouble is, it doesn't seem to work. Followed your instructions, but it doesn't show up in the ship outfitting list at a TL15. Any ideas?
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6626
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Oh yeah, you are right. The reason is that this code is executed only when you scoop the cloak pod. If you have already scooped it then this won't work. Sorry, forgot to mention it earlier.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

El Viejo wrote:
Ahh... so the option was there, all along. Thank you, a_c.
Trouble is, it doesn't seem to work. Followed your instructions, but it doesn't show up in the ship outfitting list at a TL15. Any ideas?
When you don't want to rescoop it, you can add the line:

Code: Select all

mission_TL_FOR_ EQ_CLOAKING_DEVICE = 14;
in your save file, between the mission variables. Probably you'll already found a similar entry for the naval energy unit. (This changing tech level for equipment will only will work for some selected equipment like the cloak)
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Post by Cody »

another_commander wrote:
If you have already scooped it then this won't work.
<bangs head on wall>
Mierda!… are some bandits going to take a mighty kicking tonight, or what!
<sets navcomp for nearest anarchy system, smiling grimly>

Thanks Eric, but that’s a ‘hack’ as well, isn’t it? I might as well just ‘undamage’ it in my save file.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

But with Eric's hack you'll only have to do it once. If you just unbreak them in the save then you'll have to do it again if you break it again.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Post by Cody »

I see your point Thargoid, but a hack is a hack!
I’m probably old fashioned, but I regard that sort of game-affecting hack as a cheat.

I’ll do without the cloak, as I have for months… maybe I’ll start a new commander when 1.74 emerges, do it over.
Then again, I didn’t want to start a new commander until Griff had finished his ship set.

Hey-Ho! However, thank you for your help, gentlemen.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Post by Cody »

Another thought… if the default setting is ‘unrepairable’, then the cloak should be shot-off completely, not damaged (wasn’t it like that in BBC Elite for all equipment… if it got shot-off, you had to buy the kit again at full price... or is my memory playing up again?).

Oh well…
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
X
Above Average
Above Average
Posts: 25
Joined: Fri Apr 09, 2010 5:59 am

Post by X »

Thargoid wrote:
Advantage 1 isn't quite correct, as if you fire when cloaked you decloak. At which point they will see you, and in most cases get rather upset.
Are you by-chance playing version 1.72? In 1.73, default ships (and all the OXP ships I've seen) don't have "cloak_passive" active.
Thargoid wrote:
Umm Thargoid's repair bots can repair them, they just have a low (30%) chance of success per shot at it.
Oh, that's my bad, I peeked a bit and saw "chance of success decreases by 10% for each lvl above 9". And seeing that the cloak's TL is 99...
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

X wrote:
Thargoid wrote:
Advantage 1 isn't quite correct, as if you fire when cloaked you decloak. At which point they will see you, and in most cases get rather upset.
Are you by-chance playing version 1.72? In 1.73, default ships (and all the OXP ships I've seen) don't have "cloak_passive" active.
On the contrary, he is playing trunk. cloak_passive as a default is an upcoming feature in 1.74, I think (and it only exists as a key since 1.73, where it is false by default).
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6626
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Commander McLane wrote:
On the contrary, he is playing trunk. cloak_passive as a default is an upcoming feature in 1.74, I think
This is the code that sets it up in the latest trunk:

Code: Select all

cloakPassive = [shipDict oo_boolForKey:@"cloak_passive" defaultValue:NO];
Default setting is still NO. Not that I would mind it making it a YES, though.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

Personally I am happy to leave the default at NO. It suits my privateer attitude. :twisted: But I remember some discussion about it where there was sort of a consensus for making YES the default.
Post Reply