MantisBT - VCMI
View Issue Details
0001803VCMIAI - Adventure Mappublic2014-06-21 18:562016-02-24 23:00
Warmonger 
SXX 
normalfeaturealways
acknowledgedopen 
0.95 
 
0001803: Missing feature - "gosolo" console command makes AI take control over local player
Report from HC:

gosolo is console command on original H3 (also works on wog/era) which AI take current turn and autoplay until next round for you (moves your heroes, build units/buildings/heroes it depends on situation and AI is probaly very smart on this). You can try on original H3 adventure map click TAB and type gosolo. So I please you for this function, becouse wog and era support this
No tags attached.
Issue History
2014-06-21 18:56WarmongerNew Issue
2014-06-21 18:56WarmongerStatusnew => assigned
2014-06-21 18:56WarmongerAssigned To => Tow
2015-12-25 08:41SXXAssigned ToTow =>
2015-12-25 08:41SXXStatusassigned => new
2015-12-25 08:41SXXSummary"gosolo" console command makes AI take control over local player => Missing feature - "gosolo" console command makes AI take control over local player
2016-02-23 22:45SXXAssigned To => SXX
2016-02-23 22:45SXXStatusnew => assigned
2016-02-23 22:51SXXNote Added: 0006445
2016-02-24 21:53SXXNote Added: 0006446
2016-02-24 23:00SXXNote Added: 0006447
2016-02-24 23:00SXXStatusassigned => acknowledged

Notes
(0006445)
SXX   
2016-02-23 22:51   
Working on it since there is tons of AI bugs or unfinished features that need option to test it properly. Though first implementation won't be pretty and you'll lose UI completely while AI in control of your player.
(0006446)
SXX   
2016-02-24 21:53   
So here we go:
https://github.com/vcmi/vcmi/commit/4f7664926ead65d57a3591ee2f0cd310d5edfb84 [^]

Of course that debugging stuff will confuse VCAI since it's will start with empty "brain" and these also issue with "sensibleAILimit". Though this is still super-useful feature for debugging.
(0006447)
SXX   
2016-02-24 23:00   
I'll of course leave this one open since we eventually need some GUI proxy that will allow to see visualizations of AI actions or at least way to spectate.