Difference between revisions of "DPSC (File Format)"

From Retro Modding Wiki
Jump to: navigation, search
(oops)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The '''DPSC format''' contains collision response data. It hasn't been researched as of yet.
+
{{research|2|Parameter keys need reverse-engineering}}
 +
The '''DPSC''' [[Effect Script|effect script]] format is used to build decal effects in the ''Metroid Prime'' series.
 +
Decals are commonly constructed via [[CRSC (File Format)|CRSC]] scripts in the event that a projectile weapon
 +
collides with another object.
  
{{researchmajor|reason=Nothing is known about this format.}}
+
== 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.
 +
 
 +
{| class="wikitable"
 +
!FourCC
 +
!Scope
 +
!Data Type
 +
!Description
 +
!Notes
 +
|-
 +
|<code>DMOO</code>
 +
|
 +
|<code>bool</code>
 +
|
 +
|
 +
|-
 +
|<code>DMAB</code>
 +
|
 +
|<code>bool</code>
 +
|
 +
|
 +
|-
 +
|<code>DMDL</code>
 +
|
 +
|<code>int</code> ([[CMDL (File Format)|CMDL]] ref)
 +
|
 +
|
 +
|-
 +
|<code>DMCL</code>
 +
|
 +
|<code>color</code>
 +
|
 +
|
 +
|-
 +
|<code>DMOP</code>
 +
|
 +
|<code>vector</code>
 +
|
 +
|
 +
|-
 +
|<code>DMRT</code>
 +
|
 +
|<code>vector</code>
 +
|
 +
|
 +
|-
 +
|<code>DMSC</code>
 +
|
 +
|<code>vector</code>
 +
|
 +
|
 +
|-
 +
|<code>DLFT</code>
 +
|
 +
|<code>int</code>
 +
|
 +
|
 +
|-
 +
|<code>nADD</code>
 +
|
 +
|<code>bool</code>
 +
|
 +
|
 +
|-
 +
|<code>nTEX</code>
 +
|
 +
|<code>UV</code>
 +
|
 +
|
 +
|-
 +
|<code>nCLR</code>
 +
|
 +
|<code>float4</code>
 +
|
 +
|
 +
|-
 +
|<code>nOFF</code>
 +
|
 +
|<code>vector</code>
 +
|
 +
|
 +
|-
 +
|<code>nROT</code>
 +
|
 +
|<code>float</code>
 +
|
 +
|
 +
|-
 +
|<code>nSZE</code>
 +
|
 +
|<code>float</code>
 +
|
 +
|
 +
|-
 +
|<code>nLFT</code>
 +
|
 +
|<code>int</code>
 +
|
 +
|
  
 
[[Category:File Formats]]
 
[[Category:File Formats]]

Latest revision as of 23:36, 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 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