gameoptions dynamic input

Game development with Board Game Arena Studio
Post Reply
artax09
Posts: 1
Joined: 07 January 2014, 21:29

gameoptions dynamic input

Post by artax09 »

Hi, I read the docs and the forum but i didn't found an answer.

I was tring to inizialize a prng with a custom seed to shuffle a deck and replay a card game, so that the cards are shuffled in the same way.
This could be used for tournaments, to play the same game at the same time or it could be used just to replay interesting games maybe only in training mode.

This is a feature that a lot of Hanabi players would love to have, and probably also in other games.
In hanabi there is a list of "preset deck" that do exacty what i am trying to do, but it is very limited since it takes as a fixed input the current day and the number of the deck [1-6], so that it will be possible to play those decks only today... honestly not very usefull, i never played those decks.

So, Is it possible to insert as a gameoption a dynamic input value, instead of a predermined list of options?
Because i succeded to pass the value to the custom deck generator* but it would not be possible to fill a dropdown list with almost "infinite" values.

If this is not possible, could we access the "presentation" text field and use it as an input parameter ?
Or maybe there is a better way to pass a custom value that is not documented.

*I know that the shuffle() method in php does not take a seed, in hanabi it was created a custom function to do it, that probably could be improved to be more random, but this is another problem.

Thanks ;)
User avatar
qpenguin
Posts: 30
Joined: 17 March 2014, 21:30

Re: gameoptions dynamic input

Post by qpenguin »

+1
User avatar
burtsbees
Posts: 1
Joined: 27 November 2014, 22:10

Re: gameoptions dynamic input

Post by burtsbees »

+1
User avatar
kimbifille
Posts: 2
Joined: 02 June 2016, 18:29

Re: gameoptions dynamic input

Post by kimbifille »

+1
User avatar
Isdariel
Posts: 19
Joined: 16 August 2014, 20:48

Re: gameoptions dynamic input

Post by Isdariel »

Sounds good
Post Reply

Return to “Developers”