Difference between revisions of "ELSC (File Format)"

From Retro Modding Wiki
Jump to: navigation, search
m ({{research}})
Line 1: Line 1:
{{research|3|There is nothing known about this format.}}
+
{{research|2|Parameter keys need reverse-engineering}}
 +
The '''ELSC''' [[Effect Script|effect script]] format is used to build electric effects in the ''Metroid Prime'' series.
 +
Electric effects are commonly used to dynamically-render lightning and electrical arcs.
  
The '''ELSC format''' is used for electric particle data in the Prime series.
+
== ELSC 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>ZERY</code>
 +
|
 +
|<code>bool</code>
 +
|
 +
|
 +
|-
 +
|<code>EPSM</code>
 +
|
 +
|<code>int</code> ([[PART (File Format)|PART]] ref)
 +
|
 +
|
 +
|-
 +
|<code>LCLn</code>
 +
|
 +
|<code>float4</code>
 +
|Something n:[1-3]
 +
|
 +
|-
 +
|<code>LWDn</code>
 +
|
 +
|<code>float</code>
 +
|Something n:[1-3]
 +
|
 +
|-
 +
|<code>GPSM</code>
 +
|
 +
|<code>int</code> ([[PART (File Format)|PART]] ref)
 +
|
 +
|
 +
|-
 +
|<code>SSWH</code>
 +
|
 +
|<code>int</code> ([[SWHC (File Format)|SWHC]] ref)
 +
|
 +
|
 +
|-
 +
|<code>AMPD</code>
 +
|
 +
|<code>float</code>
 +
|
 +
|
 +
|-
 +
|<code>AMPL</code>
 +
|
 +
|<code>bool</code>
 +
| Something n:[1-2]
 +
|
 +
|-
 +
|<code>FEMT</code>
 +
|
 +
|<code>SEMR</code>, <code>SPHE</code>
 +
|
 +
|
 +
|-
 +
|<code>IEMT</code>
 +
|
 +
|<code>SEMR</code>, <code>SPHE</code>
 +
|
 +
|
 +
|-
 +
|<code>COLR</code>
 +
|
 +
|<code>float4</code>
 +
|
 +
|
 +
|-
 +
|<code>SSEG</code>
 +
|
 +
|<code>int</code>
 +
|
 +
|
 +
|-
 +
|<code>SCNT</code>
 +
|
 +
|<code>int</code>
 +
|
 +
|
 +
|-
 +
|<code>GRAT</code>
 +
|
 +
|<code>float</code>
 +
|
 +
|
 +
|-
 +
|<code>SLIF</code>
 +
|
 +
|<code>int</code>
 +
|
 +
|
 +
|-
 +
|<code>LIFE</code>
 +
|
 +
|<code>int</code>
 +
|
 +
|
  
 
[[Category:File Formats]]
 
[[Category:File Formats]]

Revision as of 16:25, 14 March 2015

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

The ELSC effect script format is used to build electric effects in the Metroid Prime series. Electric effects are commonly used to dynamically-render lightning and electrical arcs.

ELSC 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
ZERY bool
EPSM int (PART ref)
LCLn float4 Something n:[1-3]
LWDn float Something n:[1-3]
GPSM int (PART ref)
SSWH int (SWHC ref)
AMPD float
AMPL bool Something n:[1-2]
FEMT SEMR, SPHE
IEMT SEMR, SPHE
COLR float4
SSEG int
SCNT int
GRAT float
SLIF int
LIFE int