Difference between revisions of "Autopilot in Coopetition"

From #openttdcoop wiki

Jump to: navigation, search
m
Line 19: Line 19:
 
Game Started - Good luck and enjoy your ride!
 
Game Started - Good luck and enjoy your ride!
 
</pre>
 
</pre>
 
+
''Brianetta says: This can be done, but will require a specially re-written autopilot.''
 
== Handling the Companies and Players ==
 
== Handling the Companies and Players ==
 
If the game is in progress, Autopilot should automatically pause the game when a player de-syncs or looses his connection. Actually OpenTTD can not restrict the company count to a special value. But Autopilot could check if there are more then two companies in the game and delete the third company. And of course Autopilot should manage the player count, any fifth player should be kicked out immediately!
 
If the game is in progress, Autopilot should automatically pause the game when a player de-syncs or looses his connection. Actually OpenTTD can not restrict the company count to a special value. But Autopilot could check if there are more then two companies in the game and delete the third company. And of course Autopilot should manage the player count, any fifth player should be kicked out immediately!
Line 27: Line 27:
 
Game continued.
 
Game continued.
 
</pre>
 
</pre>
 
+
''Brianetta says: Again, a rewrite is needed, but it's possible.''
 
== Handling of the Game Time ==
 
== Handling of the Game Time ==
 
As we play always until 1.1.1968 (this date can maybe change too if we have clearer rules) game should be paused at this day by the Autopilot. All players should be announcend if another year is over by our lovely Autopilot to be informed when the last year starts.
 
As we play always until 1.1.1968 (this date can maybe change too if we have clearer rules) game should be paused at this day by the Autopilot. All players should be announcend if another year is over by our lovely Autopilot to be informed when the last year starts.
Line 36: Line 36:
 
The game is over - Congratulations to all Players
 
The game is over - Congratulations to all Players
 
</pre>
 
</pre>
 
+
''Brianetta says: Unfortunately, autopilot has no way of retreiving the date from the console.  It might be possible with network code, but that's a ''major'' re-write.''
 
== Auto-Savegame ==
 
== Auto-Savegame ==
 
If possible the game should be saved to a special folder where we can check all the data.
 
If possible the game should be saved to a special folder where we can check all the data.
Line 42: Line 42:
 
Game successfully saved.
 
Game successfully saved.
 
</pre>
 
</pre>
 
+
''Brianetta says: This is intended to be a feature of autopilot 2''
 
== Easy Administration via Webinterface ==
 
== Easy Administration via Webinterface ==
 
I am not sure if Autopilot is able to interact with a Database yet. But it would be awesome to be able to configure the Autopilot via an easy-to-use Interface before the game starts! Some other great possibilities came with this thing, but I wont talk about them!
 
I am not sure if Autopilot is able to interact with a Database yet. But it would be awesome to be able to configure the Autopilot via an easy-to-use Interface before the game starts! Some other great possibilities came with this thing, but I wont talk about them!
 
+
''Brianetta says: Not at the moment it isn't possible.  Settings are kept in openttd.cfg, so what you really need is a web based editor for that.  It's something I might work on.''
  
  

Revision as of 22:01, 7 August 2006

by Osai

After our first successful Coopetition Game I thought about the usage of Brianettas Autopilot in Coopetition Games.

Note: Some of this ideas are already in preparation for a possible league/ladder system and we are far away from it. The first three ideas are important for Coopetition Games in general.

Autopilot should handle a lot of technical things I am going to list here:


Handling the Game Start

Autopilot should manage the game start, after starting the server both teams have time to get in contact with the map (the rules define the time). After this time Autopilot will start the game with an announcement.

5 minutes until the game starts.
1 minute until the game starts.
10 seconds until the game starts.
3
2
1
Game Started - Good luck and enjoy your ride!

Brianetta says: This can be done, but will require a specially re-written autopilot.

Handling the Companies and Players

If the game is in progress, Autopilot should automatically pause the game when a player de-syncs or looses his connection. Actually OpenTTD can not restrict the company count to a special value. But Autopilot could check if there are more then two companies in the game and delete the third company. And of course Autopilot should manage the player count, any fifth player should be kicked out immediately!

Player 3 lost his connection. Game Paused.
Game will continue in 3, 2, 1 second/s.
Game continued.

Brianetta says: Again, a rewrite is needed, but it's possible.

Handling of the Game Time

As we play always until 1.1.1968 (this date can maybe change too if we have clearer rules) game should be paused at this day by the Autopilot. All players should be announcend if another year is over by our lovely Autopilot to be informed when the last year starts.

6 Years until game ends
2 Years until game ends
This is the final year, from now on your train income counts
The game is over - Congratulations to all Players

Brianetta says: Unfortunately, autopilot has no way of retreiving the date from the console. It might be possible with network code, but that's a major re-write.

Auto-Savegame

If possible the game should be saved to a special folder where we can check all the data.

Game successfully saved.

Brianetta says: This is intended to be a feature of autopilot 2

Easy Administration via Webinterface

I am not sure if Autopilot is able to interact with a Database yet. But it would be awesome to be able to configure the Autopilot via an easy-to-use Interface before the game starts! Some other great possibilities came with this thing, but I wont talk about them! Brianetta says: Not at the moment it isn't possible. Settings are kept in openttd.cfg, so what you really need is a web based editor for that. It's something I might work on.


The progress

Autopilot features for Coopetition
Idea Player Draft of idea Testing Completed Remarks
Handling the Game Start Osai first version created In progress In progress
Handling the Companies and Players Osai first version created In progress In progress
Handling of the game time Osai first version created In progress In progress
Auto-Savegame Osai first version created In progress In progress
Easy Administration via Webinterface Osai first version created In progress In progress
Powered by MediaWiki