Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: DrJester on July 28, 2021, 04:35:17 pm

Title: Cockpit Mod Not loading
Post by: DrJester on July 28, 2021, 04:35:17 pm
I've installed the Cockpit mod from Knossos, and no matter what I do, it doesn't seem to work. It throws an error saying "unable to find ship class * in stuff_int_list!".

What am I doing wrong?

Title: Re: Cockpit Mod Not loading
Post by: Strygon on July 28, 2021, 04:42:26 pm
From what I can tell, you're doing nothing wrong, but whoever uploaded the mod and thought it was a good idea to shove every single ship ever made into the tables sure did.

I guess wait for a fix to uploaded? If you're good enough with table editing you can go in and manually remove all the entries involving ships that don't exist in FS2 Retail.
Title: Re: Cockpit Mod Not loading
Post by: DrJester on July 28, 2021, 06:53:30 pm
From what I can tell, you're doing nothing wrong, but whoever uploaded the mod and thought it was a good idea to shove every single ship ever made into the tables sure did.

I guess wait for a fix to uploaded? If you're good enough with table editing you can go in and manually remove all the entries involving ships that don't exist in FS2 Retail.

Is there a list of ships available in FS2 so I can pull out the ones that aren't supposed to be there.
Title: Re: Cockpit Mod Not loading
Post by: Strygon on July 28, 2021, 07:51:52 pm
https://wiki.hard-light.net/index.php/FreeSpace_2-era_craft
Title: Re: Cockpit Mod Not loading
Post by: Atheist Antichrist on July 29, 2021, 06:13:47 am
     I had the exact same problem, same error message.  I was bummed out because I've always thought FS should have some kind of cockpit...it never made sense to me that it didn't.  Even something minimalistic like what was done with Independence War 2: Edge of Chaos.  In fact, I-War 2 was kind of perfect because there wasn't a bunch of crap covering 3/4 of the screen, but still kind of felt like you were in a ship or something.  I-War 2 was a cool game...I wonder if it would run on Win10?     
Title: Re: Cockpit Mod Not loading
Post by: Admiral Nelson on July 29, 2021, 11:05:41 am
I have removed all the non canon ships and uploaded a fresh version.  I suppose the original creator viewed the ability to specify all those non-canon ships as a feature - the mod could then be easily used with other mods.  However, FSO is now stricter in its parser than it was when it was made.
Title: Re: Cockpit Mod Not loading
Post by: DrJester on July 29, 2021, 11:44:56 am
Thank you everyone for the replies and help!


I have removed all the non canon ships and uploaded a fresh version.  I suppose the original creator viewed the ability to specify all those non-canon ships as a feature - the mod could then be wasily used with other mods.  However, FSO is now stricter in its parser than it was when it was made.





When is the update populated to knossos usually? It still says the last update was September 20th 2020. (Just got the update!)

 Thank you for this!

EDIT: Just flew a few missions, and it works flawlessly! Thank you so much!
Title: Re: Cockpit Mod Not loading
Post by: ShivanSlayer on July 29, 2021, 02:22:52 pm
The cockpit mod should have some distinct cockpits though. If nothing else, the cockpit of a Mara should not look anything like a Terran fighter cockpit
Title: Re: Cockpit Mod Not loading
Post by: Atheist Antichrist on July 29, 2021, 05:30:05 pm
The cockpit mod should have some distinct cockpits though. If nothing else, the cockpit of a Mara should not look anything like a Terran fighter cockpit

    I bet it would if parselo.cpp was willing to run it, I've been at this for hours and hours and I'm getting errors on ships I know for a fact exist in the game because it's the only Vasudan ship I ever use during the Vasudan missions.  I've decided that I should be happy FSO will run the game at all.  If I knew how to downgrade to v.19 I'd just do that but at this point I can't even think about freespace/  Screw it.
Title: Re: Cockpit Mod Not loading
Post by: DrJester on July 29, 2021, 06:27:30 pm
I have removed all the non canon ships and uploaded a fresh version.  I suppose the original creator viewed the ability to specify all those non-canon ships as a feature - the mod could then be easily used with other mods.  However, FSO is now stricter in its parser than it was when it was made.

Downloaded the mod for FS1 port, had to do so manually as it asks for FSPORT-mediavps while I have it installed. Anyway, it gives the same errors as the FS2 version.

Do you think you could... maybe, give it a look? And is there a possibility to extend this mod to other content, like Wing Commander Saga?

And again, thank you so very much for the fix! Flying with a cockpit is SOOOOOOOOO much better.
Title: Re: Cockpit Mod Not loading
Post by: Strygon on July 30, 2021, 02:41:08 am
The cockpit mod should have some distinct cockpits though. If nothing else, the cockpit of a Mara should not look anything like a Terran fighter cockpit

You're free to model one yourself and ask Nelson to attach it to the mod, given that Fightermedic I'm pretty sure hasn't been around in years.
Title: Re: Cockpit Mod Not loading
Post by: 0rph3u5 on July 30, 2021, 03:38:41 am
The cockpit mod should have some distinct cockpits though. If nothing else, the cockpit of a Mara should not look anything like a Terran fighter cockpit

Not really...

Quote from: Playing Judas
As you know, we captured a Shivan Dragon-class fighter in Beta Aquilae.  Our technicians have retro-fitted this alien fighter with Terran instrumentation and gotten it into working condition.

... meaning that a terran cockpit had to be build into the captured Shivan fighters - considering that in both cases (Dragon and Mara) this was field engineering, you can assume they just transplanted an existing terran design into the Shivan chasis.

(not to mention that the canon mention of the Shivans being cyborgs implies that a Shivan fighter might simply directly connect into the pilot with no need for a cockpit assembly, only space for the pilot to be in --- which makes an interesting possibility that the distinction between pilot and ship does not apply)
Title: Re: Cockpit Mod Not loading
Post by: Admiral Nelson on July 30, 2021, 05:40:30 am
I have purged all the non canon ships from the FS1 cockpit mod as well.  To the question around different cockpit models for different ships, as Strygon says I am not a modeler.  It would be a great deal of work to create different cockpits for all of the playable craft in FS1 and FS2.  The cockpit model in this mod was created by a poster called Vasudan Admiral who has not signed in to the board since 2016. :)

When I was working on porting WC Saga to standard FSO I did find quite a few screenshots of cockpits that team had made for it.  Unfortunately I could not find anything to indicate that these were ever released.  There was a poster called Scooby_Doo who did make several WC ships with modeled cockpits.  I don't think he made them for canon WC fighters, however.
Title: Re: Cockpit Mod Not loading
Post by: ShivanSlayer on July 30, 2021, 10:02:39 am
The cockpit mod should have some distinct cockpits though. If nothing else, the cockpit of a Mara should not look anything like a Terran fighter cockpit

Not really...

Quote from: Playing Judas
As you know, we captured a Shivan Dragon-class fighter in Beta Aquilae.  Our technicians have retro-fitted this alien fighter with Terran instrumentation and gotten it into working condition.

... meaning that a terran cockpit had to be build into the captured Shivan fighters - considering that in both cases (Dragon and Mara) this was field engineering, you can assume they just transplanted an existing terran design into the Shivan chasis.

(not to mention that the canon mention of the Shivans being cyborgs implies that a Shivan fighter might simply directly connect into the pilot with no need for a cockpit assembly, only space for the pilot to be in --- which makes an interesting possibility that the distinction between pilot and ship does not apply)
  I forgot about that part with Terran instrumentation being implemented
Title: Re: Cockpit Mod Not loading
Post by: DrJester on July 30, 2021, 05:50:11 pm
I have purged all the non canon ships from the FS1 cockpit mod as well.  To the question around different cockpit models for different ships, as Strygon says I am not a modeler.  It would be a great deal of work to create different cockpits for all of the playable craft in FS1 and FS2.  The cockpit model in this mod was created by a poster called Vasudan Admiral who has not signed in to the board since 2016. :)

When I was working on porting WC Saga to standard FSO I did find quite a few screenshots of cockpits that team had made for it.  Unfortunately I could not find anything to indicate that these were ever released.  There was a poster called Scooby_Doo who did make several WC ships with modeled cockpits.  I don't think he made them for canon WC fighters, however.

It works perfectly! Thank you!

I assume WC doesn't have a cockpit on the files we've downloaded, as I used the "show ship" file(unless I did something wrong, which is a high probability haha) system tutorial I found here, and nothing showed up.

Again, thank you!
Title: Re: Cockpit Mod Not loading
Post by: Admiral Nelson on July 31, 2021, 08:58:15 am
No cockpits in WC - the fighters just have "solid" canopies.  If you do a member search for Scooby_Doo and show his posts you can see some wc ships with cockpits. 
Title: Re: Cockpit Mod Not loading
Post by: DrJester on August 06, 2021, 06:34:17 pm
No cockpits in WC - the fighters just have "solid" canopies.  If you do a member search for Scooby_Doo and show his posts you can see some wc ships with cockpits.

Found a small show stopping bug... heh!
There is no HUD or cockpit on the Shivan Dragon Class fighter for the following mission

https://wiki.hard-light.net/index.php/Playing_Judas

EDIT: I think I fixed it! Going deep into the files copy pasting a few things, and adding this "SF Dragon#Terrans" worked!

I attached them, in case you want them.
Title: Re: Cockpit Mod Not loading
Post by: Admiral Nelson on August 07, 2021, 02:59:25 pm
OK, I've patched the FS1 version accordingly.
Thanks!