3 New Notifications

New Badge Earned
Get 1K upvotes on your post
Life choices of my cat
Earned 210

Drag Images here or Browse from your computer.

Trending Posts
Sorted by Newest First
O
Olamawai 05.08.21 10:25 pm

How to remove crooked aiming for NPC bots in PM? (STALKER: Shadow of Chernobyl)

When bots shoot and aim at me, they have a crooked pose and look sideways. How to fix this?
2 Comments
Sort by:
s
shahVkit 05.08.21

You can partially correct:
Option # 1:
in the state_mgr.script file, comment out lines from 370 to 375, they should contain the following code:

- 'If we switch from a running position to a standing position, we need to override the move
if state_lib.states [self.target_state ] .movement ~ = move.stand and
state_lib.states [state_name] .movement == move.stand
then
self.npc: movement_enabled (false)
end

Option # 2:
As you can see, threat, hide_fire and hide_sniper_fire have animation = nil and it was by playing these animations that the npc was mowed down.
Do not remove those lines in state_mgr.script, but change them as follows:
before
- 'If we switch from a walking position to a standing position, we must suppress the movement
if state_lib.states [self.target_state] .movement ~ = move.stand and
state_lib.states [state_name] .movement == move.stand
then
self.npc: movement_enabled (false)
end

after
- 'If we switch from a walking position to a standing position, we must disable movement
if state_lib.states [self.target_state] .movement ~ = move.stand and
state_lib.states [self.target_state] .animation ~ = nil and
state_lib.states [state_name] .movement == move.stand
then
self.npc: movement_enabled (false)
end

O
Olamawai 05.08.21

shahVkit Man
, you are a genius! Thank you very much!!!!!!!