Difference between revisions of "Editor Commands"

 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
Content here reflects upcomming HX/Launch Bag release. These commands may or may not be available in current version.
+
Content here reflects upcomming HX/Launch Bag release. These commands may or may not be available in the current version.
 +
 
 +
= ACTOR =
 +
 
 +
TODO
  
 
= PALETTE =
 
= PALETTE =
 +
 +
===== PALETTE ALPHA PALETTE=<Palette> <Mode> =====
 +
 +
Updates alpha value of each palette entry based on mode parameter.
 +
 +
{| class="wikitable"
 +
|-
 +
! Mode !! Description !! Remark
 +
|-
 +
| INDEX || Sets alpha to entries palette index. ||
 +
|-
 +
| MIN || Sets alpha to min{R,G,B}. ||
 +
|-
 +
| MAX || Sets alpha to max{R,G,B}. || This is how  Launch Bag internally handles translucent draw mode.
 +
|-
 +
| MEAN || Sets alpha to arithmetic mean of {R,G,B}. ||
 +
|-
 +
| LUMA || Sets alpha to 0.2126*R+0.7152*G+0.0722*B || This is Rec. 709 Luma assuming sRGB colors in palette.
 +
|-
 +
| <Integer> || Sets alpha of all palette entries to fixed integer value. || This is useful for water surfaces or glass.
 +
|}
  
 
===== PALETTE ALPHATRICK PALETTE=<Palette> =====
 
===== PALETTE ALPHATRICK PALETTE=<Palette> =====
  
Copies blue to alpha channel on Palette <Palette>.
+
Copies values of blue channel to alpha channel for each entry on Palette <Palette>.
 +
 
 +
===== PALETTE BLACKMASK PALETTE=<Palette> =====
 +
 
 +
Replaces all solid black (#000000FF) palette entries with clear (#00000000).
 +
 
 +
===== PALETTE BLUEMASK PALETTE=<Palette> =====
 +
 
 +
Replaces all solid blue (#0000FFFF) palette entries with clear (#00000000).
 +
 
 +
===== PALETTE CYANMASK PALETTE=<Palette> =====
 +
 
 +
Replaces all solid cyan (#00FFFFFF) palette entries with clear (#00000000).
 +
 
 +
===== PALETTE GREENMASK PALETTE=<Palette> =====
 +
 
 +
Replaces all solid green (#00FF00FF) palette entries with clear (#00000000).
 +
 
 +
===== PALETTE IMPORT [PACKAGE=<Package>] FILE=<Filename> [NAME=<Name>] [GROUP=<Group>] =====
 +
 
 +
Imports Palette from disk.
 +
 
 +
===== PALETTE MASK PALETTE=<Palette> =====
 +
 
 +
Replaces first palette entry with clear (#00000000).
 +
 
 +
===== PALETTE ORANGEMASK PALETTE=<Palette> =====
 +
 
 +
Replaces all solid orange (#FF8000FF) palette entries with clear (#00000000).
 +
 
 +
===== PALETTE PINKMASK PALETTE=<Palette> =====
 +
 
 +
Replaces all solid pink (#FF00FFFF) palette entries with clear (#00000000).
 +
 
 +
===== PALETTE REDMASK PALETTE=<Palette> =====
 +
 
 +
Replaces all solid red (#FF0000FF) palette entries with clear (#00000000).
 +
 
 +
===== PALETTE WHITEMASK PALETTE=<Palette> =====
 +
 
 +
Replaces all solid white (#FFFFFFFF) palette entries with clear (#00000000).
 +
 
 +
===== PALETTE YELLOWMASK PALETTE=<Palette> =====
 +
 
 +
Replaces all solid yellow (#FFFF00FF) palette entries with clear (#00000000).
 +
 
 +
= SELECT =
 +
 
 +
===== SELECT ALL =====
 +
 
 +
Alias for ACTOR SELECT ALL.
 +
 
 +
= SKY =
 +
 
 +
===== SKY LINK =====
 +
 
 +
Tries to link all ZoneInfos to their skies by calling their respective LinkToSkybox UnrealScript event. This is required to view SkyZones in Editor.
 +
 
 +
===== SKY UNLINK =====
 +
 
 +
Resets SkyZone to None on all ZoneInfos.
 +
 
 +
= WARP =
 +
 
 +
===== WARP LINK =====
 +
 
 +
Tries to link WarpZones by calling their respective Generate UnrealScript event. This is required to view WarpZones in Editor.
 +
 
 +
===== WARP UNLINK =====
 +
 
 +
Resets OtherSideLevel and OtherSideActor to None on all WarpInfos.

Latest revision as of 17:34, 20 April 2021

Content here reflects upcomming HX/Launch Bag release. These commands may or may not be available in the current version.

ACTOR

TODO

PALETTE

PALETTE ALPHA PALETTE=<Palette> <Mode>

Updates alpha value of each palette entry based on mode parameter.

Mode Description Remark
INDEX Sets alpha to entries palette index.
MIN Sets alpha to min{R,G,B}.
MAX Sets alpha to max{R,G,B}. This is how Launch Bag internally handles translucent draw mode.
MEAN Sets alpha to arithmetic mean of {R,G,B}.
LUMA Sets alpha to 0.2126*R+0.7152*G+0.0722*B This is Rec. 709 Luma assuming sRGB colors in palette.
<Integer> Sets alpha of all palette entries to fixed integer value. This is useful for water surfaces or glass.
PALETTE ALPHATRICK PALETTE=<Palette>

Copies values of blue channel to alpha channel for each entry on Palette <Palette>.

PALETTE BLACKMASK PALETTE=<Palette>

Replaces all solid black (#000000FF) palette entries with clear (#00000000).

PALETTE BLUEMASK PALETTE=<Palette>

Replaces all solid blue (#0000FFFF) palette entries with clear (#00000000).

PALETTE CYANMASK PALETTE=<Palette>

Replaces all solid cyan (#00FFFFFF) palette entries with clear (#00000000).

PALETTE GREENMASK PALETTE=<Palette>

Replaces all solid green (#00FF00FF) palette entries with clear (#00000000).

PALETTE IMPORT [PACKAGE=<Package>] FILE=<Filename> [NAME=<Name>] [GROUP=<Group>]

Imports Palette from disk.

PALETTE MASK PALETTE=<Palette>

Replaces first palette entry with clear (#00000000).

PALETTE ORANGEMASK PALETTE=<Palette>

Replaces all solid orange (#FF8000FF) palette entries with clear (#00000000).

PALETTE PINKMASK PALETTE=<Palette>

Replaces all solid pink (#FF00FFFF) palette entries with clear (#00000000).

PALETTE REDMASK PALETTE=<Palette>

Replaces all solid red (#FF0000FF) palette entries with clear (#00000000).

PALETTE WHITEMASK PALETTE=<Palette>

Replaces all solid white (#FFFFFFFF) palette entries with clear (#00000000).

PALETTE YELLOWMASK PALETTE=<Palette>

Replaces all solid yellow (#FFFF00FF) palette entries with clear (#00000000).

SELECT

SELECT ALL

Alias for ACTOR SELECT ALL.

SKY

SKY LINK

Tries to link all ZoneInfos to their skies by calling their respective LinkToSkybox UnrealScript event. This is required to view SkyZones in Editor.

SKY UNLINK

Resets SkyZone to None on all ZoneInfos.

WARP

WARP LINK

Tries to link WarpZones by calling their respective Generate UnrealScript event. This is required to view WarpZones in Editor.

WARP UNLINK

Resets OtherSideLevel and OtherSideActor to None on all WarpInfos.