3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 2572|回复: 3
打印 上一主题 下一主题

[求助] 如何将用fose的带有快捷键的夜视镜,转到nvse可以使用的?

[复制链接]

78

主题

603

帖子

753

积分

超级玩家

Rank: 5Rank: 5

贡献度
78
金元
4413
积分
753
精华
0
注册时间
2009-1-14
跳转到指定楼层
主题
发表于 2011-2-16 12:48 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
也就是说,原来那个夜视镜是在辐射3下用fose加载的,现在我想把它转到新维加斯下,用nvse,有没有懂这个的高手?(那个夜视镜是ghost armor 里的 ghost goggles)   我在新维加斯中用控制台将其调出(事先已知道其id),发现戴上后游戏瞬间变奇卡无比,按快捷键n开夜视无效。
回复

使用道具 举报

78

主题

603

帖子

753

积分

超级玩家

Rank: 5Rank: 5

贡献度
78
金元
4413
积分
753
精华
0
注册时间
2009-1-14
舒服的沙发
 楼主| 发表于 2011-2-16 12:51 | 只看该作者
我在GECK中调出了它的代码
ScriptName 05GhostArmorNVGSpellFOSEScript
short DoOnce
short buttonToggleA
short buttonToggleB
short buttonPressedA
short buttonPressedB
begin onEquip
set DoOnce to 1
end
begin onUnEquip
player.RemoveSpell  01GhostArmorStealthSpell
player.RemoveSpell  01GhostArmorNVGSpell
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.AddSpellNS  01GhostArmorStealthSpell
    set buttonPressedA to 1
   elseif buttonToggleA && buttonPressedA == 1 ; Button released
    player.RemoveSpell  01GhostArmorStealthSpell
    set buttonPressedA to 0
   endif
  endif
  if IsKeyPressed 49 != buttonToggleB
   set buttonToggleB to IsKeyPressed 49
   if buttonToggleB && buttonPressedB == 0 ; Button pressed
    player.AddSpellNS  01GhostArmorNVGSpell
    set buttonPressedB to 1
   elseif buttonToggleB && buttonPressedB == 1 ; Button released
    player.RemoveSpell  01GhostArmorNVGSpell
    set buttonPressedB to 0
   endif
  endif
endif
End

貌似代码问题不大,不知应该调整什么?
回复 支持 反对

使用道具 举报

4

主题

1309

帖子

1166

积分

游戏狂人

Rank: 6Rank: 6

贡献度
77
金元
8584
积分
1166
精华
0
注册时间
2008-8-7
硬硬的板凳
发表于 2011-2-16 13:56 | 只看该作者
……nv也有快捷键的夜视镜,何必舍近求远
回复 支持 反对

使用道具 举报

78

主题

603

帖子

753

积分

超级玩家

Rank: 5Rank: 5

贡献度
78
金元
4413
积分
753
精华
0
注册时间
2009-1-14
冰凉的地板
 楼主| 发表于 2011-2-16 14:05 | 只看该作者
只想研究一下
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2025-2-24 01:00 , Processed in 0.136522 second(s), 15 queries , Memcache On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表