Difference between revisions of "Search & Replace"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(Created page with "The Search & Replace window will search for objects and replace them with others. The window can be found under the title bar menu, <code>Edit -> Search & Replace...</code...")
 
imported>Qazaaq
 
Line 17: Line 17:
=== Wildcard Replace ===
=== Wildcard Replace ===
The ''Wildcard Replace'' tab will search for [[Reference]]s matching the ''Search for'' expression, and then replace them with a set of [[Form]]s matching the ''Replace with'' expression.
The ''Wildcard Replace'' tab will search for [[Reference]]s matching the ''Search for'' expression, and then replace them with a set of [[Form]]s matching the ''Replace with'' expression.
[[File:Search & Replace Wildcard Window.png]]{{ClearFloats}}
The images show how to replace all varieties of ''Corn'' with ''Razorgrain'' within the currently loaded [[Cell]].
[[File:Search & Replace Objects Window.png]]
 
[[File:Search & Replace Wildcard Window.png]]
*'''Search for:''' The wildcard expression to search for.
*'''Search for:''' The wildcard expression to search for.
*'''Replace with:''' The wildcard expression to replace with.
*'''Replace with:''' The wildcard expression to replace with.
===== Result =====
[[File:Search & Replace Objects Window.png]]


== Notes ==  
== Notes ==  

Latest revision as of 22:59, 16 December 2018

The Search & Replace window will search for objects and replace them with others. The window can be found under the title bar menu, Edit -> Search & Replace...

Editor Window[edit | edit source]

Search & Replace Window.png

  • Flags: Select one of the following.
    • Current World Only: Replace all objects in the currently loaded WorldSpace. Does not work in interiors, an exterior cell must be selected in the Render Window.
    • Current Cell Only: Replace all objects in the current Cell.
    • Selection Only: Only replace the current reference selected in the Render Window. Checked by default.

Single Form Replace[edit | edit source]

Search & Replace Single Form Window.png

  • Search for: Drop-down listing all objects in the game. If a reference was selected in the render window, its base ID will be listed here.
  • Replace with: The base object ID to replace the reference with. If a reference was selected in the render window, the next item in the list alphabetically will be listed here.
  • Same base object type only:

Wildcard Replace[edit | edit source]

The Wildcard Replace tab will search for References matching the Search for expression, and then replace them with a set of Forms matching the Replace with expression. The images show how to replace all varieties of Corn with Razorgrain within the currently loaded Cell.

Search & Replace Wildcard Window.png

  • Search for: The wildcard expression to search for.
  • Replace with: The wildcard expression to replace with.
Result[edit | edit source]

Search & Replace Objects Window.png

Notes[edit | edit source]

  • Replaced references will retain any data attached.

See Also[edit | edit source]