ORIGINAL: Badger343rd
what ties the avonics to the virtual cockpits???If we're to built dedicated pits with avionics,we need to know what files control the co-ordinates and separete it from the 2d view...ie...what tells the mfd that its connected to the mfd housing in the virtual pit...Anyone????
Materials. If you open Ships/Alliance_Fighters/cockpit7b.mag in Magic 2.0 you can find out there's polygons with materials named HUD, mfd1, mfd2 etc.
I'm assuming the game uses either these material names or the actual .pcx filenames to decide what HUD part goes where.
EDIT: Actually, not quite. Actually used models like FalconPit.mag or StormPit.mag seem to only have two materials, HUD and MFD. These are both textured with hud-512.pcx. The game could be using the texture coordinates and then render the live MFD's onto the correct polygons...