法术技能功能SKSE64

收藏人数:1720
点赞次数:3764
下载次数:6097
资源大小:93.00KB

资源介绍

暂无介绍


详细介绍

简单简介

在3DM Mod站下载上古卷轴5:重置版最新的法术技能功能SKSE64 Mod,由yeeb制作。绿茵达人在我们的平台上分享了这个免费且高质量的游戏模组,让玩家们可以享受到更加丰富的游戏体验。快来3DM Mod站下载并尝试吧!

详细介绍

Mod作者: yeeb Mod版本: 1.0 Mod大小: 93.00KB 更新时间: 2020-06-22 09:34:54 发布时间: 2020-06-22 09:34:54

详细说明

天际法术工艺功能SE ????‍


SKSE64插件,添加了更多纸莎草纸功能,可用于Skyrim特别版中的咒语处理。


用法

;二传手

bool函数SetSpellNthMagicEffect(Spell akSpell,MagicEffect akEffect,int索引)全局本机

bool函数SetSpellNthMagicEffectMagnitude(Spell akSpell,Float mag,int索引)全局本机

bool函数SetSpellNthMagicEffectDuration(Spell akSpell,Int dur,int index)全局本机

bool函数SetSpellNthMagicEffectArea(Spell akSpell,Int区域,int索引)全局本机

bool函数SetSpellNthMagicEffectCost(Spell akSpell,浮动成本,int索引)全局本机

bool函数SetSpellType(Spell akSpell,Int akType)全局本机

bool函数SetSpellCastType(Spell akSpell,Int akType)全局本机

bool函数SetSpellCastTime(Spell akSpell,Float akTime)全局本机

bool函数SetSpellDelivery(Spell akSpell,Int akType)全局本机

bool函数SetSpellPerk(Spell akSpell,Perk akPerk)全局本机

bool函数SetSpellCost(Spell akSpell,Int akCost)全局本机

bool函数SetSpellName(Spell akSpell,String name)全局本机


;吸气剂

浮动函数GetSpellNthMagicEffectCost(Spell akSpell,int index)全局本机

Int函数GetSpellType(Spell akSpell)全局本机

;返回咒语的类型。 IE的法术,能力,次要力量等

; 0 =法术,1 =疾病,2 =力量,3 =较小的力量,4 =能力

; 5 =毒药,6 =加法,7 =声音(喊叫?)

Int函数GetSpellCastType(Spell akSpell)全局本机

;返回转换类型,IE集中度,失火等

; 1 =忘却,2 =专注,0 =持续的影响

Int函数GetSpellCastTime(Spell akSpell)全局本机

振作函数GetSpellPerk(Spell akSpell)全局本机

; Int函数GetSpellDelivery(Spell akSpell)全局本机//未实现


;花式功能大声笑

;将新的MagicEffect附加到法术

bool函数SpellAddEffect(Spell akSpell,MagicEffect akEffect,浮动量,int持续时间,int面积,浮动成本)全局本地


;基本上用spellB的副本替换了spellA

bool函数CopySpell(Spell spellA,Spell spellB)全局本机


;删除演员的所有咒语,如果{removeBase}为真,则删除该演员的基础(无法按预期工作)

bool函数RemoveAllActorSpells(Actor akActor,bool removeBase = false)全局本机


;返回演员所有咒语的数组,包括其基础

;您可以指定特定的魔法学校,也可以将{akSchool}的所有咒语留空

;您还可以指定拼写类型(请参见上文)

Spell []函数GetAllActorSpells(Actor akActor,String akSchool =“”,int type = 0)全局本机


;该函数可让您从数组中过滤重复项和特定咒语

;返回一个数组,其中没有重复命名的咒语,也没有任何名称在{tags}中指定的咒语

Spell []函数FilterSpellArray(Spell []咒语,String []标签)全局本机


;有趣的功能,它用结合了{spells}的所有效果的新咒语替换了{base}咒语

bool函数CombineSpells(基本法术,Spell []法术,字符串名称)全局本机


检查SpellCraft.psc和Github以获得更多信息。


以下纸莎草纸片段创建了一个咒语效果,该效果会将目标演员的所有咒语添加到施法者:


事件OnEffectStart(演员AkTarget,演员akCaster)

Spell [] stolen_spells = SpellCraft.GetAllActorSpells(AkTarget,“”)

整数i = 0

而我<stolen_spells.Length

akCaster.AddSpell(stolen_spells [i])

我+ = 1

结束时

结束事件



笔记

不是实际的mod!只是改装者的资源。将其视为skse的扩展。

也没有经过广泛测试,因此如果发现任何错误,请提交问题。

随意使用和打包您的mod,只相信我。


(是在GrimyPlugin的启发下,在@ Ryan-rsm-McKenzie的本教程的帮助下,从零距离的天际改装经验中创建的)

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

Skyrim Spell Craft Functions SE ????‍

SKSE64 plugin that adds more papyrus functions for the manipulation of spells in Skyrim Special Edition.

Usage
; setters
bool Function SetSpellNthMagicEffect(Spell akSpell, MagicEffect akEffect, int index) Global Native 
bool Function SetSpellNthMagicEffectMagnitude(Spell akSpell, Float mag, int index) Global Native 
bool Function SetSpellNthMagicEffectDuration(Spell akSpell, Int dur, int index) Global Native 
bool Function SetSpellNthMagicEffectArea(Spell akSpell, Int area, int index) Global Native 
bool Function SetSpellNthMagicEffectCost(Spell akSpell, Float cost, int index) Global Native 
bool Function SetSpellType(Spell akSpell, Int akType ) Global Native 
bool Function SetSpellCastType(Spell akSpell, Int akType ) Global Native 
bool Function SetSpellCastTime(Spell akSpell, Float akTime ) Global Native 
bool Function SetSpellDelivery(Spell akSpell, Int akType ) Global Native 
bool Function SetSpellPerk(Spell akSpell, Perk akPerk ) Global Native
bool Function SetSpellCost(Spell akSpell, Int akCost ) Global Native 
bool Function SetSpellName(Spell akSpell, String name ) Global Native 

; getters
Float Function GetSpellNthMagicEffectCost(Spell akSpell, int index) Global Native
Int Function GetSpellType(Spell akSpell ) Global Native 
; Returns the type of the spell. IE Spell, Ability, Lesser Power, etc.
; 0 = spell, 1= disease, 2 = power, 3 = lesser power, 4 = ability
; 5 = poison, 6 = addition, 7 = voice (shout?)
Int Function GetSpellCastType(Spell akSpell ) Global Native
; Returns the cast type, IE Concentration, fire forget, etc
; 1 = fire and forget, 2 = concentration, 0 = constant effect
Int Function GetSpellCastTime(Spell akSpell) Global Native
Perk Function GetSpellPerk(Spell akSpell) Global Native
; Int Function GetSpellDelivery(Spell akSpell ) Global Native // not implemented

; fancy functions lol
; appends a new MagicEffect to a spell
bool Function SpellAddEffect(Spell akSpell, MagicEffect akEffect, Float magnitude, int duration, int area, Float cost) Global Native

; basically replaces spellA with a copy of spellB
bool Function CopySpell(Spell spellA, Spell spellB) Global Native

; deletes all spells from an actor, and the actor's base if {removeBase} is true (doesn't work as intended)
bool Function RemoveAllActorSpells(Actor akActor, bool removeBase=false) Global Native

; returns an array of all spells from an actor, including their base
; you can specify a specific magic school, or leave {akSchool} empty for all spells
; you can also specify the spell type (see above)
Spell[] Function GetAllActorSpells(Actor akActor, String akSchool="", int type=0) Global Native

; function that allows you to filter duplicates and specific spells from an array
; returns an array with no duplicately named spells, and without any spells whose names are specified in {tags}
Spell[] Function FilterSpellArray(Spell[] spells, String[] tags) Global Native

; fun function that replaces {base} spell with a new spell that combines all the effects of {spells}
bool Function CombineSpells(Spell base, Spell[] spells, String name) Global Native

Check SpellCraft.psc and the Github for more.

Example
The following papyrus snippet creates a spell effect that will add all spells from a target actor to the caster:

Event OnEffectStart(Actor AkTarget, Actor akCaster)
Spell[] stolen_spells = SpellCraft.GetAllActorSpells(AkTarget, "")
int i = 0
while i < stolen_spells.Length
akCaster.AddSpell(stolen_spells[i])
i += 1
endWhile
EndEvent


Notes
Not an actual mod! Just a modders' resource. Think of it as an extension to skse.
Not extensively tested either so submit an issue if you notice any bugs.
Feel free to use and package with your mods, just credit me.

(created from zero experience in skyrim modding with the help of this tutorial from @Ryan-rsm-McKenzie, inspired by GrimyPlugin)

文件说明

暂无介绍

Mod截图

相关作品

全面战争:战锤2 Radious R大MOD汉化版 | 侠客风云传 多项加强MOD | 联邦发型 v2.4修正版 | 魔兽争霸3 1.24e紫月恋 v3.2正式版 | 缺氧 v219035汉化mod[加油菌]v1.25 | Semi Transport Hauler [附加] 1.0 |

绿茵达人的其他作品

  • 全面战争:战锤2 Radious R大MOD汉化版
  • 侠客风云传 多项加强MOD
  • 联邦发型 v2.4修正版
  • 魔兽争霸3 1.24e紫月恋 v3.2正式版
  • 缺氧 v219035汉化mod[加油菌]v1.25
  • Semi Transport Hauler [附加] 1.0