📄 soccersim-monitor.rb
字号:
# load soccer specific material# run "scripts/rcs-materials.rb"run "scripts/rcs-materials-textures.rb"# prepare the soccer monitorimportBundle 'soccermonitor'# load a font for the HUDfontServer = get($serverPath+'font')fontServer.getFont('fonts/VeraMono.ttf')# register the soccer monitor plugin to parse the soccer game# statesparkRegisterCustomMonitor 'SoccerMonitor'# register the soccer render plugin to draw the game state on the# screensparkRegisterCustomRender 'SoccerRender'if ($logPlayerMode == true) # register the soccer input logplayer plugin for playback # specific keys sparkRegisterCustomInput 'SoccerInputLogPlayer'else # register the soccer input plugin to process soccer specific key # presses sparkRegisterCustomInput 'SoccerInput'end # bind keys to soccer commands run "soccerbindings.rb"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -