游戏狂人
 
- 贡献度
- 48
- 金元
- 13183
- 积分
- 1510
- 精华
- 0
- 注册时间
- 2007-1-26
|
本帖最后由 koof113 于 2011-5-16 21:22 编辑
前几天看到了个
小项链mod----->ServiceAmulet
名字貌似是叫什马匕首护身符
只有一个esp文件
自带9K轻羽术
可以换种族神马的 还能给自己additem东西
无奈是英文的我看不懂
就试着用TESConstructionSet和EGG汉化了下 自己做了点修改
(没联系原作者,不知道是否允许汉化和修改)
结果菜单汉化OK 功能叶没啥问题
但是发现一个小问题
那个项链是 带上后触发脚本 跳出菜单
但是你如果在跳出的第一级菜单里选退出
会再给你ADDITEM一个这个项链.....
进入其他各级子菜单的就没有这个问题了
这个bug让我我很斯巴达啊
PS:本人鸟语很差,也没学过什马脚本
在此诚心求教各位脚本达人前来赐教
路过的帮忙踩踩
拜谢之
神马自沙 坐板凳的事情 我一般是不干的
下面是我改过的脚本全文
scn DaggerMiscScript
short button
long ml
short curlv
begin OnEquip player
if menumode == 1
set ml to 10
; messagebox "Please close menu."
; set menumode to 0 => 会离开游戏
; return
endif
end
begin gamemode ;取消,改为在选单模式中作用
if ml == 10
messagebox "你要干什么?", "退出", "制作法术", "物品附魔", "自身驱散", "添加物品", "转种族换职业星座" , "属性技能"
set ml to 11
; return
//下面的我觉得没啥问题了 就是上面 那些,我觉得问题出在上面//
elseif ml== 11
;不知最多能有多少個按鈕?目前十個ok
set button to getbuttonpressed
if button > -1
if charactergen.debug == 1
message "按钮 = %.0f", button
endif
if button == 0
activate player
set ml to 0
elseif button == 1
ShowSpellMaking
set ml to 0
elseif button == 2
ShowEnchantment
set ml to 0
elseif button == 3
Cast StandardCureDiseaseJourneyman Player
Cast StandardCureParalysisApprentice Player
Cast StandardCurePoisonApprentice Player
Cast ShrineZenitharLuck Player
set ml to 0
elseif button == 4 ;cheat
messagebox "你要干什么?","返回", "阿祖拉之星x1", "黯黑灵魂石x10", "阿尔卡维双手剑x1", "邪恶的霜火之弓x1", "黄金之印单手剑x1", "霜火雷之如神法杖x1",
"Show me the money", "憎恨双手斧x1", "迪德拉双手锤x1"
set ml to 12
elseif button == 5
messagebox "你要干什么?", "返回", "悬赏清零+恶名清零","改变星座", "改变种族", "改变职业"
set ml to 13
elseif button == 6
messagebox "你要干什么?", "返回", "力+20", "耐+20", "速+20","智+20", "+10恢复", "+10修理", "+10开锁"
set ml to 14
endif ;button
endif ;button > -1
; return
elseif ml== 12
set button to getbuttonpressed
;"返回", "阿祖拉之星x1", "黯黑灵魂石x10", "阿尔卡维双手剑x1", "邪恶的霜火之弓x1", "黄金之印单手剑x1", "霜火雷之如神法杖x1", "Show me the money", "憎恨双手斧x1", "迪德
拉双手锤x1"
if button > -1
if charactergen.debug == 1
message "按钮 = %.0f", button
endif
if button == 0
set ml to 10
elseif button == 1
player.additem AzurasStar 1
set ml to 0
elseif button == 2
player.additem BlackSoulGemFilled 10
set ml to 0
elseif button == 3
player.additem WeapAkaviriLongSword2H 1
set ml to 0
elseif button == 4
player.additem DarkInfernalFrost 1
set ml to 0
elseif button == 5
player.additem DAGoldbrand 1
set ml to 0
elseif button == 6
player.additem UniqueStaffApotheosis 1
set ml to 0
elseif button == 7
player.additem Gold001 65535
set ml to 0
elseif button == 8
player.additem UniqueWeapHatred 1
set ml to 0
elseif button == 9
player.additem WeapDaedricWarHammer 1
set ml to 0
endif ;button
endif
elseif ml== 13
set button to getbuttonpressed
; "返回", "悬赏清零+恶名清零","改变星座", "改变种族", "改变职业"
if button > -1
if charactergen.debug == 1
message "按钮 = %.0f", button
endif
if button == 0
set ml to 10
elseif button == 1
player.setcrimegold 0
player.SetPCInfamy 0
set ml to 0
elseif button == 2
showbirthsignmenu
set ml to 0
elseif button == 3
showracemenu
set ml to 0
elseif button == 4
showclassmenu
set ml to 0
endif ;button
endif
elseif ml== 14 ;LV mod
set button to getbuttonpressed
;"返回", "力+20", "耐+20", "速+20","智+20", "+10恢复", "+10修理", "+10开锁"
if button > -1
if charactergen.debug == 1
message "按钮 = %.0f", button
endif
if button == 0
set ml to 10
elseif button == 1
modpca Strength 20
set ml to 0
elseif button == 2
modpca Endurance 20
set ml to 0
elseif button == 3
modpca Speed 20
set ml to 0
elseif button == 4
modpca Intelligence 20
set ml to 0
elseif button == 5
modpcs Restoration 10
set ml to 0
elseif button == 6
modpcs Armorer 10
set ml to 0
elseif button == 7
modpcs Security 10
set ml to 0
endif ;button
endif
endif ;ml == 10
end
另外求教 里面看到很多 ;xxxx
这个是注释语句 么?
貌似直接发出来代码格式有变化
我传个附件算了
项链脚本.rar
(2.37 KB, 下载次数: 15)
|
|