X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=xonstat%2Ftemplates%2Fscoreboard.mako;h=e2433056284ce0e8d113d50d3d9e3f938f84cf5c;hb=048e0cfb55028186d31d67e361002467ef943981;hp=ced81543286cab7679317c9d5de8eb241986bd57;hpb=cbb8de5967e3448c804356a4cd1323995b6c5ad2;p=xonotic%2Fxonstat.git diff --git a/xonstat/templates/scoreboard.mako b/xonstat/templates/scoreboard.mako index ced8154..e243305 100644 --- a/xonstat/templates/scoreboard.mako +++ b/xonstat/templates/scoreboard.mako @@ -59,7 +59,7 @@ ${scoreboard_header(game_type_cd, pgstats[0])} % endif -% if game_type_cd in 'ca' 'dm' 'duel' 'tdm': +% if game_type_cd in 'ca' 'dm' 'duel' 'rune' 'tdm': Nick @@ -165,6 +165,80 @@ ${scoreboard_header(game_type_cd, pgstats[0])} % endif + +% if game_type_cd in 'ka' 'keepaway': + + + Nick + % if show_latency: + Ping + % endif + Kills + Deaths + Pickups + BC Time + BC Kills + % if show_elo: + Elo Change + % endif + + +% endif + +% if game_type_cd == 'kh': + + + Nick + % if show_latency: + Ping + % endif + Kills + Deaths + Pickups + Captures + Losses + Pushes + Destroys + KC Kills + Score + % if show_elo: + Elo Change + % endif + + +% endif + +% if game_type_cd in 'nb' 'nexball': + + + Nick + % if show_latency: + Ping + % endif + Goals + Faults + Score + % if show_elo: + Elo Change + % endif + + +% endif + +% if game_type_cd == 'rc': + + + Nick + % if show_latency: + Ping + % endif + Laps + Fastest Lap + Time + + +% endif + ##### SCOREBOARD ROWS ##### @@ -176,7 +250,7 @@ ${scoreboard_header(game_type_cd, pgstats[0])} ${pgstat.collects} % endif -% if game_type_cd in 'ca' 'dm' 'duel' 'tdm': +% if game_type_cd in 'ca' 'dm' 'duel' 'rune' 'tdm': ${pgstat.kills} ${pgstat.deaths} ${pgstat.suicides} @@ -214,4 +288,35 @@ ${scoreboard_header(game_type_cd, pgstats[0])} ${pgstat.deaths} ${pgstat.revivals} % endif + +% if game_type_cd in 'ka' 'keepaway': + ${pgstat.kills} + ${pgstat.deaths} + ${pgstat.pickups} + ${pgstat.time} + ${pgstat.fckills} +% endif + +% if game_type_cd == 'kh': + ${pgstat.kills} + ${pgstat.deaths} + ${pgstat.pickups} + ${pgstat.captures} + ${pgstat.drops} + ${pgstat.pushes} + ${pgstat.destroys} + ${pgstat.carrier_kills} +% endif + +% if game_type_cd in 'nb' 'nexball': + ${pgstat.captures} + ${pgstat.drops} +% endif + +% if game_type_cd == 'rc': + ${pgstat.laps} + ${round(float(pgstat.fastest.seconds) + (pgstat.fastest.microseconds/1000000.0), 2)} + ${round(float(pgstat.time.seconds) + (pgstat.time.microseconds/1000000.0), 2)} +% endif +