Site Tools


smithbox:param-editor-massedit-guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
smithbox:param-editor-massedit-guide [2026/01/20 15:57] – created adminsmithbox:param-editor-massedit-guide [2026/01/20 16:04] (current) – admin
Line 46: Line 46:
 A variable's current value can be accessed using $name, and is usable in selector args, op args, and even the args of those op args. A variable's current value can be accessed using $name, and is usable in selector args, op args, and even the args of those op args.
 Sets of vars can be selected in the same manner as params, and can be modified with the same operations available to edit param fields. Sets of vars can be selected in the same manner as params, and can be modified with the same operations available to edit param fields.
 +
 +===== Search Bar =====
 +The searchbar utilise Regex, and words surrounded by ! in commands indicate that a Regex expression may be used instead of plain text.
 +All other words in capitals are parameters for the given command.
 +Regex searches are case-insensitive and the searched term may appear anywhere in the target rows. To specify an exact match, surround the text with ^ and $ (eg. ^10$) or use a range variant.
 +Multiple selectors can be given by separating them with &&.
 +
 +Row selection is done through any of the following:
 +  !VALUE!: to select rows with a matching ID or a matching name
 +  modified: to select rows changed from vanilla
 +  !modified: to select unmodified rows
 +  id !VALUE!: to select rows with a matching ID
 +  idrange MIN MAX: to select rows with an ID within the given bounds
 +  name !NAME!: to select rows with a matching name
 +  prop FIELD !VALUE!: to select rows who have a matching value for the given field
 +  proprange FIELD MIN MAX: to select rows who have a value for the given field within the given bounds
 +  propref FIELD !NAME!: to select rows that have a reference to another row with a matching name.
 +
 +===== Search Examples =====
 +This searches for all rows with an id containing 10000. This includes 10000, 1000010, 210000
 +  id 10000
 +
 +This searches for all rows with a name containing Dagger. This includes Blood Dagger, Sharp daggers and daggerfall
 +  name Dagger
 +
 +This searches for all rows whose field originEquipWep0 refers to a row with a name containing Dagger, following the same rules above.
 +  propref originEquipWep0 Dagger
 +
 +This searches for all rows with a name containing Dagger and that have an id greater than 9999
 +  name Dagger && idrange 10000 Infinity
 +  
 +===== Command Examples =====
 +This selects from the current selection, the field throwAtkRate and makes its value 30
 +  selection: throwAtkRate: = 30;
 +  
 +This selects from EquipParamWeapon all rows beginning with Dagger, and multiplies the values in throwAtkRate by 2
 +  param EquipParamWeapon: name Dagger.*: throwAtkRate: * 2;
 +  
 +This selects from EquipParamWeapon all rows whose weaponCategory is 0, and adds the row's correctStrength to its correctAgility
 +  param EquipParamWeapon: prop weaponCategory 0: correctAgility: + field correctStrength;
 +  
 +This selects from EquipParamWeapon ALL rows, and replaces all cases of Dark in their name with Holy
 +  param EquipParamWeapon: id .*: name: replace Dark:Holy;
 +  
 +This selects from EquipParamWeapon all rows beginning with Dagger and with an id higher than 9999, and multiplies the values in throwAtkRate by 2
 +  param EquipParamWeapon: name Dagger.* && idrange 10000 Infinity: throwAtkRate: * 2;
smithbox/param-editor-massedit-guide.1768924642.txt.gz · Last modified: by admin