ACF-Team / ACF-3

ACF
MIT License
67 stars 54 forks source link

[BUG] Cannot deal damage to unowned NPCs #346

Closed MeZoNiX closed 6 months ago

MeZoNiX commented 1 year ago

Short Description

NPCs spawned by map or via ZINV do not have an owner, and because of that they cannot be damaged with ACF projectiles, even when damage protection is turned off in ACF options by selecting damage permission mode "none". Using Prop Protection addons to claim ownership on them (Nadmod, for example) makes them able to receive damage normally.

Branch and Version

x64 version of the game, latest ACF version dated to February 5, 2023.

Console Error Logs (Optional)

No console errors detected.

How to Reproduce (Optional)

Try shooting any non-explosive projectiles (e.g. ammo-piercing rounds from MG) at map-spawned NPCs, or use ZINV to populate the map with unowned NPCs.

Screenshots (Optional)

Effects on unowned NPC: 20230220092145_1

Effects on player-spawned NPC: 20230220092212_1 20230220092214_1