Difference between revisions of "DPSC (File Format)"

From Retro Modding Wiki
Jump to: navigation, search
(DPSC Keys)
(DPSC Keys)
Line 38: Line 38:
 
|<code>DMCL</code>
 
|<code>DMCL</code>
 
|
 
|
|<code>bool</code>
+
|<code>color</code>
 
|
 
|
 
|
 
|
Line 44: Line 44:
 
|<code>DMOP</code>
 
|<code>DMOP</code>
 
|
 
|
|<code>bool</code>
+
|<code>vector</code>
 
|
 
|
 
|
 
|
Line 50: Line 50:
 
|<code>DMRT</code>
 
|<code>DMRT</code>
 
|
 
|
|<code>bool</code>
+
|<code>vector</code>
 
|
 
|
 
|
 
|

Revision as of 23:17, 14 August 2016

Morphball wirerender.png This file format needs more research
Parameter keys need reverse-engineering

The DPSC effect script format is used to build decal effects in the Metroid Prime series. Decals are commonly constructed via CRSC scripts in the event that a projectile weapon collides with another object.

DPSC 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
DMOO bool
DMAB bool
DMDL bool
DMCL color
DMOP vector
DMRT vector
DMSC vector
DLFT int
nADD bool
nTEX int (TXTR ref), ATEX
nCLR float4
nOFF bool
nROT float
nSZE float
nLFT int