WPSC (File Format): Difference between revisions
Jump to navigation
Jump to search
no edit summary
>Embyr 75 m ({{research}}) |
imported>Jackoalan No edit summary |
||
Line 1: | Line 1: | ||
The '''WPSC | {{research|2|Key parameters need reverse-engineering}} | ||
The '''WPSC''' [[Effect Script|effect script]] format is used to build weapon-projectiles in the ''Metroid Prime'' series. | |||
Projectile appearance, audio and motion are controlled by the keys in this script. | |||
{ | == 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. | |||
{| class="wikitable" | |||
!FourCC | |||
!Scope | |||
!Data Type | |||
!Description | |||
!Notes | |||
|- | |||
|<code>LWTR</code> | |||
| | |||
|<code>bool</code> | |||
| | |||
| | |||
|- | |||
|<code>EWTR</code> | |||
| | |||
|<code>bool</code> | |||
| | |||
| | |||
|- | |||
|<code>SWTR</code> | |||
| | |||
|<code>bool</code> | |||
| | |||
| | |||
|- | |||
|<code>PJFX</code> | |||
| | |||
|<code>int</code> ([[ATBL (File Format)|ATBL]] entry) | |||
| | |||
| | |||
|- | |||
|<code>TRAT</code> | |||
| | |||
|<code>float</code> | |||
| | |||
| | |||
|- | |||
|<code>HOMG</code> | |||
| | |||
|<code>bool</code> | |||
| | |||
| | |||
|- | |||
|<code>OFST</code> | |||
| | |||
|<code>float3</code> | |||
| | |||
| | |||
|- | |||
|<code>COLR</code> | |||
| | |||
|<code>int</code> ([[CRSC (File Format)|CRSC]] ref) | |||
|Projectile collision-response | |||
| | |||
|- | |||
|<code>PCOL</code> | |||
| | |||
|<code>float4</code> | |||
| | |||
| | |||
|- | |||
|<code>POFS</code> | |||
| | |||
|<code>float3</code> | |||
| | |||
| | |||
|- | |||
|<code>PSCL</code> | |||
| | |||
|<code>float3</code> | |||
| | |||
| | |||
|- | |||
|<code>PSLT</code> | |||
| | |||
|<code>int</code> | |||
| | |||
| | |||
|- | |||
|<code>OHEF</code> | |||
| | |||
|<code>int</code> ([[CMDL (File Format)|CMDL]] ref) | |||
| | |||
| | |||
|- | |||
|<code>APSM</code> | |||
| | |||
|<code>int</code> ([[PART (File Format)|PART]] ref) | |||
|Primary particle-system for projectile | |||
| | |||
|- | |||
|<code>APS0</code> | |||
| | |||
|<code>bool</code> | |||
|Local-transform for <code>APSM</code> | |||
|If set, <code>APSM</code> particles will be continuously-transformed to projectile | |||
|- | |||
|<code>APS1</code> | |||
| | |||
|<code>int</code> ([[PART (File Format)|PART]] ref) | |||
|Secondary particle-system for projectile | |||
| | |||
|- | |||
|<code>AP11</code> | |||
| | |||
|<code>bool</code> | |||
|Local-transform for <code>APS1</code> | |||
|If set, <code>APS1</code> particles will be continuously-transformed to projectile | |||
|- | |||
|<code>APS2</code> | |||
| | |||
|<code>int</code> ([[PART (File Format)|PART]] ref) | |||
|Tertiary particle-system for projectile | |||
| | |||
|- | |||
|<code>AP21</code> | |||
| | |||
|<code>bool</code> | |||
|Local-transform for <code>APS2</code> | |||
|If set, <code>APS2</code> particles will be continuously-transformed to projectile | |||
|- | |||
|<code>ASW1</code> | |||
| | |||
|<code>int</code> ([[SWHC (File Format)|SWHC]] ref) | |||
|Primary swoosh-system for projectile | |||
| | |||
|- | |||
|<code>AS11</code> | |||
| | |||
|<code>bool</code> | |||
|Local-transform for <code>ASW1</code> | |||
|If set, <code>ASW1</code> strips will be continuously-transformed to projectile | |||
|- | |||
|<code>ASW2</code> | |||
| | |||
|<code>int</code> ([[SWHC (File Format)|SWHC]] ref) | |||
|Secondary swoosh-system for projectile | |||
| | |||
|- | |||
|<code>AS12</code> | |||
| | |||
|<code>bool</code> | |||
|Local-transform for <code>ASW2</code> | |||
|If set, <code>ASW2</code> strips will be continuously-transformed to projectile | |||
|- | |||
|<code>ASW3</code> | |||
| | |||
|<code>int</code> ([[SWHC (File Format)|SWHC]] ref) | |||
|Tertiary swoosh-system for projectile | |||
| | |||
|- | |||
|<code>AS13</code> | |||
| | |||
|<code>bool</code> | |||
|Local-transform for <code>ASW3</code> | |||
|If set, <code>ASW3</code> strips will be continuously-transformed to projectile | |||
|- | |||
|<code>PSOV</code> | |||
| | |||
|<code>float</code> | |||
| | |||
| | |||
|- | |||
|<code>IORN</code> | |||
| | |||
|<code>float3</code> | |||
| | |||
| | |||
|- | |||
|<code>VMD2</code> | |||
| | |||
|<code>bool</code> | |||
| | |||
| | |||
|- | |||
|<code>PSVM</code> | |||
| | |||
|<code>float3</code> | |||
| | |||
| | |||
|- | |||
|<code>IVEC</code> | |||
| | |||
|<code>float3</code> | |||
|Initial projectile velocity | |||
| | |||
|- | |||
|<code>RNGE</code> | |||
| | |||
|<code>float</code> | |||
|Maximum projectile range | |||
|Optional parameter, range usually controlled by frame-count / lifetime | |||
|- | |||
|<code>FC60</code> | |||
| | |||
|<code>bool</code> | |||
| | |||
|New in Trilogy (and PAL releases probably) | |||
|- | |||
|<code>SPS1</code> | |||
| | |||
|<code>bool</code> | |||
| | |||
|New in Trilogy (and PAL releases probably) | |||
|- | |||
|<code>SPS2</code> | |||
| | |||
|<code>bool</code> | |||
| | |||
|New in Trilogy (and PAL releases probably) | |||
|- | |||
[[Category:File Formats]] | [[Category:File Formats]] |