Jump to content


Photo

Remove the clear fog of war (Stats: 148 EXPLORE) from a PC


5 replies to this topic

#1 Grammarsalad

Grammarsalad
  • Modders
  • 386 posts
  • Gender:Male

Posted 20 December 2016 - 10:17 PM

Is it possible to remove the clear fog of war stat from a pc temporarily?  

 



#2 lynx

lynx
  • Modders
  • 2787 posts
  • Gender:Male
  • Location:Ljubljana, Slovenija

Posted 20 December 2016 - 11:21 PM

You could try setting it to 0, but I'd wager it's just an extra check. Blinding the pc would have a similar effect though.


GemRB - IE anywhere.
Mages needed! Looking for Planescape: Torment testers
Market android version IS NOT SUPPORTED ANYMORE: reported bugs will be ignored! Still looking for builders ...

#3 Grammarsalad

Grammarsalad
  • Modders
  • 386 posts
  • Gender:Male

Posted 21 December 2016 - 05:18 AM

You could try setting it to 0, but I'd wager it's just an extra check. Blinding the pc would have a similar effect though.

But how can i do that? Maybe I'm being dense but i can't find an opcode or script action that does this.

And yeah, i know that blinding will do basically the same thing. But I'm trying to get around an engine limitation where wacky things happen if there are more than 8 characters with clear fog of war ( somebody, I think randomly, loses it. Or maybe the 9th creature just doesn't get it. I have to test more to find out exactly.)

I have a few spells that grant clear FoW for summoned creatures, but you can have this issue if you have a familiar active and a wizard eye. It can also presumably conflict with Argent77's genie mod. My solution was to control exactly who loses cfow by making the caster lose it for the duration of the spell.

Edit: maybe blinding the caster also sets explore to 0?

Edited by Grammarsalad, 21 December 2016 - 05:20 AM.


#4 argent77

argent77
  • Modders
  • 566 posts
  • Gender:Male

Posted 21 December 2016 - 05:54 AM

I don't think there is anything we can do modding-wise. This is an engine limitation or bug, and has to be fixed on that level. It appears party members are always within the first 8 creatures with working "Clear fog of war". If the total amount of creatures with "Clear fog of war" exceeds 8 then one or more non-party creatures are randomly chosen (by race condition?) whenever you load a save or enter a new area.

It also affects the cutspy helper creature which is used in many cutscene sequences. You can experience this issue even in an unmodded game if you have a full party with familiar while watching the cutscene where Irenicus takes control over Spellhold (at chapter 3 start). The cutspy instance near Imoen does not work.

Blinding a character won't help as it only limits the range of the "Clear fog of war", but doesn't remove it completely.
 



#5 Grammarsalad

Grammarsalad
  • Modders
  • 386 posts
  • Gender:Male

Posted 21 December 2016 - 04:20 PM

. .bummer

#6 Avenger

Avenger
  • Modders
  • 3642 posts
  • Gender:Male
  • Location:Hungary

Posted 22 December 2016 - 02:55 AM

The visual range could be lowered, but this will affect more than fog of war. Opcode: 262





Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users