From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:BSP (Source)" |
|---|
| claim | "Static prop records of the 'sprp' game lump: StaticPropLumpV4_t is 56 bytes (origin, angles, propType, firstLeaf, leafCount, solid, flags u8, skin, fadeMinDist, fadeMaxDist, lightingOrigin); V5 adds float forcedFadeScale (60 bytes); V6 adds u16 minDXLevel and maxDXLevel (64 bytes). The current struct widens flags to u32 and adds u16 lightmap resolution X and Y; its on-disk size for SDK version 10 is not computed here. Each prop name is a 128-byte StaticPropDictLump_t entry indexed by propType." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:BSP (Source)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "StaticPropLumpV6_t" |
|---|
| size | 64 |
|---|
| endianness | "little" |
|---|
| fields | | name | "m_Origin" |
|---|
| type | "float[3]" |
|---|
| offset | 0 |
|---|
| size | 12 |
|---|
|
| name | "m_Angles" |
|---|
| type | "float[3]" |
|---|
| offset | 12 |
|---|
| size | 12 |
|---|
|
| name | "m_PropType" |
|---|
| type | "uint16" |
|---|
| offset | 24 |
|---|
| size | 2 |
|---|
|
| name | "m_FirstLeaf" |
|---|
| type | "uint16" |
|---|
| offset | 26 |
|---|
| size | 2 |
|---|
|
| name | "m_LeafCount" |
|---|
| type | "uint16" |
|---|
| offset | 28 |
|---|
| size | 2 |
|---|
|
| name | "m_Solid" |
|---|
| type | "uint8" |
|---|
| offset | 30 |
|---|
| size | 1 |
|---|
|
| name | "m_Flags" |
|---|
| type | "uint8" |
|---|
| offset | 31 |
|---|
| size | 1 |
|---|
|
| name | "m_Skin" |
|---|
| type | "int32" |
|---|
| offset | 32 |
|---|
| size | 4 |
|---|
|
| name | "m_FadeMinDist" |
|---|
| type | "float" |
|---|
| offset | 36 |
|---|
| size | 4 |
|---|
|
| name | "m_FadeMaxDist" |
|---|
| type | "float" |
|---|
| offset | 40 |
|---|
| size | 4 |
|---|
|
| name | "m_LightingOrigin" |
|---|
| type | "float[3]" |
|---|
| offset | 44 |
|---|
| size | 12 |
|---|
|
| name | "m_flForcedFadeScale" |
|---|
| type | "float" |
|---|
| offset | 56 |
|---|
| size | 4 |
|---|
| condition | "version >= 5" |
|---|
|
| name | "m_nMinDXLevel" |
|---|
| type | "uint16" |
|---|
| offset | 60 |
|---|
| size | 2 |
|---|
| condition | "version >= 6" |
|---|
|
| name | "m_nMaxDXLevel" |
|---|
| type | "uint16" |
|---|
| offset | 62 |
|---|
| size | 2 |
|---|
| condition | "version >= 6" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "StaticPropDictLump_t, V4, V5, V6 and current structs; offsets and sizes computed by hand from the member types (all 4-byte aligned). The order of dictionary, leaf list and prop array inside the lump body is not in this header (unverified)." |
|---|
| repo | "https://github.com/ValveSoftware/source-sdk-2013" |
|---|
| commit | "be57e3d01ac7d7aa6a2cacbfef187c0b46616db0" |
|---|
| path | "src/public/gamebspfile.h" |
|---|
| lines | "145-226" |
|---|
|
|
|---|
| confidence | "medium" |
|---|
| related | |
|---|
| key | "Static prop lump" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T23:26:20.065Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-18T23:26:32.155Z" |
|---|
| summary | "Add offsets, drop the unread lump-body order from the claim" |
|---|
| changed | | "claim" |
| "data" |
| "evidence replaced" |
|
|---|
|
|
|---|