1,535
edits
Battlepedia>Seil (→Format) |
m (Seil moved page SURF to EvilEngine/SURF) |
||
(11 intermediate revisions by 4 users not shown) | |||
Line 1:
<onlyinclude>
{{#vardefine:typeid|SURF}}<nowiki/>
{{#vardefine:name|Surface}}<nowiki/>
{{#vardefine:type|[[Base]]}}<nowiki/>
{{#vardefine:basetype|0x1A}}<nowiki/>
{{#vardefine:games|Scooby BFBB TSSM Incredibles ROTU RatProto}}<nowiki/>
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zSurface.h zSurface.h]}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoAssetInfobox}}
This asset defines an entry for a surface, which can be applied to other assets such as [[PLAT]], [[SIMP]], [[BOUL]] or even parts of [[JSP]] through the [[MAPR]] asset. The surface can have properties such as special materials, texture animations or patterns, and properties such as hurt, wall jump, out of bounds, prevent standing on.
==Format==
Surfaces are [[
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x08 ||
* 0x00 = ?
* 0x01 = ?
Line 19 ⟶ 24:
* 0x06 = Hazard?
|-
| 0x09 ||
|-
| 0x0A ||
* 0x00 = ?
* 0x01 = ?
|-
| 0x0B ||
|-
| 0x0C ||
|-
| 0x0D ||
* 0x14 = ?▼
* 0x1E = ?▼
* 0x23 = ?▼
|-
| 0x0E ||
|-
| 0x0F ||
* 0x00 =
* 0x02 =
* 0x03 = ?
* 0x04 =
* 0x08 =
* 0x10 =
* 0x20 =
* 0x48 = ?
|-
| 0x10 || float || '''
|-
| 0x14 ||
|-
|
|-
|
|-
| 0x38 || [[#zSurfTextureAnim|zSurfTextureAnim]][2] || '''texture_anim''' ||
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
| 0x124 || float || '''damage_timer''' || little endian
|-
| 0x128 || float || '''damage_bounce''' || little endian
|-
|-
| 0x12C || Event[numberOfEvents] || '''[[Events]]''' ||
|}
===zSurfMatFX===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || uint || '''flags''' ||
* 0 = ?
*
|-
|
|-
|
|-
|
|-
|
|-
|
|}
===zSurfColorFX===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
|
|-
|
|-
|
|}
===zSurfTextureAnim===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
|
|-
|
|-
|
|-
|
|}
===zSurfUVFX===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
| 0x84 || [[Vector3]] || '''scale_spd''' || usually (0, 0, 0)
▲! colspan="3" | Events
|-
|
|-
| 0x9C || [[Vector3]] || '''max''' || usually (0, 0, 0)
|-
| 0xA8 || [[Vector3]] || '''minmax_spd''' || usually (0, 0, 0)
|}
{{Assets}}
{{AutoGameNavs}}
[[Category:Asset]]
|