xiangbo96
发表于 2017-3-20 11:45
兄弟知道意甲和西甲的id吗?还有国王杯和意大利杯
xiangbo96
发表于 2017-3-20 16:31
谢了 作者在哪个网站更新呢
?
赌神魂
发表于 2017-3-20 19:26
xiangbo96 发表于 2017-3-20 16:31
谢了 作者在哪个网站更新呢
?
https://www.evo-web.co.uk/threads/livecpk-sider-3-for-pes-2017.77184/
赌神魂
发表于 2017-3-24 12:15
LiveCPK (Sider 3.31)
What's new: Lua support fixes and new features:
- tournament_id is now available in the context as early as possible
- set_stadium event: you can change stadium, timeofday, weather, and season
- 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
mikeym
发表于 2017-3-24 16:33
xiangbo96 发表于 2017-3-19 17:16
好东西啊!用了以后英超也有举杯动画了。啥时候能更新呢?出个德甲和意甲西甲的
朋友怎么挂英超的
xiangbo96
发表于 2017-3-24 16:47
好东西啊!兄弟能翻译下不
xiangbo96
发表于 2017-3-24 16:48
mikeym 发表于 2017-3-24 16:33
朋友怎么挂英超的
放进去打开sider直接就有了
赌神魂
发表于 2017-3-24 18:11
xiangbo96 发表于 2017-3-24 16:47
好东西啊!兄弟能翻译下不
内容大概:
全部联赛奖杯ID已经有了,可以任意选择球场做赛,例子:英足总杯决赛可以选择指定球场。可以设定上下半场游戏时间(例子:每场只是1分钟)
ja49500
发表于 2017-3-24 18:45
赌神魂 发表于 2017-3-20 09:27
需要自己添加tournament ID,然后把奖杯文件放进trophy-server(目前第二门将球衣也是可以用,有点小bug ...
增加球场功能?? 是怎样的!
赌神魂
发表于 2017-3-24 18:54
ja49500 发表于 2017-3-24 18:45
增加球场功能?? 是怎样的!
可以任意选择球场做赛,例子:英足总杯决赛可以选择指定球场。白天夜晚,晴天雨天都可以自由选择
xiangbo96
发表于 2017-3-24 20:08
联赛id貌似不是很全啊 还是没有意甲联赛的id 只有意大利超级杯的
xiangbo96
发表于 2017-3-24 20:15
用了没有啥效果啊 怎么改球场呢?
赌神魂
发表于 2017-3-24 20:31
xiangbo96 发表于 2017-3-24 20:15
用了没有啥效果啊 怎么改球场呢?
原本是默认的,需要自己改modules
xiangbo96
发表于 2017-3-24 21:58
楼主会吗?
赌神魂
发表于 2017-3-24 22:07
xiangbo96 发表于 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
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