Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: liontamer on February 13, 2016, 04:30:03 pm

Title: scannable subsystem
Post by: liontamer on February 13, 2016, 04:30:03 pm
Hi,

First time poster. Long time player (In 1998 I was a very excited 14 year old with my dad's shiny new P2-350 to play Descent Freespace on and in 1999 I even got a Saitek Cyborg 3D for my birthday for playing FS2 with *sigh*)

I've had the same problem with a number of campaigns recently. As its with different campaigns I've (perhaps prematurely) ruled out FREDding issues. On missions that require a subsystem of a cap ship to be scanned the subsystem isn't scannable. The HUD doesn't show 'unscanned' so I presume there's a flag being missed. However I've unpacked a few .VPs and added "scannable" under 'Flags' and "toggle-subsystem-scanning" under 'Flags2' but no joy. Is this a bug?

A good example of this is the SD Bathin in Mission 5 of Unchartered Territory 1.1 (Updated) : http://www.hard-light.net/forums/index.php?topic=67327.msg1330476#msg1330476

Any ideas? Apologies if this isn't the right place to ask.
Title: Re: scannable subsystem
Post by: tomimaki on February 13, 2016, 05:16:16 pm
Check second post in topic: :)
http://www.hard-light.net/forums/index.php?topic=91254.0
Title: Re: scannable subsystem
Post by: liontamer on February 17, 2016, 03:33:57 am
Thanks Tomimaki.  :)

How do you change this when you open the missions in FRED2_Open? There's been a couple of times its happened.

Teach a man to fish and all that.
Title: Re: scannable subsystem
Post by: AdmiralRalwood on February 17, 2016, 08:28:24 am
There are three things that affect whether or not a ship's subsystem is scannable:
2 acts as a toggle (hence the name), which means that activating it on capital or supercapital ships will disable per-subsystem scanning.

3 is the important one: if a subsystem doesn't have a cargo specified in FRED, you can't scan it. Period. The "scannable" flag doesn't actually change whether or not you can scan its subsystems; only whether or not the name of the cargo is shown (it does affect whether or not the ship is scannable if you're not scanning individual subsystems, though; only cargo ships or transports display cargo and everything else needs to specify "scannable" to be scannable).
Title: Re: scannable subsystem
Post by: karajorma on February 17, 2016, 09:45:55 am
Before toggle-subsystem-scanning flag was added, you could only scan an entire ship or for larger ships (and installations), only subsystems. This was basically set in stone by the code.

The the flag allows you to swap the behaviour over. So you can scan the subsystems of a small ship, or the entirety of a large one.