FreeOrion

Forums for the FreeOrion project
It is currently Fri Jan 19, 2018 3:32 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: "We got incoming" sitrep
PostPosted: Tue Jan 02, 2018 5:17 pm 
Offline
Space Dragon

Joined: Tue Sep 30, 2014 10:01 am
Posts: 267
what i would find very useful sometimes is a warning if an enemy is known to arrive the next turn at one of your ships (e.g. your scout is sitting in one place for many turns) or colonies.

Would it be possible to generate a sitrep for that?
The game has the information, but i do not think its available for scripting.

_________________
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.


Top
 Profile  
 
PostPosted: Tue Jan 02, 2018 6:19 pm 
Offline
AI Lead, Programmer
User avatar

Joined: Sat Sep 22, 2012 6:25 pm
Posts: 4401
Ophiuchus wrote:
Would it be possible to generate a sitrep for that?
Seems to me it would, yes.

Quote:
The game has the information, but i do not think its available for scripting.
Which needed information are you thinking is unavailable?

_________________
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0


Top
 Profile  
 
PostPosted: Wed Jan 03, 2018 1:20 am 
Offline
Space Dragon

Joined: Tue Sep 30, 2014 10:01 am
Posts: 267
I thought flight plans are unavailable.
But maybe FinalDestinationId and StarlaneSpeed (and stealth/detection??) suffice to calculate arriving ships.

_________________
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.


Top
 Profile  
 
PostPosted: Wed Jan 03, 2018 8:10 am 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12086
Location: Munich
RootCandidate.ETA might help.


Top
 Profile  
 
PostPosted: Sat Jan 06, 2018 10:55 pm 
Offline
Space Dragon

Joined: Tue Sep 30, 2014 10:01 am
Posts: 267
This should probably be moved to scripting.

Anyway, there is a pull request https://github.com/freeorion/freeorion/pull/1934.

_________________
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group