Author Topic: scannable subsystem  (Read 1648 times)

0 Members and 1 Guest are viewing this topic.

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.

 
 
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.

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
There are three things that affect whether or not a ship's subsystem is scannable:
  • Whether the ship is classified as "huge" (basically, whether or not it has the "capital" or "supercap" flags).
  • Whether or not the ship has the "toggle-subsystem-scanning" flag set.
  • Whether or not the subsystem has a cargo specified.
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).
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
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.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]