Page 1 of 2

How to get highlighting to work on critters?

Posted: Mon Jun 07, 2021 3:42 am
by NightmareOmegaX
Hello,
The highlighting feature is working great for everything else except critters.  I’ve tried different colors but it doesn’t seem to work at all on NPC’s or enemies like rats. 
I have version 12.5 of FO2Tweaks installed alongside version 20 of Restoration Project Updated and Inventory Filter mod v2.0.  I deleted gl_highlighting.int.
Here is the highlighting section of my fo2tweaks.ini:
 

Code: Select all

 
[highlighting]
; DX scandode of a key to press to highlight items on the ground
; 42 - SHIFT key
; https://github.com/phobos2077/sfall/blob/master/artifacts/scripting/headers/dik.h
key=42
; Set the color of outlines, available colors:
; 0 - disable
; 1 - glowing red
; 2 - red
; 4 - grey
; 8 - glowing green
; 16 - bright yellow
; 32 - dark yellow
; 64 - purple
color_critters=32
color_corpses=16
color_containers=8
color_locked_containers=2
color_locked_doors=2
color_traps=2
color_items=16
color_party=8
color_dude=4
color_transitions=64
; set to 1 to only highlight objects in the player's line-of-sight
check_los=1
; skip empty containers and corpses
skip_empty=1
; Set to 1 to ignore NO_HIGHLIGHT flag on objects and highlight them regardless
ignore_nohighlight=1
; Motion Scanner mode:
; 0 - ignored
; 1 - requires Motion Scanner present in player inventory to activate highlighting
; 2 - requires Motion Scanner and also requires 1 charge on every use (depleted scanner will not work anymore)
motion_scanner=0
; Skip these items (pids). Mostly various bookshelves and bookcases
skip_items=148,150,154,156
; (additional pids of) traps, comma separated
; RP's Raiders Cavern pits
traps=33556185
; (additional pids of) area transitions such as manholes, wells, etc
transitions=33554629
 

Here is my sfall-mods.ini (version 4.3) highlighting section as well:
 

Code: Select all

 
[Highlighting]
; DX scancode of a key to press to highlight items on the ground
;  42 - SHIFT key
Key=0
 
; Set to 1 to also highlight containers
Containers=0
 
; Set to 1 to also highlight lootable corpses
Corpses=0
 
; Set to 1 to only highlight objects in the player's line-of-sight
CheckLOS=0
 
; Set the color of outlines, available colors:
; 1 - glowing red
; 2 - red
; 4 - grey
; 8 - glowing green
; 16 - bright yellow
; 32 - dark yellow
; 64 - purple
; You can set a custom color from the game palette by multiplying the color index value by 256 (available since sfall 4.2.7)
OutlineColor=16
 
; Motion Scanner mode:
; 0 - ignored
; 1 - requires Motion Scanner present in player inventory to activate highlighting
; 2 - requires Motion Scanner and also requires 1 charge on every use (depleted scanner will not work anymore)
MotionScanner=0
 

Re: How to get highlighting to work on critters?

Posted: Mon Jun 07, 2021 3:46 am
by Magus
attach a save and a screenshot

Re: How to get highlighting to work on critters?

Posted: Mon Jun 07, 2021 4:08 am
by NightmareOmegaX
Here's a screen of my current playthrough.  The dude targeting is working as you can see in the screenshot.

npchighlight.png

Here's a screen of a new save with enemy critters.
dudehighlight.png

Re: How to get highlighting to work on critters?

Posted: Mon Jun 07, 2021 4:34 am
by Magus
There's a bug in LOS checking.
Extract this into data/scripts, should work.

Re: How to get highlighting to work on critters?

Posted: Mon Jun 07, 2021 4:41 am
by NightmareOmegaX
Didn't work.  In fact, setting check_los to 0 still doesn't highlight critters, with or without that script. Even made a new save, same issue.

Re: How to get highlighting to work on critters?

Posted: Mon Jun 07, 2021 4:54 am
by Magus
OK, can you attach full fo2tweaks.ini, ddraw.ini and sfall-mods.ini?

Re: How to get highlighting to work on critters?

Posted: Mon Jun 07, 2021 4:58 am
by NightmareOmegaX
ini's.zip
(18.5 KiB) Downloaded 397 times

Re: How to get highlighting to work on critters?

Posted: Mon Jun 07, 2021 5:30 am
by Magus
I can't confirm. Using your inis:
Captura de pantalla de 2021-06-07 12-30-28.png

Re: How to get highlighting to work on critters?

Posted: Mon Jun 07, 2021 5:39 pm
by NightmareOmegaX
I figured it out.  I had Fog of War on which was preventing critters from being highlighted. Can you confirm the issue with Fog of War on?

Re: How to get highlighting to work on critters?

Posted: Mon Jun 07, 2021 7:14 pm
by Magus
Yes. I'll look into it.