Unlimited party, improved damage formula, better healing system, comprehensive highlighting and more.
NightmareOmegaX
Posts: 5
Joined: Mon Jun 07, 2021 3:12 am

How to get highlighting to work on critters?

Post by NightmareOmegaX » Mon Jun 07, 2021 3:42 am

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
 

User avatar
Magus
Site Admin
Posts: 390
Joined: Mon Nov 21, 2016 9:13 am
Contact:

Re: How to get highlighting to work on critters?

Post by Magus » Mon Jun 07, 2021 3:46 am

attach a save and a screenshot
Please do not PM or email me about my mods and projects. Use forums. Also, see our talk channels.

NightmareOmegaX
Posts: 5
Joined: Mon Jun 07, 2021 3:12 am

Re: How to get highlighting to work on critters?

Post by NightmareOmegaX » Mon Jun 07, 2021 4:08 am

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
Attachments
SLOT32.zip
(327.19 KiB) Downloaded 121 times

User avatar
Magus
Site Admin
Posts: 390
Joined: Mon Nov 21, 2016 9:13 am
Contact:

Re: How to get highlighting to work on critters?

Post by Magus » Mon Jun 07, 2021 4:34 am

There's a bug in LOS checking.
Extract this into data/scripts, should work.
Attachments
gl_g_highlighting.int.zip
(3.51 KiB) Downloaded 117 times
Please do not PM or email me about my mods and projects. Use forums. Also, see our talk channels.

NightmareOmegaX
Posts: 5
Joined: Mon Jun 07, 2021 3:12 am

Re: How to get highlighting to work on critters?

Post by NightmareOmegaX » Mon Jun 07, 2021 4:41 am

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.

User avatar
Magus
Site Admin
Posts: 390
Joined: Mon Nov 21, 2016 9:13 am
Contact:

Re: How to get highlighting to work on critters?

Post by Magus » Mon Jun 07, 2021 4:54 am

OK, can you attach full fo2tweaks.ini, ddraw.ini and sfall-mods.ini?
Please do not PM or email me about my mods and projects. Use forums. Also, see our talk channels.

NightmareOmegaX
Posts: 5
Joined: Mon Jun 07, 2021 3:12 am

Re: How to get highlighting to work on critters?

Post by NightmareOmegaX » Mon Jun 07, 2021 4:58 am

ini's.zip
(18.5 KiB) Downloaded 146 times

User avatar
Magus
Site Admin
Posts: 390
Joined: Mon Nov 21, 2016 9:13 am
Contact:

Re: How to get highlighting to work on critters?

Post by Magus » Mon Jun 07, 2021 5:30 am

I can't confirm. Using your inis:
Captura de pantalla de 2021-06-07 12-30-28.png
Please do not PM or email me about my mods and projects. Use forums. Also, see our talk channels.

NightmareOmegaX
Posts: 5
Joined: Mon Jun 07, 2021 3:12 am

Re: How to get highlighting to work on critters?

Post by NightmareOmegaX » Mon Jun 07, 2021 5:39 pm

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?

User avatar
Magus
Site Admin
Posts: 390
Joined: Mon Nov 21, 2016 9:13 am
Contact:

Re: How to get highlighting to work on critters?

Post by Magus » Mon Jun 07, 2021 7:14 pm

Yes. I'll look into it.
Please do not PM or email me about my mods and projects. Use forums. Also, see our talk channels.

Post Reply