3DMGAME论坛

标题: 无脑开锁 [打印本页]

作者: wunan11984    时间: 2015-2-7 23:33
标题: 无脑开锁
打开 Data0.pak\data\scripts\minigames\lockpickminigame.scr(推荐用好压内部查看器打开)
// LockpickDifficulty(s,                                        <-- difficulty identifier
//                                          f,                                         <-- durability (larger -> harder to break picklocks)
//                                          f,                                         <-- movement possibility range (angle around the required value where you can move the lock - angle per side)
//                                          f,                                         <-- success angle - how much can one deviate from the required angle and still succed(per side)
//                                          f,                                         <-- angle randomization range (per side)
//                                           f)                                        <-- angle randomization - excluded part (per side)

sub main()
{
        LockpickDifficulty("easy",                 "&Lockpicking_Easy&",                1.9,        25.0,         360.00,                90.0,                0.0);
        LockpickDifficulty("medium",         "&Lockpicking_Medium&",                1.9,        25.0,         360.00,                90.0,                0.0);
        LockpickDifficulty("hard",                 "&Lockpicking_Hard&",                1.9,        25.0,         360.00,                90.0,                0.0);
        LockpickDifficulty("imposible", "&Lockpicking_Imposible&",        1.9,        25.0,         360.00,                90.0,                0.0);
英文太渣,对比数据试的,发现从easy开始1.9后的第二个数值每行递减,估计就是开锁正确角度,全部修改为360,试验了下现在开锁无死角了,不知道影不影响物品质量。




欢迎光临 3DMGAME论坛 (https://bbs.3dmgame.com/) Powered by Discuz! X3.2