Problem SC3 VC MFD and HUD problem

n0mad23

Addon Developer
Addon Developer
Joined
Feb 10, 2008
Messages
1,078
Reaction score
17
Points
0
Location
Montesano
Website
soundcloud.com
I've been banging my head against proverbial bricks on this, and after spending a day and a half on it, I thought I might see if anyone else has had this problem.

Here's the section from my cfg file:

Code:
[VC]
MESHNAME=ztc-Icarus
MFD_LEFT=108
MFD_RIGHT=107
HUD=88
HUD_SIZE=0.55
HUD_CENTER=(0.0,0.44,3.34)
In the attached pic, you can see the problem - nothing is aligned! I thought it might be because I have the displays tilted, but have done a test with just the MFDs and stood the meshes perfectly upright with exactly the same result. The MFD and HUD meshes are single surfaces, and textured with a simple white bmp. I have tried various tweaks on the x-axis, but none seem to change anything whatsoever.

I have gone through ar81's tutorial, the Spacecraft doc, and Orbiter SDK and can't find anything addressing this particular problem. I did find that you making the material about .6 emmisive does make the MFDs visible when the cockpit is in deep shadow which is pretty neat.

Anyone have any ideas how I can get this working?

Great thanks in advance :cheers:
 

Attachments

  • IC-MFD and HUD.JPG
    IC-MFD and HUD.JPG
    77.1 KB · Views: 31
Last edited:

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,907
Reaction score
204
Points
138
Location
Cape
The numbers in red correspond to the corners of the MFD in the mesh.

Code:
GEOM 4 2 ; LeftMFD
-0.39456 0.837864 0.449437 0.438371 0 -0.898794 [COLOR="Red"]0 0[/COLOR]
-0.39456 0.634295 0.449437 0.438371 0 -0.898794 [COLOR="red"]0 1[/COLOR]
-0.178112 0.634295 0.555006 0.438371 0 -0.898794 [COLOR="red"]1 1[/COLOR]
-0.178112 0.837864 0.555006 0.438371 0 -0.898794 [COLOR="red"]1 0[/COLOR]
[COLOR="Red"]2 1 3
0 3 1[/COLOR]
 

n0mad23

Addon Developer
Addon Developer
Joined
Feb 10, 2008
Messages
1,078
Reaction score
17
Points
0
Location
Montesano
Website
soundcloud.com
Thanks! I wondered if it wasn't a problem with the meshes. From Orbiter SDK, it was the only passage that seemed to be applicable. I've never played with meshes in a text editor, and suspected that it would be necessary at some point.

I'll be back with an update as soon as I get it working.

Thanks again, Donamy.
 

n0mad23

Addon Developer
Addon Developer
Joined
Feb 10, 2008
Messages
1,078
Reaction score
17
Points
0
Location
Montesano
Website
soundcloud.com
Solved

I've finally had success, and once again "Thank You!" to all the archival thread posters whose individual bits and pieces lead to the final solution. Donamy, your mesh key was the final piece of the puzzle, though I had to do it slightly differently.

Here's the code for one of the MFDs:

Code:
GEOM 4 2 ;Group 107 z-mfd.dds mfd1
-.174047  .5067943  3.275524  0 -.6156282 -.7880366  0  0
-.174047  .4358714  3.33093  0 -.6156282 -.7880366  0  1
-.084047  .5067943  3.275524  0 -.6156282 -.7880366  1  0
-.084047  .4358714  3.33093  0 -.6156282 -.7880366  1  1
 3  1  0
 2  3  0


Spacecraft3 VCs really are better than a poke in the eye with a sharp stick, but it's obvious C++ is the way to go. Too bad I dropped coding when it went Turbo way back when. I've got one too many other interests to go down that road now.

The discovery about setting the "emissive" levels to about .7 is certainly one for people who choose to go down this path to know about.
 

Attachments

  • SC3 VC.JPG
    SC3 VC.JPG
    84.7 KB · Views: 27

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,907
Reaction score
204
Points
138
Location
Cape
It's still not a science for me either. :lol:
 
Top