如何将用fose的带有快捷键的夜视镜,转到nvse可以使用的?
也就是说,原来那个夜视镜是在辐射3下用fose加载的,现在我想把它转到新维加斯下,用nvse,有没有懂这个的高手?(那个夜视镜是ghost armor 里的 ghost goggles) 我在新维加斯中用控制台将其调出(事先已知道其id),发现戴上后游戏瞬间变奇卡无比,按快捷键n开夜视无效。 我在GECK中调出了它的代码ScriptName 05GhostArmorNVGSpellFOSEScript
short DoOnce
short buttonToggleA
short buttonToggleB
short buttonPressedA
short buttonPressedB
begin onEquip
set DoOnce to 1
end
begin onUnEquip
player.RemoveSpell01GhostArmorStealthSpell
player.RemoveSpell01GhostArmorNVGSpell
set buttonPressedA to 0
set buttonPressedB to 0
set DoOnce to 0
end
Begin GameMode
if DoOnce == 1
if IsKeyPressed 48 != buttonToggleA
set buttonToggleA to IsKeyPressed 48
if buttonToggleA && buttonPressedA == 0 ; Button pressed
player.AddSpellNS01GhostArmorStealthSpell
set buttonPressedA to 1
elseif buttonToggleA && buttonPressedA == 1 ; Button released
player.RemoveSpell01GhostArmorStealthSpell
set buttonPressedA to 0
endif
endif
if IsKeyPressed 49 != buttonToggleB
set buttonToggleB to IsKeyPressed 49
if buttonToggleB && buttonPressedB == 0 ; Button pressed
player.AddSpellNS01GhostArmorNVGSpell
set buttonPressedB to 1
elseif buttonToggleB && buttonPressedB == 1 ; Button released
player.RemoveSpell01GhostArmorNVGSpell
set buttonPressedB to 0
endif
endif
endif
End
貌似代码问题不大,不知应该调整什么? ……nv也有快捷键的夜视镜,何必舍近求远 只想研究一下
页:
[1]