View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0003062 | Spring engine | General | public | 2012-04-15 16:29 | 2012-04-16 00:44 | ||||||||
Reporter | Licho | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | new | Resolution | open | ||||||||||
Product Version | 89.0 | ||||||||||||
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. | ||||||||||||
Checked infolog.txt for Errors | |||||||||||||
Attached Files |
|
![]() |
|
jK (developer) 2012-04-16 00:25 |
erm ... .. the GameSetup callin can disable the drawing. .. changing startpos after ready doesn't make sense (neither logical nor code-wise) |
Licho (reporter) 2012-04-16 00:32 |
no, GameSetup can only one time hide drawing and set ready and block startpos.. thats all that it can do .. try it. |
Licho (reporter) 2012-04-16 00:33 |
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. |
jK (developer) 2012-04-16 00:44 |
I explained that in the other ticket. @forcestart 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. |