Not logged inOpenClonk Forum
Up Topic Feature Wishlist

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Randrian
Perhaps I think of this issue a bit different, but I would do something like the Teams.txt and specify there some options.

[Options]

  [Option]
  id=1
  Name=$SelectRelaunches$
  Type=Number
  Min=0
  Max=10
  Default=5

  [Option]
  id=2
  Name=$SelectFriendlyFire$
  Type=Toogle
  Default=False

And on the scenario start a function is called: SetOptions(ValueOption1, ValueOption2)
If you start without Lobby a menu is displaced instead to select the options.
This should be very analouge to the team selection in the Lobby. Every client has to know about the team information bevorehand and changes have to be synchronised if someone changes the team settings in the lobby.
Perhaps this can be even specified in the same file.
I have to admit, that I don't know much about this code, but perhaps my ideas can help.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill