SWHC (File Format)

From Retro Modding Wiki
Revision as of 15:14, 14 March 2015 by Jackoalan (Talk | contribs)

Jump to: navigation, search
Morphball wirerender.png This file format needs more research
Key parameters need reverse-engineering

The SWHC effect script format is used to build swoosh effects in the Metroid Prime series. Swooshes are characterized as dynamically-generated, trailing triangle-strips "brushed" into space.

SWHC Keys

Scope is one of (Constant, System)

  • Constant parameters are evaluated once initially and retained within the system.
  • System parameters are evaluated per-system, per-frame.
FourCC Scope Data Type Description Notes
CRND bool
ORNT bool
ZBUF bool
AALP bool
TEXW bool
WIRE bool
SPLN float
VLSn bool Something n:[1-2]
IVEL float3
IROT float
SROT bool
CROS bool
SIDE int
COLR float4
LENG int
LLRD bool
RRAD float
LRAD float
TIME float
TSPN float
TEXR int (data ref), ATEX
VLM2 float3
VELM float3
NPOS float3
POFS float3
ROTM float
PSLT int