|Anonymous | Login | Signup for a new account||2014-12-22 09:29 CET|
|Main | My View | View Issues | Change Log | Roadmap | Repositories|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003062||Spring engine||General||public||2012-04-15 16:29||2012-04-16 00:44|
|Target Version||Fixed in Version|
|Summary||0003062: Allow lua to call SetStartPos and GameStart/ForceStart|
|Description||We would like to replace/improve load screen.|
Follow features would be handy:
* StartPosSelector allow chanigng startpos after ready
* SetStartPos exposed for lua (to let widget set startpos)
* ForceStart or GameStarting exposed for lua (to let gadget start the game)
In the future:
* ability to disable current gamesetup renderer so that lua can draw its own
Atm engine only provides:
- GameSetup (callin for luaui) -> allows self ready (after that you cant change pos though)
- AllowStartPos (callin for luarules) -> allows gadget to reject startpos
|Tags||No tags attached.|
.. the GameSetup callin can disable the drawing.
.. changing startpos after ready doesn't make sense (neither logical nor code-wise)
no, GameSetup can only one time hide drawing and set ready and block startpos..
thats all that it can do ..
I mean returning ready hides gui, sets ready and disables ability to set startpos- > hardly ideal!
Combined with no way to force start game its pretty disasterous.
I explained that in the other ticket.
It wouldn't make sense to add such a synced function currently, cause there is no regular called synced lua callin in the ready up stage. Only AllowStartPosition and it's not regular. So it would be impossible e.g. to implement a timer that forcestart the game after 30sec.
For now you can send the command via the dedi server interface.
|2012-04-15 16:29||Licho||New Issue|
|2012-04-16 00:25||jK||Note Added: 0008612|
|2012-04-16 00:32||Licho||Note Added: 0008613|
|2012-04-16 00:33||Licho||Note Added: 0008615|
|2012-04-16 00:44||jK||Note Added: 0008619|
|Copyright © 2000 - 2014 MantisBT Team|