Jebbalon的被絞死的人修正了腳本
天際有一個破壞系統來掛NPC - 我已經解決了這個問題
截圖 共 1 張
模組介紹 作者原文
天際有一個破壞系統來掛NPC - 我已經解決了這個問題
絞死男子的例子
Vanilla skyrim包括嘗試懸掛NPC失敗。我已經糾正了這一點。
克里斯克利上傳了天際的閃電隊,爲天際城增添了絞刑架。因爲用於掛起npcs的vanilla腳本沒有完成/測試/可用,所以他使屍體只是靜態的。該論壇帖子對該主題進行了一些討論。
通過我的示例mod,我修改了腳本,以便能夠將繩子懸掛在繩子上,從而更加逼真。
還有一個腳本會使身體搖擺。它是一種概念證明 - 關於如何使用身體所附着的RigidBodyDummy可移動靜態來操縱屍體。
有一個狼人(TreasCorpseWerewolfHanging [NPC_:0010F509]在GallowsRock01“絞架搖滾”[CELL:00015273])(一個銀手堡),他手上掛着。查看附在他身上的腳本(DefaultWerewolfAttachPointSCRIPT.psc)幫助我處理了這個被絞死的人腳本。
使用這些腳本時要記住的事情......
- 繩索的網格不得有碰撞。在vanilla中有一條名爲hangedManRopeTRIG的激活繩[ACTI:00035328]發生碰撞並且不起作用。我在示例中使用的繩索是DockColStrSignRope01 [STAT:00093480],它沒有碰撞。
- HangedManScript_Corrected.psc腳本附加到屍體上。舊腳本被附加到激活繩上。然後腳本將屍體的頸部連接到虛擬節點。
- HangedMan_SwayingScript.psc腳本附加到rigidBodyDummy [MSTT:000D19BA],這是一個只有一個“骨骼”或節點的可移動靜態對象。此腳本將輕微地來回轉換節點以模擬繩索上的身體搖擺。
- 兩個腳本都有註釋,以幫助理解正在發生的事情。
這裏是AFKmods帖子,它還解釋了文本中的腳本。
如果您有任何疑問,請在評論中告訴我!
我的Mods
我的東西|我的房間|多莉結界|米德桶修復| M'aiq套餐
被絞死的人修正的腳本|不可檢測性環|熔岩柱校正|空白的員工食譜
OBIS的驕傲成員,Sands of Time和更多Bandit Camps Teams
————————————————————————————————————————————————————————
Hanged Man Example
Vanilla skyrim includes a failed attempt at hanging NPCs. I've corrected that.
ChrisKley uploaded the mod Gallows of Skyrim which adds gallows to the cities of skyrim. Because the vanilla scripts for hanging npcs is not finished/tested/usable he made the corpses just static. This forum thread has some discussion on the topic.
With my example mod I modified the script to be able to have a ragdoll body hanging from a rope that will act more realistically.
There is also a script that will make the body sway. It is sort of a proof of concept - on how to manipulate a corpse using the RigidBodyDummy moveable static that the body attaches to.
There is a Werewolf ( TreasCorpseWerewolfHanging [NPC_:0010F509] in GallowsRock01 "Gallows Rock" [CELL:00015273] ) (a silver hand fort) that is hanging by his hand. Looking at the script attached to him ( DefaultWerewolfAttachPointSCRIPT.psc ) helped me with this hanged man script.
Things to keep in mind when using these scripts...
- The rope must not have collision in its mesh. In vanilla there is an Activator rope called hangedManRopeTRIG [ACTI:00035328] has collision and will not work. The rope I used in example is DockColStrSignRope01 [STAT:00093480] which has no collision.
- The script HangedManScript_Corrected.psc gets attached to the corpse. The old script was being attached to the activator rope. The script then attaches the neck of the corpse to the dummy node.
- The script HangedMan_SwayingScript.psc gets attached to the rigidBodyDummy [MSTT:000D19BA], a moveable static object with only one 'bone' or node. This script will slightly translate the node back and forth to simulate the body swaying on the rope.
- Both scripts have comments in them to help understand what is going on.
Here is AFKmods post that explains a little more with the scripts in text as well.
Let me know in comments if you have any questions!
My Mods
My Stuff | My Room | Dolly Enchantment | Mead Barrel Fix | Package for M'aiq
Hanged Man Corrected Scripts | Ring of Non-Detectability | Lava Column Correction | Blank Staff Recipes
Proud member of the OBIS, Sands of Time & More Bandit Camps Teams
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 這類遊戲沒有通用的模組管理器:有的模組直接替換遊戲檔案、有的放進遊戲專屬的 Mods 資料夾、有的要先裝遊戲對應的社群載入器或工具,以包內說明為準。
- 嚴格按說明放置檔案;標註「前置依賴」的模組需要把依賴一併裝好。
- 啟動遊戲確認載入成功;部分遊戲需要在設定或模組選單裡手動啟用。
不同遊戲、不同模組的安裝位置差異很大,包內說明是最可靠的依據。