DPSC (File Format): Difference between revisions

From Retro Modding Wiki
Jump to navigation Jump to search
>Aruki
>Aruki
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 32: Line 32:
|<code>DMDL</code>
|<code>DMDL</code>
|
|
|<code>bool</code>
|<code>int</code> ([[CMDL (File Format)|CMDL]] ref)
|
|
|
|
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>
|
|
|
|
Line 74: Line 74:
|<code>nTEX</code>
|<code>nTEX</code>
|
|
|<code>int</code> ([[TXTR (File Format)|TXTR]] ref), <code>ATEX</code>
|<code>UV</code>
|
|
|
|
Line 86: Line 86:
|<code>nOFF</code>
|<code>nOFF</code>
|
|
|<code>bool</code>
|<code>vector</code>
|
|
|
|

Latest revision as of 05:36, 15 August 2016

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 int (CMDL ref)
DMCL color
DMOP vector
DMRT vector
DMSC vector
DLFT int
nADD bool
nTEX UV
nCLR float4
nOFF vector
nROT float
nSZE float
nLFT int