Source Code Project Mantis - FSSCP
View Issue Details
0002155FSSCPtablespublic2010-03-19 05:512012-12-13 00:42
Assigned ToGenghis 
PlatformOSOS Version
Product Version3.6.12 RC1 
Target VersionFixed in Version3.6.12 
Summary0002155: FS2 not catching table<->model errors that FRED does on subsystems
DescriptionDid a conversion last night and misspelled subsystem susbystem in the $special=subsystem line of 3 subsystems (it was St. Patty's day what do you expect?) Tested the model in the F3 tech lab and it loaded just and the thrusters and glows attached to those subsystems worked as well (they were engines). Went to make a test mission for something else and as soon as FRED hit the ship it produced the warnings about the missing subsystems. Running debug in both FS2 and FRED.
TagsNo tags attached.
related to 0002752resolved Goober5000 Loading a ship in lab then toggling test load on causes invalid invalid subsystem warnings 
Attached Filesrar 2155.rar (205,549) 2010-03-20 01:07
diff fix_2155.diff (1,706) 2010-03-22 22:57

2010-03-20 01:08   
Attached a modified Ganymede Installation. 2 $special=subsystem entries are misspelled in the pof. FRED catches it ship lab doesn't
2010-03-22 23:01   
So the problem was that in the Lab it doesn't bother trying to actually load and fully error-check a ship, it just does the minimum necessary to load and view the model and its sub-models, without caring much about what type of sub-objects they are.

The candidate fix in fix_2155.diff adds an option to the Lab's render options menu called "Test Load Ships". When this is checked, each time you change the ship LOD or type it will do a full create/destroy of that ship type, therefore triggering all the error-checking code that was being skipped before.

I've left the option switched-off by default, because it slows-down rapid browsing of the ship list.
2010-05-02 01:50   
How hard would it be to display that test loading mode was on at the bottom of the screen? Something like this could probably use a visual clue that it was on rather than simply relying on the user to open up the rendering options menu or notice the longer load times.

That said I'll commit the fix as it is now since it is a useful feature already.

Issue History
2010-03-19 05:51FUBAR-BDHRNew Issue
2010-03-20 01:07FUBAR-BDHRFile Added: 2155.rar
2010-03-20 01:08FUBAR-BDHRNote Added: 0011811
2010-03-20 08:51GenghisStatusnew => assigned
2010-03-20 08:51GenghisAssigned To => Genghis
2010-03-22 22:57GenghisFile Added: fix_2155.diff
2010-03-22 23:01GenghisNote Added: 0011824
2010-05-02 01:50karajormaNote Added: 0011923
2010-05-02 01:52karajormaStatusassigned => resolved
2010-05-02 01:52karajormaFixed in Version => 3.6.12
2010-05-02 01:52karajormaResolutionopen => fixed
2012-12-13 00:42Goober5000Relationship addedrelated to 0002572
2012-12-13 00:42Goober5000Relationship deletedrelated to 0002572
2012-12-13 00:42Goober5000Relationship addedrelated to 0002752