代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。

原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html


 1
 2一四0.切斯特(狗箱)跑得快
 3
 4	MT管理器打开游戏目录/assets/scripts/prefabs/chester.lua文件,将下列内容:
 5
 6	inst.components.locomotor.walkspeed = 3
 7	inst.components.locomotor.runspeed = 7
 8
 9	替换为:
10
11	inst.components.locomotor.walkspeed = 9
12	inst.components.locomotor.runspeed = 21
13
14	即可让切斯特运动速度提高3