Probably possible, but I'm not sure exactly what you want.
Detection Range and Strength
Moderator: Oberlus
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Detection Range and Strength
When I hover over the detection icon for a monster or native planet, I get info that it is "Detection Range", but then it leaves the question open - what is the detection strength? I've just learned here these are the same for those neutral forces, and when you think about it then indeed "Detection Range" makes no sense for them. So the tooltip should say "Detection Strength" for those instead of "Range" and it would be obviousGeoff the Medio wrote: ↑Mon Sep 26, 2022 7:35 pmProbably possible, but I'm not sure exactly what you want.
Re: Detection Range and Strength
Some monsters do have a detection range. Please, check out the macros HUNT_SHIPS and HUNT_PLANETS: some monsters do react to what is within their detection range.BlueAward wrote: ↑Mon Sep 26, 2022 11:18 pm When I hover over the detection icon for a monster or native planet, I get info that it is "Detection Range", but then it leaves the question open - what is the detection strength? I've just learned here these are the same for those neutral forces, and when you think about it then indeed "Detection Range" makes no sense for them. So the tooltip should say "Detection Strength" for those instead of "Range" and it would be obvious
https://github.com/freeorion/freeorion/ ... macros#L69
So, please, just make the tooltip for the detection icon of monsters to show that it refers to both strength and range, and for the owned ships show that it refers to only ship's detection range, and that the strength is that of the empire.
Re: Detection Range and Strength
Ooh nice, so snowflakes hunt other ships and dragons hunt planets, fair enough. Suppose this means snowflake could be herded a bit, while dragon... Is it possible that once it sniffs some empire and finds two systems close enough to fit its detection range, a dragon just jumps between the two until you build repeller or kill it or hide yo planets?Oberlus wrote: ↑Tue Sep 27, 2022 6:59 amSome monsters do have a detection range. Please, check out the macros HUNT_SHIPS and HUNT_PLANETS: some monsters do react to what is within their detection range.BlueAward wrote: ↑Mon Sep 26, 2022 11:18 pm When I hover over the detection icon for a monster or native planet, I get info that it is "Detection Range", but then it leaves the question open - what is the detection strength? I've just learned here these are the same for those neutral forces, and when you think about it then indeed "Detection Range" makes no sense for them. So the tooltip should say "Detection Strength" for those instead of "Range" and it would be obvious
(And what, dragons activate nova bombs?)
BTW that is another surprise thing I am just learning, this monster behavior
Re: Detection Range and Strength
- neutral objects: detection strength+range ; e.g. an eye surrounded by a scanning aura
- detection empire meter: detection strength ; e.g. the eye (without the scanning aura)
- empire objects: detection range ; e.g. a hole with the shape of the eye surrounded by the scanning aura
Last edited by Ophiuchus on Tue Sep 27, 2022 9:04 am, edited 1 time in total.
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Look, ma... four combat bouts!
Look, ma... four combat bouts!
Re: Detection Range and Strength
Yes. Some randomness to give chances to move away from preferred targets would be good.
Also, this made me realize there is no "HUNT_POPULATION" macro for monsters to look for people to kill (instead of just planets, that can be empty, or buildings, since there can be colonies with no buildings).
Re: Detection Range and Strength
In my experience, the meaning of the icons of any kind of GUI are learnt after you find them.Ophiuchus wrote: ↑Tue Sep 27, 2022 8:10 am yeah, I think we'd need something like three compositional icons:
- neutral objects: detection strength+range ; e.g. an eye surrounded by a scanning aura
- detection empire meter: detection strength ; e.g. the eye (without the scanning aura)
- empire objects: detection range ; e.g. a hole with the shape of the eye surrounded by the scanning aura
It's true that there are very common and well-established conventions for certain icons (like ON/OFF in electrical appliances). But most of them are absolutely void of knowledge for whoever finds them.
The meaning of the Stealth icon in FO, I know what it is only after I read the tooltip. Only then I thought "oh, it makes sense how they draw this icon". But I was not going to know the meaning only from first sight of the icon.
So, while I think it is commendable to improve the UI as much as one can, I still think 99% of the people will read the tooltip first then know the meaning/purpose of the icon, no matter how great are the icons you devise.
Re: Detection Range and Strength
yes, we are still in agreement the tooltips are more important. side note: some people need years to find the tooltips.
cosmic dragon has 50 detection, hunting in that range does make too much sense. how about including 1 hop planets?Oberlus wrote: ↑Tue Sep 27, 2022 8:17 amYes. Some randomness to give chances to move away from preferred targets would be good.
Also, this made me realize there is no "HUNT_POPULATION" macro for monsters to look for people to kill (instead of just planets, that can be empty, or buildings, since there can be colonies with no buildings).
also the macros should use *NumberOf instead of Number, else they choose multiple targets and set destination multiple times.
also note the stacking group is weird; it is applied on the targets, so currently it means the first monster marks all possible targets that no other monster my hunt there.
if something like that is intended, the *NumberOf condition should check the stackinggroup (and I think we would need to implement that, probably a good thing to have)
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Look, ma... four combat bouts!
Look, ma... four combat bouts!
Re: Detection Range and Strength
My point was to not delay the fixing of the tooltips while thinking on fashion ways of how to have different icons for same meter, plus wating for someone to draw the icons.
Not interested on any loop discussion in any case. Nothing else to add. EOL.
Re: Detection Range and Strength
Cosmic dragon, I think I have not seen that one before, actually looking at the pedia on it, it does say about star destruction, it has Nova Bomb etc. Does this dragon actually show up? Is it something for the "tower defense" games or something? Looks really scary. Maybe good that its hunting range is 50 uu or else it could really mess somebody's empire, real good
What I saw before was Vacuum Dragon which is tamer beast in comparison - got slightly confused between the two
Anyway the tooltip says detection range and nothing about strength, I suppose I did not care that much about icon, the same icon is used for empire detection strength and detection range and that did not bother me, but it did bother me that I could not figure out detection strength of a monster! And it's still not clear to me if there is anything that affects monster's or native planet's detection range, and therefore detection strength.. Stellar interference does not seem to affect them for instance
EDIT: I mean for planets are those specials that do it, fortifications or technological advancement, but is there anything more dynamic
What I saw before was Vacuum Dragon which is tamer beast in comparison - got slightly confused between the two
Anyway the tooltip says detection range and nothing about strength, I suppose I did not care that much about icon, the same icon is used for empire detection strength and detection range and that did not bother me, but it did bother me that I could not figure out detection strength of a monster! And it's still not clear to me if there is anything that affects monster's or native planet's detection range, and therefore detection strength.. Stellar interference does not seem to affect them for instance
EDIT: I mean for planets are those specials that do it, fortifications or technological advancement, but is there anything more dynamic
Re: Detection Range and Strength
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Look, ma... four combat bouts!
Look, ma... four combat bouts!
Re: Detection Range and Strength
Yo, I found the more dynamic case - when a monster enters a nebula it gets -20 detection, for a player it is only detection range and strength remains the same (stealth of stuff in the nebula raises instead) but what, it is detection strength for monster? So for poor little monster not only its detection strength gets lowered, but stealth of enemies is raised! Such imbalance for poor krakens and the lot!;)
Re: Detection Range and Strength
AFAIK you misunderstood : only initial Range and Strength are linked.
Situational diminution of Range doesn't change Strength.
But yes, it's not really clearly explained anywhere...
Situational diminution of Range doesn't change Strength.
But yes, it's not really clearly explained anywhere...
Re: Detection Range and Strength
There is no distinction between situational and non-situational effects. There is just SetDetection, that changes the Detection meter (of a ship or a monster).
An owned ship has the detection strength of the empire's meter (which is a different meter), and the detection range of its own Detection meter.
An unwoned ship only has Detection meter, and uses that value in their HUNT_SOMETHING macros to decide if it detects or not something else.
Since an Ion Storm does SetDetection value = Value - 40 and it affects everything but other fields, monsters have both less detection range and strength (while owned ships doesn't).
https://github.com/freeorion/freeorion/ ... xt#L28-L37