Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Scooby_Doo on March 22, 2010, 11:47:35 pm

Title: Subsystem not in table
Post by: Scooby_Doo on March 22, 2010, 11:47:35 pm
How hard would it to be to fix this error?

WARNING: "Not all subsystems in model "BLAH.pof" have a record in ships.tbl. This can cause game to crash.  List of subsystems not found from table is in log file." at modelread.cpp:633
Subsystem ABlah in model was not found in ships.tbl!


This occurs when you have a subsystem thats not really a subsystem, mainly due to pcs2's poly limit.
Ideally it would be great if it just treated it as part of the main hull.
Title: Re: Subsystem not in table
Post by: chief1983 on March 23, 2010, 12:25:22 am
Unless it really is a goof on the tabler's part and he forgot a subsystem.  It at least needs to be some sort of logged notice/warning, but probably not a crash.
Title: Re: Subsystem not in table
Post by: Scooby_Doo on March 23, 2010, 12:32:57 am
Problem I see is subsystem limit hitting very quickly with all these unnecessary subobjects.
Title: Re: Subsystem not in table
Post by: FUBAR-BDHR on March 23, 2010, 12:58:49 am
Why is it a subsystem in the first place?  Subobjects do not need to be subsystems but subsystems do need table entries.  If it's just a piece of a ship get rid of the $special=subsystem in PCS2.  If it's an actual subsystem then table it. 
Title: Re: Subsystem not in table
Post by: Scooby_Doo on March 23, 2010, 01:28:06 am
It's a subobject thats linked to the main hull but not attached to it.  It's the only work-around I know of for getting around pcs2's limit.


BTW they contain no $special entries... in fact they contain no entries.


edit: Ohhh I think I see my problem...