Author Topic: Prizes/Payouts visible at Round 5+  (Read 4963 times)

Skynet

  • Newbie
  • *
  • Posts: 1
    • View Profile
Prizes/Payouts visible at Round 5+
« on: November 20, 2021, 10:17:37 AM »
I want the prizes/payouts to show starting at Round 5 after all entries and add-ons have been updated.

How do I set this up?  Thanks!

Stuart Murray

  • Hero Member
  • *****
  • Posts: 540
    • View Profile
Re: Prizes/Payouts visible at Round 5+
« Reply #1 on: November 20, 2021, 01:28:40 PM »
create two property sets for your prizes cell(s)  call the first one unconfirmed or something and the second confirmed or similar.  now on the first set you want to set your font colour to transparent.  Edit the property cell conditions to suit your game for example add-ons over (no), re-buys over (no).  (Do it this way then your prizes will show how you want it to even if you change your structure.)

The second property set will have the font the colour you want it and edit the property set conditions for example re-buys over (yes)
Stuart Murray

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Prizes/Payouts visible at Round 5+
« Reply #2 on: November 22, 2021, 02:29:57 PM »
^^ This is the answer.  If you need more detailed instructions, let us know.

Bp916

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Prizes/Payouts visible at Round 5+
« Reply #3 on: August 16, 2023, 03:01:33 AM »
Hi I'm having trouble with this as well. Can you break it down further please?

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Prizes/Payouts visible at Round 5+
« Reply #4 on: August 18, 2023, 05:02:12 PM »
Sure.  It is a little more complicated than that.  Basically, for the default layout that is blue on odd-numbered rounds and green on even-numbered rounds, there are two property sets for most layout cells: "Even rounds" and "Default".  All cells will have a Default property set, and that one gets used when no other property set matches the current tournament conditions.  So there's an Even Rounds property set that displays the cell in green on even-numbered rounds, and then on odd-numbered rounds there's no specific property set that matches so the Default property set is used to display the cell in blue.

To achieve the effect of hiding the prizes we'll need to create two new property sets, one for even-numbered rounds before round 5 and one for odd-numbered rounds before round 5.  In those property sets we'll hide the prizes.

First, create a new property set and name it "Even Rounds before round 5".  Select this property set and press the "Copy" button.  Select the Even Rounds property set and press Copy.  This will basically make the new property set "Even Rounds before round 5" a copy of the "Even Rounds" property set.  Now press the Conditions button, and then check the "Use advanced conditions" checkbox.  In the "Conditions" input, enter the following:

(roundNum < 5) and (roundNum % 2 = 0)

Press OK to close the Conditions window.  Now click on the Contents and set the value to:

<div style="visibility: hidden">
  <prizes orient="horizontal">
</div>


This will actually render the prizes, but it will be hidden.  That makes it take up the same amount of space on the screen, but the space will be blank.  I personally like this because the other items on the screen will remain the same size.  If you'd rather the cell disappear entirely, you can check the "Hide cell" checkbox, too.

Now repeat the above, but create the property set "Odd Rounds before round 5", and copy the Default property set instead of the "Even Rounds" property set.  Set the Conditions to:

(roundNum < 5) and (roundNum % 2 = 1)

Set the Contents to the same as above.

Finally, move the new property sets to the top of the list using the arrow buttons.  You should end up with something like this: