Author Topic: Help with enabling cockpit view via "show ship" needed  (Read 5808 times)

0 Members and 1 Guest are viewing this topic.

Offline Dima

  • 22
Help with enabling cockpit view via "show ship" needed
Hello! :)

I am new to the Freespace and SCP community so hello everyone and let me say that this is probably -the- best space combat simulation of them all. With the enhanced SCP features this game really shines and I couldn't find any better sim yet as even the graphics are top notch and right there to enjoy ;)

My question is about the ( "show ship" ) command wich shows the ship model - and with it any modelled interiors and textures on it - while in standard internal view. I tried this with the Blue Planet 2 modification and wanted to do this for the standard Freespace 2 ships as well. I looked at the tbm files to understand the procedure and applied what I knew to the two files I found in the core vp of the Freespace 2 MediaVP. So, I added the "show ship" flag but the cockpit won't show up in (for example) the basic "Myrmidon" which you fly in the first missions. Any idea on how to do this correctly? I hope you didn't just drop this "feature". ;)

This is how I did it (FS2Open 3.6.12) - with no luck so far:

$Name: GTF Myrmidon
+nocreate
$Flags: ( "show ship" )

 

Offline Kobrar44

  • On Suspended Sentence
  • 29
  • Let me tilerape it for you!
    • Steam
Re: Help with enabling cockpit view via "show ship" needed
I can't remember Myrmidon having a cockpit... try with Herc. And remember about #Ship classes at the beginning of a *-shp.tbm file and #End at the ending. Or what. http://www.hard-light.net/wiki/index.php/Modular_Tables
Oh guys, use that [ url ][ img ][ /img ][ /url ] :/

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Help with enabling cockpit view via "show ship" needed
Yes, well, the Myrmidon is one of the ships his won't work on, because the "show ship" flag only shows cockpits if the ship in question actually HAS a modelled cockpit, which the Myrm notably lacks.

Also, check this thread: http://www.hard-light.net/forums/index.php?topic=71151.0
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Dima

  • 22
Re: Help with enabling cockpit view via "show ship" needed
Thanks for the help both of you! That piece of code was just an example, the whole file had the #End etc. ;)

So not every ship shows that "fake" cockpit? Mh, is there any mod or addon that would add that to the media vps? :)

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Help with enabling cockpit view via "show ship" needed
There's a cockpit mod I made, it should enable cockpits on all MVP ships, including ones that don't have them (they use a generic cockpit).
http://www.mediafire.com/?rlnlkphxdjuiuwj

 

Offline Dima

  • 22
Re: Help with enabling cockpit view via "show ship" needed
Amazing, exactly what I was looking for :D It has no folder structure, so where to put those files exactly? :)

Oh and is this compatible to Freespace 2? Or were these files for Freespace 1 or the Blue Planet Mod? I read something about AoA in one of the files. Thanks!

Edit: Ah I assume this goes just into the data/tables along with the tbm files.
« Last Edit: September 17, 2010, 03:02:16 pm by Dima »

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Help with enabling cockpit view via "show ship" needed
Drat, I forgot that I included the readme in original release post.
All .pof files go in data/models
All .dds files go in data/maps
Cockpits-shp-tbm goes into data/tables, AoACockpits is for use with BP: AoA.
Of course, don't put it into main data folder, but rahter create a separate mod.
I have the mod in Mediavps folder to automatically enable it with all campaigns, but I can't guarantee that this will not break anything.

  

Offline Dima

  • 22
Re: Help with enabling cockpit view via "show ship" needed
Thank you! Very cool stuff :D This will be tried in a matter of minutes...