Jump to content


Photo

Fog of war not always getting cleared


  • Please log in to reply
2 replies to this topic

#1 temnix

temnix
  • Member
  • 983 posts

Posted 20 January 2018 - 06:46 PM

I'm having trouble setting the EXPLORE stat. Either with the Clear fog of war effect or directly with ChangeStat. They give somewhat different selections, but neither affects all creatures when passed through EFF filters. For example, I've tried putting this effect on all innocents at the Nashkel Fair, and only a portion are affected. And sometimes the effect works strangely, clearing the black fog of war but not the gray haze. I can see the creature, but there is no light circle. It's like a complete blindness. I've tried adding a visual range boost, but nothing helps. What's also strange is that using the spell with the effect directly on a creature has worked every time properly, but not when the same spell is sent out to Everyone or to targets in a very wide area of effect.

 

-> After some experiments... Now I realize that with the opcode, at least, there is a limit on the number of creatures that can properly reveal space around themselves. The first 3-4 innocents with an in-built radar that I typed in started to clear that circle, but the following ones only gave the gray haze. With the Everyone targeting, apparently, the effects gets applied to some before others, maybe outwards from the caster, so the rest of the creatures don't get the real circle, and some get nothing at all.

 

Does anybody know more about this limit?



#2 Avenger_teambg

Avenger_teambg
  • Member
  • 604 posts

Posted 20 January 2018 - 10:49 PM

Yes, there is a limit, 8.

 

It is because the visibility map has only 8 bits allocated for this. Each 'explorer' creature sets a separate bit of the visibility map, and there are no more free bits. 

read more here: https://forums.beamd...0767/no-fog-mod


Edited by Avenger_teambg, 20 January 2018 - 10:56 PM.

Avenger

#3 temnix

temnix
  • Member
  • 983 posts

Posted 21 January 2018 - 10:19 AM

Yes, I've figured it out by now. Is this something that could be addressed in a patch? I'm going to have to shift the visibility between scouts... Or even take it away from the party. Hmm, there is an idea.