delight-im / OpenSoccer

[UNMAINTAINED] Online Soccer Manager
GNU General Public License v3.0
52 stars 25 forks source link

Advance tactic options - Conditions #234

Open cosme12 opened 10 years ago

cosme12 commented 10 years ago

I had this idea a long time ago. The question is, what would happen if you allow real time changing tactics? (not planning on doing this, but do we get any error if we remove the warning that prevent changing your tactics while playing a match?).

The basic idea of this would be to add like 3 select labels, like conditions. So when you set up your tactics for your next match, you will also set this "advance tactics". For example:

If "im winning 1-0" change tactics to "defensive" If "im losing 1-0" change tactics to "offensive" If "im losing 5-0" change tactics to "aggresive-high"

Since you only have a limited amount of conditions (3), you must think carefully what to choose. Conditions will only change your actual tactics if you "guess" what will happen during the match. Im sure you imagine all you can do with this and how it will change the actual gameplay. So, is this even possible?

ocram commented 10 years ago

Changing them real-time is not possible because matches are simulated all at once, within a few milliseconds, and not minute-by-minute.

So if you wanted to allow real-time tactics, you would have to modify aa_spieltag_simulation.php in so far that it does only simulate a single minute for every game. A minute later, the script is called again, and so on.

The three additional conditions (if ... then change ...) would certainly be possible. But I'm not sure about this.

cosme12 commented 9 years ago

May I ask you how did you came up with the actual match simulation "coefficients"?

ocram commented 9 years ago

They have been determined experimentally, with a lot of trying and testing :)