Skip to content

PortTag

Hariiiiiiii edited this page Feb 2, 2021 · 5 revisions

Ports a tag from the cache in the porting-context to the current base cache. See OpenCacheFile to learn how to open a cache file in the porting-context.

Usage

PortTag [Options] <tag>

  • tag - Name of the tag you want to port.

Options

Options are space-delimited, and any number of options can be set at once. Place a ! before an option to disable it. For example, adding the option 'Audio' will enable audio porting, but adding the option !Audio will disable it.

  • Replace - Replace tags of the same name when porting.
  • Recursive - Recursively port all tag references available.
  • New - Create a new tag after the last index.
  • UseNull - Port a tag using nulled tag indices where available.
  • Audio - Include 'Sound' (snd!) tags.
  • Elites - Include elite 'Biped' (bipd) tags.
  • ForgePalette - Include 'Scenario.SandboxObject' tag-blocks.
  • Squads - Include 'Scenario.Squad' tag-blocks.
  • Scripts - Include 'Scripting.Script' tag-blocks.
  • MatchShaders - Attempt to match shaders to existing tags.
  • PefectShaderMatchOnly - Only use templates that have the exact same render method options
  • Memory - Keep cache in memory during porting.
  • Rmhg - Include 'ShaderHalogram' (rmhg) tags.
  • Ms30 - Allow using existing tags from Ms30.
  • Print - Allow writing output to the console.
  • Merge - Merges new data if tags exist.
  • Regex - Use a regular expression to determine target tags
  • GenerateShaders - Attempt to generate shaders.
  • MPobject - Add a multiplayerobject block for spawnable tag types.

Options Enabled By Default

  • Recursive
  • Audio
  • Elites
  • ForgePalette
  • Squads
  • Scripts
  • MatchShaders
  • Rmhg
  • Print
  • Merge
  • GenerateShaders
Clone this wiki locally