comentary priority

Here you can... report bugs. Open a new thread for each bug, please.
Post Reply
vector
Posts: 449
Joined: Sat Dec 18, 2004 11:26 pm
Location: Australia, Victoria

comentary priority

Post by vector »

may not be a bug
but I had a situation where one team was -15 skill compared to the other.
in this case only one start match comentary should have been chosen.
<commentary cond="_TAVSKILLDIFF_ >=8"pri="10">There's a huge gulf in the skill level. This should be a walk over for _T[_TAVSKILL1_ GE _TAVSKILL0_]_</commentary>

but alas no. a much simpler one was picked
<commentary>The [battle|struggle|fight|war|combat] begins</commentary>

am i missing something?
"There are two ways to score. Dribble it over the line or smash it into the back of the net."
What type are you?
vector
Posts: 449
Joined: Sat Dec 18, 2004 11:26 pm
Location: Australia, Victoria

Post by vector »

not sure now. I ran it again and it came up so maybe i just didnt reload the constants after cahnging the comantary file.
"There are two ways to score. Dribble it over the line or smash it into the back of the net."
What type are you?
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

high priority increases the probability, but as long as there are other commentaries available as well, they CAN be picked. if you have two, one with pri=1 and one with pri=10, the probabilities are 1/11 and 10/11. accordingly, if you have 10 with pri=1 and 1 with pri=10, the prob that the latter is picked is 50%.

gyözö
Press any key to continue or any other key to quit.
Post Reply