セラーナを改造する

Modを作ろう

フードの自動脱着やスペルの自動習得が邪魔だったので取り除きました。

フードの自動脱着をやめさせる

DLC1_NPCMentalModelScript.pscの756行目です。

USSEPを使っている場合はUSSEPからソースコードを取得します。

DLC1_NPCMentalModelScript.psc (papyrus)

;CheckOutfit()

CheckOutfit関数の呼び出しを止めるだけです。

Serana Hood RemovalというModがありますが、これはフードを透明にしているだけで脱着自体は止まらないので、既に付けている頭防具やウィッグが外れてしまいます。

自動脱着をやめさせるのが目的なので、初期装備やDefault Outfitはそのままです。パッチを作るなりセラーナ美化Modをいじるなりして実現します。

死霊術などのスペルを覚えるのをやめさせる

DLC1SeranaLevelingScript.pscです。

USSEPを使っている場合はUSSEPからソースコードを取得します。

DLC1SeranaLevelingScript.psc (papyrus)

Scriptname DLC1SeranaLevelingScript extends Actor

Keyword Property VampireKeyword auto

;/
Event OnInit()
    (略)
EndEvent
/;


;UDGP 2.0.3 - Actor does not unregister, leaving behind a permanent update event.
;/
Event OnDeath(Actor akKiller)
    (略)
EndEvent
/;


;/
Event OnUpdateGameTime()
    (略)
EndEvent
/;


;/
Event OnCombatStateChange(actor akTarget, int CombatState)
    (略)
EndEvent
/;


Float Property CurrentHealth Auto
Int Property CurrentLevel Auto
Int Property LastLevel Auto

Int Property Stage1 = 20 Auto
Int Property Stage2 = 28 Auto
Int Property Stage3 = 38 Auto
Int Property Stage4 = 48 Auto
Int Property Stage5 = 99 Auto

SPELL Property crVampireDrain02 Auto
SPELL Property crVampireDrain03 Auto
SPELL Property crVampireDrain04 Auto
SPELL Property crVampireDrain05 Auto
SPELL Property crVampireDrain06 Auto

SPELL Property IceSpikeLeftHand Auto
SPELL Property ReanimateCorpseLeftHand Auto
SPELL Property LightningBoltLeftHand Auto
SPELL Property RevenantLeftHand Auto
SPELL Property IceStormLeftHand Auto
SPELL Property ChainLightningLeftHand Auto
SPELL Property RaiseZombieLeftHand Auto

関数をすべてコメントアウトして、イベントにたいする処理を止めます。

特にOnCombatStateChangeイベントは発動回数が多く無駄でしかありません。

このスクリプトはスペル習得しかしていないので、パッチでVMADごと消す方が手っ取り早いです。

勝手に覚えるのをやめさせるのが目的なので、初期装備はそのままです。こちらもパッチを作るなりして対応します。

タイトルとURLをコピーしました