Jump to content

Automation Tools for TES5Edit - Suggestions Thread


matortheeternal

Recommended Posts

I'd like to make another request.

As I understand all enchanted armors or weapons take their attributes from the unenchanted ones ("Template")... All attributes except value. So now I have a real problem because I have changed values of all unenchanted weapons and armors... But values for enchanted items are still same. So is it possible to make a script which would give all enchanted weapons and armors value of unenchanted? It would save me really much time :smile:

 

Hmm. Would deleting the value attribute from the enchanted weapons/armors cause them to use the value attribute from their unenchanted counterparts? If so, QuickChange should do the trick.

Link to comment
Share on other sites

  • Replies 446
  • Created
  • Last Reply

Top Posters In This Topic

No, it seems like it doesn't work this way. If we delete value for enchated armor/weapon it simply becomes 0. Anyway if this request is hard to implement don't bother with it. QuickChange will be anyway a good solution. :)

Link to comment
Share on other sites

 

No, it seems like it doesn't work this way. If we delete value for enchated armor/weapon it simply becomes 0. Anyway if this request is hard to implement don't bother with it. QuickChange will be anyway a good solution. :smile:

 

No I can do it, I just have to add a new function to the QC script. Will do.

 

Thanks! Waiting for release. You cannot imagine how much time it will save me with next versions of my mod. :)

Link to comment
Share on other sites

I'm hoping this stuff will save everyone time for their mods. :}

 

I just finished the formula based replacement for QuickChange. It was kind of a beast to code, but I did it.

 

QuickChange v1.1

 

Read the documentation at the beginning of the script's code for how to use it.

 

 


{
QuickChange v1.1
Created by matortheeternal

*Documentation*
This script will allow you to execute any number of functions on selected
records to modify, add, or delete elements at specific locations. The
functions this script offers are listed below:
-AddElement: Adds an element to a list of elements. E.g. the "Conditions"
section of a COBJ record or the "Factions" section of an NPC record.
Specify the location of the list and the value of the element (only if
the element has a single value).
-Add: Adds an element or group at the specified location. Use this for
elements that aren't in a list.
-Remove: Removes an element, either from a list or just the element itself.
Enter an index if you want to remove an element from a list, else leave
the index input blank.
-Replace: Replaces an element. Doesn't work with lists. Enter the
location of the element you want to look at, the value you want to find,
and the value you want to replace the found value with.
-Formula: Applies a formula to an integer element. Enter the location
of the element you want to look at, and the formula you want to apply to it.
Supported operators: + for addition, - for subtraction, * for multiplication,
/ for division, and ^ for power. You need a space before and after each
operator except for the power operator ^. Parenthesis are supported, and I
recommend you use them as much as possible. x is the variable for the
starting value. So you can do stuff like:
2 * x + 50
x^2 - 1
((3 * x) + x)/2
((5 * x)/2) - x
Everything explodes if the expression ever involves negative numbers, so I
recommend you avoid them.

In TES5Edit there are two kinds of values, Native Values and Edit Values.
Edit values are the ones you see when you look at a record in TES5Edit, while
native values are the ones that are stored internally. I recommend you use
edit values in almost all situations.
}

Edited by matortheeternal
Link to comment
Share on other sites

Could you please give detailed explanation of what I have to enter when asked about "Path of the element" ? Couldn't find information about it in Goolgle, and doesn't seem to work when I enter just "Value"

 

You want DATA\Value

 

The path of the element is the complete path inside the record. So when an element is located inside of another element (in this case, Value is inside of DATA) you have to type the path like I showed above.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...