【脚本问题】武器双持,收持于背,拔剑同时装备副手武器
第七个:武器双持,收持于背,拔剑同时装备副手武器脚本类型:Object Script
其他需求:主武器ID:a1sword(单手武器),副手物品ID:a1offhand(伪武器或盾),收持于背的武器ID:a1back(双手武器),在单手的主武器加脚本
--------------这也是线--------------
scn a1SwitchWeapon
short flag
Begin Gamemode
if ( player.GetEquipped a1back ) && ( player.isWeaponout == 1);拔剑时自动换上两手两把武器
player.equipitemns a1sword
player.equipitemNS a1offhand
elseif( player.GetEquipped a1sword ) && ( player.isWeaponout == 0 ) &&(flag==0);收剑时自动换上双手武器,即收持于背
player.additemns a1back 1
player.equipitemNS a1back
set flag to 1
elseif(player.getequipped a1back==0)&&(player.isweaponout==1)&&(flag==1);拔剑后即删除双手武器
player.removeitemns a1back 1
set flag to 0
endif
end
--------------这也是线--------------
完成。另,此代码不会出现抽搐拔剑问题
按照这个脚本说的改了
我想把Chapel Shop里的SoulshadeDragonslongsword这样改一下
但是无法保存脚本
各种问题
又看不懂。。。。。。。。。。特来求助
首先是我改好的脚本
scn a1SwitchWeapon
short flag
Begin Gamemode
if ( player.GetEquipped 0aKFLChapelShopSoulshadeDragonslongsword2h ) && ( player.isWeaponout == 1);
player.equipitemns 0aKFLChapelShopSoulshadeDragonslongsword1h
player.equipitemNS 0aKFLChapelShopSoulshadeDragonslongswordoffhand
elseif( player.GetEquipped 0aKFLChapelShopSoulshadeDragonslongsword1h ) && ( player.isWeaponout == 0 ) &&(flag==0);
player.additemns 0aKFLChapelShopSoulshadeDragonslongsword2h 1
player.equipitemNS 0aKFLChapelShopSoulshadeDragonslongsword2h
set flag to 1
elseif(player.getequipped 0aKFLChapelShopSoulshadeDragonslongsword2h==0)&&(player.isweaponout==1)&&(flag==1);
player.removeitemns 0aKFLChapelShopSoulshadeDragonslongsword2h 1
set flag to 0
endif
end
下面分别是:副手ID,主手ID和双持ID
0aKFLChapelShopSoulshadeDragonslongswordoffhand
0aKFLChapelShopSoulshadeDragonslongsword1h
0aKFLChapelShopSoulshadeDragonslongsword2h
保存时弹出的问题如下
那个……请用CSE
http://oblivion.nexusmods.com/mods/36370 没有这变量功能啊,你是不是用CS编辑的,下个CSE试试呢 本帖最后由 yhill 于 2013-1-27 15:44 编辑
这种东西都存在很久了,
比方天诛彩女的小刀,KATANA SET。KitRae Exotic Dual Remake
都是自动加载付武器(其实是盾), 但如不在收起状态换武器,会CTD。
建议楼主放弃混蛋双刀组,那个是单手刀的样子,当作双手刀的握法,刀身很短,不好看。 KATANA SET和KitRae Exotic Dual Remake是个样子不错, 拿着也顺手的武器
nbx 发表于 2013-1-27 15:30 static/image/common/back.gif
那个……请用CSE
http://oblivion.nexusmods.com/mods/36370
哦 谢特!弄了一晚上原来是因为这个!3Q我去试试 yhill 发表于 2013-1-27 15:42 static/image/common/back.gif
这种东西都存在很久了,
比方天诛彩女的小刀,KATANA SET。KitRae Exotic Dual Remake
都是自动加载付武器 ...
我用的不是混蛋双蛋 是另外的等做好了我发图~ yhill 发表于 2013-1-27 15:42 static/image/common/back.gif
这种东西都存在很久了,
比方天诛彩女的小刀,KATANA SET。KitRae Exotic Dual Remake
都是自动加载付武器 ...
搞定 收剑的时候是双手剑背持 拔剑之后是双-单手剑双持~~~~顺便把耳朵了剃掉改成猫耳了=。= zlj19901024 发表于 2013-1-27 19:40 static/image/common/back.gif
搞定 收剑的时候是双手剑背持 拔剑之后是双-单手剑双持~~~~顺便把耳朵了剃掉改成猫耳 ...
2CH的POSE就是萌XD~ 咦~~~我的贴子还有人看呀~
另外楼主的妹子很漂亮啊{:3_48:} 求剑名,求剑地址 好牛的人啊 看帖回复是美德,吾等继续发扬光大!
页:
[1]