you can do a bit of testing already if you like, i committed to cvs yesterday.Lomion wrote:Xml commentaries will have to wait until the "intelligent commentaries" are fully implemented.
the list of tokens is at the bottom of this page:
http://bygfoot.sourceforge.net/doc/1.9/ ... howto.html
a simple commentary:
Code: Select all
<commentary>Goal!!</commentary>
Code: Select all
<commentary>_P1_ scored!!</commentary>
Code: Select all
<commentary cond="_GH_ + _GA_ > 4">Boy, i haven't seen this many goals in a game for a looong time</commentary>
Code: Select all
<commentary cond="_GH_ + _GA_ > 4">Boy, i haven't seen [_GH_ + _GA_] goals in a game for a looong time</commentary>
Commentator wrote:Goal!!
Commentator wrote:Gyözö scored!!
nice, isn't it?Commentator wrote:Boy, i haven't seen 5 goals in a game for a loong time
we just have to add some more tokens to make it even better. i guess i'll add some stuff from the stats page (shots, fouls, possession etc.) and maybe player data (goals scored in the match). though that will be a bit harder than the tokens we have now.
suggestions for new token are appreciated
i'm going to write about the new possiblities in the howto soon.
gyözö