Table info shown before joining

Game development with Board Game Arena Studio
Post Reply
User avatar
MikeIsHere
Posts: 137
Joined: 30 April 2020, 22:52

Table info shown before joining

Post by MikeIsHere »

Games like Tock show the table settings before you join like
2 vs 2, 5: any player pawn, Jack: usable on own starting pawn
This is shown in the element table_top_status_detailed

My game Cribbage does not show the options that can be set (game length, match length, skunk options)

What can I do / change as a developer to have these options show on table creation?
User avatar
RicardoRix
Posts: 2548
Joined: 29 April 2012, 23:43

Re: Table info shown before joining

Post by RicardoRix »

Should really happen with all games:

SUGGESTION VOTE:
https://boardgamearena.com/bug?id=14237
User avatar
MikeIsHere
Posts: 137
Joined: 30 April 2020, 22:52

Re: Table info shown before joining

Post by MikeIsHere »

Agreed, I was just wondering why it worked for some games.

But thank you for the link I will upvote
User avatar
XCID
Posts: 78
Joined: 26 March 2020, 01:45

Re: Table info shown before joining

Post by XCID »

That's what tmdisplay is for in the gameoptions.inc.php

Example

Code: Select all

    100 => [
        'name'    => totranslate('Direction variant'),
        'values'  => [
            1 => [
                'name'        => totranslate('Off'),
                'description' => totranslate('Passing cards to the left only'),
            ],
            2 => [
                'name'        => totranslate('On'),
                'tmdisplay'   => totranslate('Direction variant'),
                'description' => totranslate('Passing cards to the left and then to the right each round'),
            ],
        ],
        'default' => 1,
    ],
User avatar
MikeIsHere
Posts: 137
Joined: 30 April 2020, 22:52

Re: Table info shown before joining

Post by MikeIsHere »

thank you that help me find the documentation

http://en.doc.boardgamearena.com/Game_o ... ns.inc.php
Post Reply

Return to “Developers”