xEdit腳本 - 批量更改裝甲光澤度

作者 Maniczek·版本 v2.0·更新於 2019-08-02

xEdit腳本批量編輯mod特定的.nif文件並更改其Glossity和Specular Strength外觀值。

截圖 共 2 張

模組介紹 作者原文

xEdit腳本批量編輯mod特定的.nif文件並更改其Glossity和Specular Strength外觀值。

好吧,我在網上搜索了一些簡單的方法來改變盔甲和衣服的光澤,並且出現的唯一批量編輯包括創建一個新文件夾並複製所有網格。我認爲即使使用MO設置這種方法也是相當繁瑣的(儘管之後更容易維護),所以我寫了這個腳本,通過xEdit改變特定mod中所有裝甲/衣服的光澤度。

  • -  -  -  -  -  -  -  - - 如何使用  -  -  -  -  -  -  -  -  - -

從版本2.0開始,包含簡單的GUI,因此不再需要不斷編輯!

1.)在整個mod上應用腳本或選擇要更改的盔甲的ARMA記錄。

2.)在運行腳本之前,根據自己的喜好更改腳本中的常量fGlossiness和fSpecular。

2.a)如果您只想編輯女性服裝,請將sModelElements常量更改爲“女性世界模型\ MOD3”。

3.)運行腳本並自己煮咖啡,如果你編輯了很多盔甲,可能需要一段時間。

-------------------安裝-------------------

1.)從“文件”選項卡下載並解壓縮歸檔到xEdit安裝中的“編輯腳本”文件夾。

2.)就是這樣。

  • -  -  -  -  -  -  -  - - 這個怎麼運作  -  -  -  -  -  -  -  -  - -

腳本打開所選ARMA記錄中的所有.nifs(_1和_0版本)並嘗試編輯它們。根據您的驅動器,這可能需要很長時間(在SSD上每個ARMA記錄花了大約1秒)。即使需要一段時間,它仍然需要手動編輯整個加載訂單。重要的一點是,它會爲xEdit中加載的特定mod更改.nifs,因此您需要有光澤的盔甲! (如果你想在赤身果體時保持光澤,那麼請手工做,那麼在這個劇本中加入一點獎勵就太多了 - 如果對它有足夠的興趣可能會考慮它)。

-------------------它沒用! -------------------

請告訴我評論或錯誤報告選項卡中有什麼問題,我會看到我能做些什麼。我的xEdit腳本非常有限,但我會盡力讓事情發揮作用。

————————————————————————————————————————————————

Well, I searched web for some easy way to change the gloss of armors and clothing and the only batch edits that came up included creating a new folder and copying all meshes in there. I think such an approach is quite tedious to set up even with MO (even though easier to maintain afterwards), and so I've written this script that changes gloss for all armors/clothes inside particular mod via xEdit.

------------------- How to Use -------------------

As of version 2.0, simple GUI is included, so no more constant editing!

1.) Either apply the script on the whole mod or select ARMA records of the armors you want to change.

2.) Before running the script, change constants fGlossiness and fSpecular in the script to your liking.

2.a) If you want to edit female outfits only, change sModelElements constant to 'Female world model\MOD3'.

3.) Run the script and go make yourself a coffee, it might take a while if you edit a lot of armors.

------------------- Installation -------------------

1.) download and extract archive from Files tab to "Edit Scripts" folder in your xEdit installation.

2.) that's it.

------------------- How it Works -------------------

Script opens all.nifs (_1 and _0 versions) in selected ARMA records and tries to edit them. Depending on your drive, this can take quite long (It took me approx. 1sec per ARMA record on SSD). Even though it takes a while, it still beats hand editing your whole load orders. Important note is that it changes.nifs for particular mods loaded in xEdit, therefore it is up to you what armors you want to be glossy! (if you want to be glossy when naked, do that by hand please, it would be too much work for little reward to include in this script - might consider it if there is enough interest in it).

------------------- It's not working! -------------------

Please tell me what is wrong in comments or in bug reporting tab and I'll see what I can do. My xEdit scripting is quite limited, but I try my best to get things working.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 這類遊戲沒有通用的模組管理器:有的模組直接替換遊戲檔案、有的放進遊戲專屬的 Mods 資料夾、有的要先裝遊戲對應的社群載入器或工具,以包內說明為準。
  3. 嚴格按說明放置檔案;標註「前置依賴」的模組需要把依賴一併裝好。
  4. 啟動遊戲確認載入成功;部分遊戲需要在設定或模組選單裡手動啟用。

不同遊戲、不同模組的安裝位置差異很大,包內說明是最可靠的依據。

檔案與校驗

檔案名稱
xEdit脚本 - 批量更改装甲光泽度
檔案大小
2.0 KiB
SHA-256
1addef1a1cd0b9315bd6eb94be97b253e86f1bdccd971cdee0dbe77482292c0b
入庫時間
2026-10-07 23:27