Directors Cut Wiki : CameraFiles

DirectorsCutModdingFoundry Categories PageIndex RecentChanges RecentlyCommented Login/Register
Trail: BonePerVertex BusStopWilly CAmelcase4 CadLisp Camel7case CamelCase Camelcase2 CameraFiles

Most recent edit on 2011-03-05 12:20:08 by Gleem!

Additions:

Template File





Oldest known version of this page was edited on 2011-03-05 12:17:20 by Gleem! []
Page view:
This is the .cam Camera files technical information page.



010 Editor v2.1.3 Binary Template

File: LH_cam
Author: Glen Rickey
Revision: .02
Purpose: To parse LH The Movies .cam files into proper fields


struct {
int Magic;
int Length;
int CamCount; 401
struct {
ubyte fl_1 :1;
ubyte fl_2 :1;
ubyte fl_3 :1;
ubyte fl_4 :1;
ubyte fl_5 :1;
ubyte fl_6 :1;
ubyte fl_7 :1;
ubyte fl_8 :1;
} flag_1;
ubyte Unk_2;
ubyte Unk_3;
ubyte Unk_4;

if(Magic
0)
struct {
float camX;
float camY;
float camZ;
float targX;
float targY;
float targZ;
float zoom;
} Cam[CamCount];
else
struct {
float camX;
float camY;
float camZ;
float targX;
float targY;
float targZ;
float zoom;
short clip1;
short clip2;
} Cam_SnE[CamCount];

} cam;
Valid XHTML 1.0 Transitional Valid CSS Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0286 seconds