Repair damaged cloaking device

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Commander McLane wrote:
The problem with making the cloaking device repairable on high TL-stations is that at the same time you make it available for purchasing as well.

The best thing IMO would be to make a small addition to the original mission script, contained within Oolite. In the old scripting system it would be parallel to the last condition in thargoid plans:

Code: Select all

        {
            conditions = (
                "mission_cloak equal COMPLETE",
                "mission_TL_FOR_EQ_CLOAKING_DEVICE undefined"
            );
            do = ("set: mission_TL_FOR_EQ_CLOAKING_DEVICE 13");
        }
Actually it would be better to insert a testForEquipment into the do-part, as the cloaking device could be spawned but not scooped.

Ahruman has, however, already translated the cloaking device mission into the JS-syntax. So we have to ask him to incorporate this addition.
Or I could do it in the script_actions of the cloaking-device, right after <string>awardEquipment: EQ_CLOAKING_DEVICE</string>. :-) (Although I will probably have translated that to JS too by the next release, given I made that possible a couple of days ago.)
User avatar
Captain Hesperus
Grand High Clock-Tower Poobah
Grand High Clock-Tower Poobah
Posts: 2310
Joined: Tue Sep 19, 2006 1:10 pm
Location: Anywhere I can sell Trumbles.....

Post by Captain Hesperus »

I agree with TGHC and Maegil. The Cloaking Device is, by it's very nature, high-tech military hardware which is essentially stolen in the mission. I think, though, that it should only repairable at high-TL Anarchies. Corporates and Democracies are a bit too friendly with GalCop to repair this technology without either informing the GalNavy or simply confiscating it outright.

Having to seek out an Anarchy system that has a high enough TL to repair the Cloak is a good impetus for Commanders to see even more of the Galaxy (since you can only get the Cloaking Device in G5).

Captain Hesperus
The truth, revealed!!
Image
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

Sounds good to me, except that anarchies past TL7 can be a real headache if not impossible to find, and I suspect it'll take at least TL14 to fix a cloak.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
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 »

Cmdr Wyvern wrote:
Sounds good to me, except that anarchies past TL7 can be a real headache if not impossible to find, and I suspect it'll take at least TL14 to fix a cloak.
High TLs are not only a headache, but impossible. I did research on TLs of anarchies for Anarchies.oxp. There are only anarchies with TLs 1..9. Nothing above that. And that would be definitely not high enough for repairing a cloaking device.

Idea! :idea: But I could incorporate it in Anarchies.oxp. There you get Hacker Outposts that are technically pretty advanced in random higher TL anarchies (well, they are advanced enough to hack in GalCop's central database and clear your legal status). So they--and only they--could be able to repair a damaged cloaking device. How does that sound to you?
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2280
Joined: Tue Jan 02, 2007 12:38 pm

Post by Killer Wolf »

hey, if it's STOLEN hardware, i think you should have a permanent OFFENDER status at least it you fit it :-) add a bit spice.
User avatar
TGHC
---- E L I T E ----
---- E L I T E ----
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Post by TGHC »

Commander McLane wrote:
Idea! :idea: But I could incorporate it in Anarchies.oxp. There you get Hacker Outposts that are technically pretty advanced in random higher TL anarchies (well, they are advanced enough to hack in GalCop's central database and clear your legal status). So they--and only they--could be able to repair a damaged cloaking device. How does that sound to you?
Great idea, how about a message screen which tells you your cloak is damaged and to proceed to the nearest repair centre.

It seems that a damaged cloak is a very rare occurence, IIRC it doesn't show on the equipment list when it is damaged, so you won't know if you you don't use it, or notice it's not on the equipment list.

@Killer Wolf, it's not stolen hardware, it's spoils of a battle, so it would be unreasonable to apply an offender status
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

TGHC wrote:
It seems that a damaged cloak is a very rare occurence, IIRC it doesn't show on the equipment list when it is damaged, so you won't know if you you don't use it, or notice it's not on the equipment list.
Just wanted to clarify that, as of version 1.69 onwards, every piece of damaged equipment, including the Cloaking Device, is displayed on the status screen in orange color, with the suffix N/A (Not Available).
User avatar
TGHC
---- E L I T E ----
---- E L I T E ----
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Post by TGHC »

Excellent.
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
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 »

For now I've included this feature in Anarchies.oxp.

Just a few lines of code. :wink:

If you don't agree, just tell me so.
Post Reply