Author Topic: cockpits - again  (Read 1993 times)

0 Members and 1 Guest are viewing this topic.

Offline origin

  • 27
I find this whole discussion confusing, so I will ask.
Is it now possible to make viewable cockpits instead of just the HUD, during the inflight portion of the game?
What are the steps to make a cockpit, if it can be done.

Thanks.

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
You can.

Place an eyepoint inside the cockpit.

add "show ship" to the $Flags: of the table of the ship in question.



Yeah it's probably a lot more complicated than that but that's my understanding of it.

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.

You mean something like this?
Yes it's possible and as simple as Snail said.
You just need to place eyepoint where pilot's eyes would be (ships that have cockpits in mediavps have their eyepoints est like this, just like most of user made models) and add "Show Ship" flag to flags in ships.tbl or in approbate .tbm .

  
Here's the basics for the DAE converter (the pof version is very similar)

You have your ship mesh (detail0)  You also have a separate mesh object for the cockpit.  Link the cockpit to detail0 (link, don't attach, they must remain seperate objects).  As for the glass, look up transparency.

And for the table the "show ship" has already been explained.



There is also another , and would be even better way for cockpits, unfortunately it's currently broken.  A separate model that contains the cockpit and viewable external areas.  This way you could have even higher detailed cockpits.  Unfortunately there is much z-buffer fighting and looks completely messed up  :(
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline origin

  • 27
The first 2 replies seem to indicate I have to model the cockpit inside the ship model - which sounds impossible.

Scooby_Doo I have no idea about the DAE converter, but you say the POF is similar so... 

You must set up a mesh object for the cockpit - I assume this is a mesh that is little more than a box that looks like a cockpit from the inside.  Then I need to link it to the ship.  How?  Link it in PCS, link it in the mesh program before compiling as a POF or what?  And where do I put the eye point?  Where does the cockpit mesh go, in the ship?



Thanks

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Unless you want to make separate cockpit model, you have to model the ship with cockpit in it, just look at HTL fighters from mediavps, Steve'o's fighter pack or pretty much any user made HTL model. It's not only possible, but also widely used and nearly standard for HTL fighters and bombers, at least Terran ones (though we already have a few Vasudan cockpits in FS2 HTLs, there's also one recent Vasudan fighter made by Aldo_14 that has it).

 

Offline origin

  • 27
Oh I think I get it  - stick a light on the mesh and link to the ship and put the eye point in there right?

 
The first 2 replies seem to indicate I have to model the cockpit inside the ship model - which sounds impossible.

Scooby_Doo I have no idea about the DAE converter, but you say the POF is similar so... 

You must set up a mesh object for the cockpit - I assume this is a mesh that is little more than a box that looks like a cockpit from the inside.  Then I need to link it to the ship.  How?  Link it in PCS, link it in the mesh program before compiling as a POF or what?  And where do I put the eye point?  Where does the cockpit mesh go, in the ship?



Thanks

Correct, for the method that currently works, the cockpit must be modelled into the ship, just like in real life.  You also want to place a eyepoint where your head would be in the model.  Remember polygons are onesided ingame.

For the second part, I don't remeber what tool i used in truespace, trueview??? to link the pieces together.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Col. Fishguts

  • voodoo doll
  • 211
There were some experimental builds that allowed seperate cockpit POFs to be defined... anybody know what happened to that development?
"I don't think that people accept the fact that life doesn't make sense. I think it makes people terribly uncomfortable. It seems like religion and myth were invented against that, trying to make sense out of it." - D. Lynch

Visit The Babylon Project, now also with HTL flavour  ¦ GTB Rhea

 
Thats the alternative method, and it appears to be currently broken (unless someones fixed it)
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline origin

  • 27
Thanks for the help - it is a little tricky trying to get everything lined up, but I am slugging through it.   Am I right in assuming the only way you can check you progress is to start freespace and look at the work in game.  Of course I am using a test mission with just the ship in question.

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Am I right in assuming the only way you can check you progress is to start freespace and look at the work in game.
Yes.