Skyrim
0 of 0

File information

Last updated

Original upload

Created by

DovahShu

Uploaded by

DovahShu

Virus scan

Safe to use

Tags for this mod

About this mod

This mod adds power to enchanted items by attaching the name of the enchantment and the amount of the effect.
There is also the ability to simply rename the selected item.

Requirements
Permissions and credits
Changelogs
このMODは、プレイヤーが付呪したアイテムに付呪の名前と効果の量をくっつけるパワーを追加するMODです。

例えば10ダメージを与える炎ダメージの付呪をした鉄の剣をこのパワーで名前を変更した場合、

-[炎ダメージ]鉄の剣[10]

という名前に変更します。

複数の付呪が付いている装備には複数並びます。
MCMで名前にくっつける要素や、くっつく順番、ヘッダを変更したりできます。

単純に選択したアイテムの名前を編集するパワーも追加されます。

Ver.1.1.0で設定用のJSONファイルを用いて付呪の効果名とは別の名前をくっつける設定ができるようになりました。
JContainersが必要になりました。
また、付呪画面で説明が出てこない効果(冷気ダメージでくっつく減速など)は名前にくっつけないようになりました。

---- 使い方 ----

まずMOD導入時に追加される「[E.R.] 付呪済みアイテムの名前変更」というパワーを使ってください。
確認のダイアログが出た後、名前を変えたいアイテムを選んでアクティベートしてください。
アイテムウィンドウを閉じると選択したアイテムの名前が一括で変更されます。

プレイヤーが付呪したアイテム以外は元の名前のままで何も処理はされません。
(付呪の効果を得るために使うGetEnchantment関数が元から付呪されているアイテムだと効果を取得できないため)


「[E.R.] インベントリのアイテムの名前変更」を使うと同じように確認ダイアログが出た後に名前を変えたいアイテムをアクティベートすると、一つずつ名前を編集していきます。
なお途中で編集をやめる事はできませんので、一度に大量のアイテムを選択すると大変な事になるので注意してください。



---- MCM ----

MCMで設定できるのは以下の項目になります。

・Format

どのような形で付呪名と効果量をつけるかを設定します。

  • 付呪名をアイテム名の前に、効果量を後ろに付ける
  • 付呪名・効果量を両方ともアイテム名の後ろに付ける
  • 付呪名・効果量を両方ともアイテム名の前に付ける

の3パターンから選べます。

・名前に付ける項目

付呪名と効果量のどれを名前に付けるのかを設定します。
付呪名のみ、効果量のみ、両方の3パターンを選べます。

・ヘッダ

「[E.R.] 付呪済みアイテムの名前変更」で名前を付け直す際に先頭に付けるヘッダを指定します。
例えば両手武器を使う際に用いる防具の場合は「-」、魔法用の防具の場合は「*」、隠密用の防具は「+++」みたいに用途に応じてヘッダを変えて
名前ソートした際にわかりやすいようにすることができます。

・名前変更済みのアイテムは処理しない

これにチェックを入れていると、「[E.R.] 付呪済みアイテムの名前変更」は名前が変更されたアイテムは処理をスキップするようになります。
例えば武器を強化した際に名前に「優良」などの品質がくっつきますが、このように名前が変更されたアイテムは処理しなくなります。

このチェックを外すと変更済みのアイテムでも付呪名をくっつけられますが、一度付呪名をくっつけた装備に対してまたくっつける事ができるようになってしまいます。

・ダイアログ表示

このチェックを外すと、パワーを使った際に簡単な説明用のダイアログが出なくなります。
(「[E.R.] 付呪済みアイテムの名前変更」と「[E.R.] インベントリのアイテムの名前変更」を使った後にアイテムを選択する画面では区別がつけられないため、それが出る前に説明用の文章を表示しています)


---- 設定ファイルについて ----

SKSE/Plugins/Enchant Renamer/name.json

というファイルで、各付呪の効果が付いている時に付ける名前を別に設定できます。

例えば

"__formData|Skyrim.esm|0x4605a": "火炎",

という設定がある場合、炎ダメージの付呪を付けた武器には代わりに「火炎」がつけられます。

付呪名が長すぎてくっつけると武器の名前も長くなりすぎる場合や、効果名はわかりやすいままでかっこいい名前をくっつけたい場合などに利用できます。

このファイルをカスタマイズして別の名前を付けたい付呪を増やしたい場合、

"__formData|[付呪の効果のMagic Effectの入っているMODのプラグイン名]|0x[付呪の効果のMagic EffectのFormID(16進数で下6桁)]": "[くっつける名前]",

というフォーマットで記述した設定をname.jsonの最初の{と最後の}の間にに追加してください。
例えばA.espのFormIDが800のMagic Effectの付呪で「不思議」という名前を付けたい場合は、

"__formData|A.esp|0x800": "不思議",

というのを追加してください。
なお編集する際、最後の設定項目だけ末尾の,を消してください。つけたままだと正常に読み込まれません。

設定ファイルに含まれていない効果は今まで通りそのまま効果の名前が追加されます。

デフォルトの設定ファイルではバニラの効果の一部の名前を短くしたものをくっつけるように設定されています。

MO2を使っている場合はSKSE/Plugins/Enchant Renamer/name.jsonのみをコピペしたMODを作り、その設定ファイルを弄るようにするのをオススメします。


---- Enchant Renamer Setting Formatについて ----

DownloadにあるEnchant Renamer Setting Formatは、xEditで付呪の効果のMagic Effectを選択、Enchant Renamerの設定ファイルのフォーマットで出力するためのスクリプトです。

xEditのインストール先にある「Edit Scripts」フォルダにEnchant Renamer Setting Format.pasをコピーしてください。

コピーが完了したら設定ファイルに追加したい付呪があるMODを読み込んでxEditを起動し、

(1)設定ファイルに追加したい付呪のMagic Effectを選択(複数選択可)
(2)右クリックしてApply scriptを選択、Enchant Renamer Setting Format.pasを選択してApplyボタンをクリック

とすると「Edit Scripts」フォルダに、選択されたMagic Effectを設定ファイル用のフォーマットで記述したer.txtというファイルが出力されます。
この出力されたer.txtの中身をコピーしてname.jsonに貼り付けて名前を編集してください。


---- 現状の仕様・問題点 ----

・内部的に複数の効果を持っている付呪について

例えば火炎の魂縛は内部的には「魂縛」「炎ダメージ」という二つの効果を持っているため、
このMODで名前を付けると

-[魂縛][炎ダメージ]...(...,...)

という風に名前が付けられます。

場合によってはかなり長い名前になってしまうので、「[E.R.] インベントリのアイテムの名前変更」のパワーで編集してください。


・手動でのみ付与できる

付呪した直後にそのアイテムを取得する方法がわからないので、付呪した際に自動で名前を変更することができません。


---- Credits ----
SkyUI by SkyUI Team
UIExtensions by Expired
JContainers by silvericed

--------------------------------------------------------------------------------

(This text and english messages in game are machine translated)

This mod is a mod that adds the power to attach the name of the enchantment and the amount of effect to the enchanted item.

For example, if an iron sword enchanted with fire damage that deals 10 damage is renamed with this power,

- [Fire Damage]Iron Sword[10]

rename it to.
Equipment with multiple enchantments will be lined up.

You can change the elements attached to the name in MCM, the order of attachment, and the header.

It also adds the power to edit the name of a simply selected item.

In Ver.1.1.0, it is now possible to set a name different from the enchantment effect name using a setting JSON file.
JContainers is now required.
Also, effects that don't have an explanation on the enchantment screen (such as slowing down with cold damage) are no longer attached to the name.


---- Usage ----

First, use the power "[E.R.] Rename Enchanted Item" that is added when the mod is installed.
After the confirmation dialog appears, select the item you want to rename and activate it.
When you close the item window, the names of the selected items are changed all at once.

Any items other than items enchanted by the player will retain their original names and will not be processed.
(Because the GetEnchantment function used to obtain the enchantment effect cannot obtain the effect if the item is originally enchanted)


After using "[E.R.] Rename Item in Inventory" the same confirmation dialog appears when you activate the item you want to rename, you can edit the name one by one.

Please note that you cannot stop editing in the middle, so if you select a large number of items at once, it will be difficult.

----MCM----

The following items can be set in MCM.

- Format

Sets how the enchantment name and effect amount are attached.

  • Add the enchantment name before the item name and the effect amount after it.
  • Both the enchantment name and effect amount are added to the end of the item name.
  • Both the enchantment name and effect amount are prepended to the item name.


You can choose from 3 patterns.

- Items to add to the name

Sets whether to name the enchantment name or effect size.
You can choose 3 patterns for both enchant name only and effect amount only.

- Header

Specifies the header to prepend to when renaming with "[E.R.] Rename Enchanted Item".
For example, for armor used when using two-handed weapons, the header is "-", for magic armor, "*", and for covert armor, "+++".
You can make it easier to understand when sorting by name.

- Do not process renamed items

If checked, "[E.R.] Rename Enchanted Item" will skip processing renamed items.
For example, when enhancing a weapon, the quality such as "excellent" is attached to the name, but the item that has been renamed in this way will not be processed.

- Show Dialog

If you remove this check, the simple explanation dialog will not appear when you use the power.

(Because the item selection screen after using "[E.R.] Rename Enchanted Item" and "[E.R.] Rename Item in Inventory" is indistinguishable, I'm showing a sentence for explanation before it comes out)



---- Configuration file ----

SKSE/Plugins/Enchant Renamer/name.json

In the file, you can set the name to be given when each enchantment effect is attached.

for example,

"__formData|Skyrim.esm|0x4605a": "Flame",

a weapon enchanted with fire damage will be enchanted with "Flame" instead.

This can be used when the name of the enchantment is too long and the name of the weapon becomes too long, or when you want to add a cool name while keeping the name of the effect easy to understand.

If you want to customize this file to have more enchantments you want to name differently,

"__formData|[Plug-in name of MOD containing magic effect of enchantment]|0x[FormID of magic effect of enchantment (last 6 digits in hexadecimal)]": "[attached name]" ,

Add the setting described in the format of name.json between the first { and the last }.
For example, if you want to name A.esp a Magic Effect enchantment with a FormID of 800 and name it "Mysterious",

"__formData|A.esp|0x800": "Mysterious",

Please add that.
When editing, remove the trailing , only for the last setting item. If you leave it on, it will not load properly.

Effects not included in the config file are still added with the name of the effect.

The default config file is set to stick some abbreviated names of vanilla effects.

If you are using MO2, it is recommended to create a MOD by copying and pasting only SKSE/Plugins/Enchant Renamer/name.json and tampering with the configuration file.



---- About Enchant Renamer Setting Format ----

The Enchant Renamer Setting Format in Download is a script for selecting the Magic Effect of the enchantment effect in xEdit and outputting it in the Enchant Renamer setting file format.

Copy Enchant Renamer Setting Format.pas to the "Edit Scripts" folder in your xEdit installation.

When the copy is completed, load the MOD with the enchantment you want to add to the configuration file and start xEdit,

(1) Select the enchantment Magic Effect you want to add to the setting file (multiple selections possible)
(2) Right click and select Apply script, select Enchant Renamer Setting Format.pas and click Apply button

Then, in the "Edit Scripts" folder, a file called er.txt that describes the selected Magic Effect in the format for setting files will be output.
Copy the contents of this output er.txt, paste it into name.json, and edit the name.

---- Current specifications/problems ----

- About enchantments that have multiple effects internally

For example, "Fiery Soul Trap" internally has two effects: "Soul Trap" and "Fire Damage".
If you name it with this mod

-[Soul Trap][Fire Damage]...(...,...)

is named like this.

In some cases, the name will be quite long, so edit it with the power of "[E.R.] Rename Item in Inventory".

- Can only be granted manually

I don't know how to get the item immediately after enchanting, so I can't automatically change the name when enchanting.