themrdemonized / STALKER-Anomaly-modded-exes

STALKER Anomaly exe edits with patches by community
125 stars 26 forks source link

Can NPCs be made react to priority danger #47

Closed Bamah7 closed 1 year ago

Bamah7 commented 1 year ago

Much like this from CoC last engine. "Made adjustments to xr_danger. Stalkers should now properly react to new danger and there is even a priority to when new danger should override the danger the stalker is already reacting to, which should make it less likely they will ignore 'attacked' danger for something like 'bullet ricochet' which has a lower reaction timer." or "danger | Previously it has always been the case that new danger would overwrite existing danger, even if danger was processed to be false because it was hardcoded which danger was selected from memory. For example, if you killed a npc it then caused danger_object.attacked then danger_object.corpse dangers, but if bullet hit ground and created ricochet danger then the remaining npcs would be concerned about ricochet danger, which is where they just crouch and look at ricochet spot. If scheme evaluated that npc shouldn't react to ricochet danger, then npc wouldn't react at all. In engine has been added the ability to remove danger objects from npc. Now in xr_danger if danger is evaluated to be false, then danger is removed with npc:remove_danger(danger_object), which allows the npc to find and select a new danger object from memory. Hopefully, now they should react to priority danger."

themrdemonized commented 1 year ago

xr_danger is a script and can be edited by anyone, i think there are some mods for anomaly that edits that, its not an engine issue

Bamah7 commented 1 year ago

Thank you. I have edited the script extensively. The priorities do not seem to hold when engaged in combat. I've had great results changing cambat_ignore to help different issues Biggest issue I see is if you shoot at an NPC, and miss he never reacts to the sound of the weapon firing, or if during combat he switches to looting scheme he is oblivious to being shot/hit and continues looting. I've played with the xr_danger.ltx file a lot. Any insight. Thank you.

On Mon, Oct 9, 2023 at 9:06 AM Dmitry Chernyavsky @.***> wrote:

xr_danger is a script and can be edited by anyone, i think there are some mods for anomaly that edits that, its not an engine issue

— Reply to this email directly, view it on GitHub https://github.com/themrdemonized/STALKER-Anomaly-modded-exes/issues/47#issuecomment-1752978977, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDETTJZDYRHNPGDAPV4S553X6PZGZAVCNFSM6AAAAAA5YX2ZL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSHE3TQOJXG4 . You are receiving this because you authored the thread.Message ID: @.*** com>

themrdemonized commented 1 year ago

Try this https://www.moddb.com/mods/stalker-anomaly/addons/fixed-xr-danger

Bamah7 commented 1 year ago

Thanks for the time, sincerely. That does not work correctly. I'll keep mine and continue on. I almost have a balance between danger, combat ignore and camper. If I shoot at an NPC, the entire squad will hammer my position and remain doing so till my extended timer runs out. They, will then move on my position, unless the looting scheme kicks in and one will loot and forget actor was a "danger". Other than that perfect. I won't bother you anymore.

On Mon, Oct 9, 2023 at 12:57 PM Dmitry Chernyavsky @.***> wrote:

Closed #47 https://github.com/themrdemonized/STALKER-Anomaly-modded-exes/issues/47 as completed.

— Reply to this email directly, view it on GitHub https://github.com/themrdemonized/STALKER-Anomaly-modded-exes/issues/47#event-10593617044, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDETTJ2EIS3CAGTXHIUTKZDX6QUF5AVCNFSM6AAAAAA5YX2ZL6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQGU4TGNRRG4YDINA . You are receiving this because you authored the thread.Message ID: <themrdemonized/STALKER-Anomaly-modded-exes/issue/47/issue_event/10593617044 @github.com>