楼主: 赌神魂
打印 上一主题 下一主题

[转贴] LiveCPK (Sider 3.34)整合了球场,足球无限挂

    [复制链接]
16#
发表于 2017-3-20 11:45 来自手机 | 只看该作者
兄弟知道意甲和西甲的id吗?还有国王杯和意大利杯

点评

目前不懂,懂了再告诉你  发表于 2017-3-20 11:46
17#
发表于 2017-3-20 16:31 | 只看该作者
谢了 作者在哪个网站更新呢

点评

https://www.evo-web.co.uk/threads/livecpk-sider-3-for-pes-2017.77184/  详情 回复 发表于 2017-3-20 19:26
18#
 楼主| 发表于 2017-3-20 19:26 | 只看该作者
19#
 楼主| 发表于 2017-3-24 12:15 | 只看该作者
LiveCPK (Sider 3.31)

What's new: Lua support fixes and new features:
- [FIX] tournament_id is now available in the context as early as possible
- [NEW] set_stadium event: you can change stadium, timeofday, weather, and season
- [NEW] set_match_time event: change match duration (number of minutes)

stadium.lua : simple Stadium switcher, which makes the English Super Cup final to be played at Bombonera. It also sets the weather to rain, season - to winter, and time of day.

timeaccel.lua : example of how match time can be manipulated - it sets the match duration to 1 minute for any match that is not an exhibition one (see the ctx.tournament_id > 5 check in the code)

etrace.lua : registers for various events, and just logs them (prints messages to sider.log) as they happen. It also logs the context object at the time of the event. The log can be confusing at first, but this module can be useful to see what happens when and what gets put into the context.

http://pan.baidu.com/s/1pLbfR67
20#
发表于 2017-3-24 16:33 | 只看该作者
xiangbo96 发表于 2017-3-19 17:16
好东西啊!用了以后英超也有举杯动画了。啥时候能更新呢?出个德甲和意甲西甲的

朋友怎么挂英超的

点评

放进去打开sider直接就有了  详情 回复 发表于 2017-3-24 16:48
21#
发表于 2017-3-24 16:47 来自手机 | 只看该作者
好东西啊!兄弟能翻译下不

点评

内容大概: 全部联赛奖杯ID已经有了,可以任意选择球场做赛,例子:英足总杯决赛可以选择指定球场。可以设定上下半场游戏时间(例子:每场只是1分钟)  详情 回复 发表于 2017-3-24 18:11
22#
发表于 2017-3-24 16:48 来自手机 | 只看该作者
mikeym 发表于 2017-3-24 16:33
朋友怎么挂英超的

放进去打开sider直接就有了
23#
 楼主| 发表于 2017-3-24 18:11 | 只看该作者
xiangbo96 发表于 2017-3-24 16:47
好东西啊!兄弟能翻译下不

内容大概:

全部联赛奖杯ID已经有了,可以任意选择球场做赛,例子:英足总杯决赛可以选择指定球场。可以设定上下半场游戏时间(例子:每场只是1分钟)
24#
发表于 2017-3-24 18:45 | 只看该作者
赌神魂 发表于 2017-3-20 09:27
需要自己添加tournament ID,然后把奖杯文件放进trophy-server(目前第二门将球衣也是可以用,有点小bug ...

增加球场功能?? 是怎样的!

点评

可以任意选择球场做赛,例子:英足总杯决赛可以选择指定球场。白天夜晚,晴天雨天都可以自由选择  详情 回复 发表于 2017-3-24 18:54
25#
 楼主| 发表于 2017-3-24 18:54 | 只看该作者
ja49500 发表于 2017-3-24 18:45
增加球场功能?? 是怎样的!

可以任意选择球场做赛,例子:英足总杯决赛可以选择指定球场。白天夜晚,晴天雨天都可以自由选择
26#
发表于 2017-3-24 20:08 | 只看该作者
联赛id貌似不是很全啊 还是没有意甲联赛的id 只有意大利超级杯的

点评

哈哈,不懂,没有研究  发表于 2017-3-24 20:16
27#
发表于 2017-3-24 20:15 | 只看该作者
用了没有啥效果啊 怎么改球场呢?

点评

原本是默认的,需要自己改modules  详情 回复 发表于 2017-3-24 20:31
28#
 楼主| 发表于 2017-3-24 20:31 | 只看该作者
xiangbo96 发表于 2017-3-24 20:15
用了没有啥效果啊 怎么改球场呢?

原本是默认的,需要自己改modules
29#
发表于 2017-3-24 21:58 来自手机 | 只看该作者
楼主会吗?

点评

用notepad打开stadium.lua修改 -- Stadium switcher example: -- for English Super Cup, go to Bombonera. local m = {} function m.set_stadium(ctx, options) if ctx.tournament_id == 101 then  详情 回复 发表于 2017-3-24 22:07
30#
 楼主| 发表于 2017-3-24 22:07 | 只看该作者

用notepad打开stadium.lua修改

-- Stadium switcher example:
-- for English Super Cup, go to Bombonera.

local m = {}

function m.set_stadium(ctx, options)
    if ctx.tournament_id == 101 then
        log("Switching to Bombonera on a rainy winter day")

        options.stadium = 28  -- Stadium id (Bombonera)
        options.timeofday = 0 -- Day
        options.weather = 1   -- Rain
        options.season = 1    -- Winter

        -- return the options table to indicate
        -- that this change is final. This stops processing
        -- of the event and modules further down the list
        -- will not receive this event.
        return options
    end
end

function m.init(ctx)
   ctx.register("set_stadium", m.set_stadium)
end

return m


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

本版积分规则

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