Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- COD4_LUMP_MATERIALS = 0,
- COD4_LUMP_PLANES = 4,
- COD4_LUMP_BRUSHSIDES = 5,
- COD4_LUMP_BRUSHES = 8,
- COD4_LUMP_TRIANGLES = 9,
- COD4_LUMP_DRAWVERTS = 0xA,
- COD4_LUMP_DRAWINDICES = 0x0B,
- COD4_LUMP_LIGHTREGIONS = 0x34,
- COD4_LUMP_LIGHTREGION_HULLS = 0x35,
- COD4_LUMP_LIGHTREGION_AXES = 0x36,
- COD4_LUMP_MODELS = 0x25,
- COD4_LUMP_PRIMARY_LIGHTS = 0x2b,
- COD4_LUMP_ENTITIES = 0x27
- byte_14603F4D0 = 0 materials
- dword_145DF79A4
- struct dmaterial_t
- {
- char material[64];
- int surfaceFlags;
- int contentFlags;
- };
- unk_145F0F4C0 = 4 = Planes
- dword_14933D1FC
- struct Plane
- {
- float normal[3];
- float distance;
- }
- dword_14803D1E0 = 5 = Brush Sides
- dword_14F25517C
- struct Brushside
- {
- union
- {
- unsigned int plane;
- float distance;
- } column;
- unsigned int texture;
- };
- word_150315190 = 8 = LUMP_BRUSHES
- dword_14F255174
- struct Brush
- {
- unsigned short sides;
- unsigned short material_id;
- };
- unk_14A365190 = 9 = LUMP_TRIANGLES
- qword_14603F4C0
- struct __declspec(align(2)) CoD4TriangleSoup24
- {
- WORD matlIdx;
- BYTE lightmapIndex;
- char padding;
- char reflectionProbeIndex;
- char zeroPad;
- char primaryLightIndex;
- BYTE paddingAgain[1];
- int vertexLayerData;
- DWORD firstVertex;
- WORD vertexCount;
- WORD indexCount;
- DWORD firstIndex;
- };
- unk_14A4E51A0 = 10 / 0xA = Layered Verts
- *(&qword_14603F4C0 + 1) = v140;
- - identical
- word_14F6F5180 = 11, 0x0B = Layered Indexes
- qword_14A359180
- - identical
- dword_14FCF5180 = 27, 0x1b, Nodes
- dword_145DF3980
- struct dnode_t
- {
- int planeNum;
- int children[2];
- int mins[3];
- int maxs[3];
- };
- unk_14F5F5180 = 29, 0x1d, Leaf Brushes
- dword_14933D1F4
- struct LeafBrush
- {
- uint32_t same; //?
- };
- unk_151335190 = 31, 0X1F, LUMP_COLLISIONVERTS ???
- dword_14A4E5194
- unk_14F2251A0 = 37, 0x25, Models
- 0x0146058D10
- byte_150335190 = 39, 0x27, LUMP_ENTITIES
- dword_150315180
- struct DiskEntities
- {
- char string[1]
- }
- unk_1513F5190 = 43, 0x2b, Primary Lights
- dword_14603F4C8
- struct DiskPrimaryLight_Version16
- {
- unsigned __int16 falloffStart;
- char falloffSizeLessOne;
- char type;
- float color[3];
- float dir[3];
- float origin[3];
- float radius;
- float cosHalfFovOuter;
- float cosHalfFovInner;
- int exponent;
- char defName[40];
- };
- struct DiskPrimaryLight_WAW
- {
- BYTE type;
- char canUseShadowMap;
- WORD cullDist;
- char priority;
- float color[3];
- float dir[3];
- float origin[3];
- float radius;
- float cosHalfFovOuter;//cos(fovouter/2) from radiant
- float cosHalfFovInner; //cos(fovinner/2) from radiant
- float exponent; //the exponent integer kv in radiant
- float rotationLimit; //cos(maxturn (deg)) in radiant
- float translationLimit; //maxmove in radiant
- char defName[64];
- };
- unk_14803D0E0 = 52, 0x34, Light Regions
- dword_14F255170
- struct LightRegion
- {
- char index;
- }
- unk_1513FD110 = 53, 0x35, Light Region Hulls
- dword_14A13D174
- struct DiskHulls
- {
- char unknown[0x4Cu];
- }
- unk_145DFF9C0 = 54, 0x36, Light Region Axes
- dword_146058D1C
- struct DiskAxis
- {
- char unknown[0x14u];
- }
- created by radiance tool
- word_145DF3990 = 44 = Light Grid Header
- ?????
- struct {
- union {
- struct {
- uint16_t min_x;
- uint16_t min_y;
- }
- DWORD a;
- }
- union {
- struct {
- uint16_t min_z;
- uint16_t max_x;
- }
- DWORD b;
- }
- union {
- struct {
- uint16_t max_y;
- uint16_t max_z;
- }
- DWORD c;
- }
- DWORD rowAxis;
- DWORD colAxis;
- int16_t data[ *(this + rowAxis + 3) ]
- }
- unk_14F1E51A0 = 25 = Light Grid Rows
- dword_146058D18
- word_148F3D1F0 = 2 = Light Grid Points
- dword_149E9D16C
- unk_14933D200 = 3 = Light Grid Colors
- dword_14A4E519C ???
- unk_1400F3980 = = lightmaps
- dword_146058D14
- unused by radiance tool
- unk_146054D10 = 13, 0xd, LUMP_CULLGROUPINDICES ?
- dword_14A13D170
- unk_14600F4C0 = 19, 0x13, Portal Verts
- dword_14A13D178
- unk_14F935180 = 49, 0x31, Simple Indexes
- *(&qword_14A359180 + 1) = v178;
- unk_14CB251A0 = 48, 0x30 = Simple Verts
- *(&qword_145DF79A8 + 1)
- unk_149E8D160 = 50, unknown???/ 32 bytes
- == dword_145DF398C
- unk_149E7D160 = 12, 0xc, LUMP_CULLGROUPS ?
- dword_145DF398C
- unk_14A159180 = 7 = LUMP_BRUSHEDGES
- dword_14803D0DC
- unk_14A09D170 = 6 = LUMP_BRUSHSIDEEDGECOUNTS
- == dword_14F25517C
- unk_14A425190 = 47 = Simple Tri Soups
- // TODO:
- unk_14A359190 = 33, 0x21, Collision Edge Walk
- // unsued
- unk_14F315180 = 34, 0x22, Collision Borders
- dword_14A4E5198 98
- unk_14F1651A0 = 30, 0x1E, Leaf Surfaces ???
- dword_145DF3988
- unk_145E4F4C0 = 28, 0x1c, Leafs
- dword_149DBD158
- unk_145DF79B0 = 26, 0x1a, Portals
- dword_149DBD15C
- unk_149DBD160 = 24, 0x18, Layered AABB Trees
- qword_14A359188
- unk_149E1D160 = 51, 0x33, Simple AABB Trees
- *(&qword_14A359188 + 1)
- unk_14FB75180 = 35, 0x23, Collision Parts
- dword_14933D1F0
- unk_14873D1F0 = 36, 0x24, Collision AABB
- dword_14A4E5190
- unk_149E9D170 = 38, 0x26, LUMP_VISIBILITY
- dword_14933D1F8 = v387;
- unk_146058D20 = 41, 0x29, Reflection Probe
- dword_150315184
- unk_14A13D180 = 25, 0x19, cells
- dword_14603F4CC
- unk_14853D1E0 = 42, 0x2a, Layered Data
- dword_14A13D17C
- unk_14F255180 = 32, 0X20, Collision Tris
- dword_145DF3984
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement