Aggregation for sitrep events
Page 1 of 1

Author:  Ophiuchus [ Wed Feb 07, 2018 11:07 am ]
Post subject:  Aggregation for sitrep events

Hi, I was wondering for a while if we should support something like aggregation for sitrep events.

What I would like to have as features for the sitrep
  • simple message for single event ('Should build a GG on planet blabla')
  • aggregated message for multiple events of the same type ('You should build a GG on planets blabla, foo, bar and alderan beta').
  • maybe the possibility to open/close aggregated message to see all the detailed events (Closed you see the aggregated 'You got incoming on planets blabla and foo'; opened you see 'You got an incoming troop fleet from TheEvilEmpire on planet blabla', 'You got an incoming combat fleet from TheEvilEmpire on planet blabla'; 'You got an incoming combat fleet from the TheEvilEmpire
  • maybe the possibiltity in the UI to set aggregation limits ('Dont aggregate for this (type of) message', 'Aggregate message when at least 3 messages of this type')
  • UI to enable or filter out messages (we already have this)

In FOCS this would mean to make sitrep reports on the lowest interesting level (which is a natural fit for many effectGroups). These are treated as events and the sitrep UI calculates a view for it.
Probably the aggregating would probably be helped by entries in FOCS. Probably independent of the Building... causing the messages.
    scope = Message message = "SITREP_SYSTEM_GOT_INCOMING_WARNING" low = 3
    effect = GenerateSitRepMessage
         icon = "icons/meter/ammo.png"
         parameters = [
             tag = "systems"  aggregate = Target.SystemID
         empire = Source.Owner

Or we could simply add support for ships, systems, in stringtables... and some convention to the GenerateSitRepMessage (should suffice for many cases)
// In EffectsGroup for warning about incoming enemies
    effects =
            icon = "icons/meter/ammo.png"
            parameters = [
                tag = "system"  data = Target.ID
            empire = Source.Owner

and in stringtables
At %system%: Next turn enemy ships arrive"

Next turn enemy ships arrive at %systems%"

Incoming Enemies

The benefit i'm aiming for would be:
  • simplification of writing sitrep messages
  • more focussed, flexible, useful sitreps

I would open an issue for this if somebody else thinks this is a good idea...

Author:  Oberlus [ Wed Feb 07, 2018 6:12 pm ]
Post subject:  Re: Aggregation for sitrep events

I guess this would also fix part of the "problem" that I have when moderating multiplayer (AI only) games: I get the sitreps of all the empires, so I see tens of "Algorithmic Elegance has been researched", etc. (the unsolved part is that I won't know which empires are since such sitreps were intended to be read only by the owner empire).

Author:  Dilvish [ Thu Feb 08, 2018 3:44 am ]
Post subject:  Re: Aggregation for sitrep events

There are some previous discussions, and even graphics mockups, I think, of being able to expand/collapse groups of related sitreps, you can probably find the mockups if you search the forums a bit. I think everyone was in favor of the general idea.

As for the rest of your post, you talk about a number of things which either I just couldn't make sense of what you were really wanting, or it seems to me we already have (like 'support for ships'). Even though these ideas are linked by the general topic of relating to sitreps, I think they are different enough that a clear discussion merits separate posts for the different ideas.

Author:  LGM-Doyle [ Thu Feb 08, 2018 7:25 pm ]
Post subject:  Re: Aggregation for sitrep events

dbenage produced a playable mockup with several aspects I liked.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group