Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

d3_c17_13 barney restart #333

Open
Mikk155 opened this issue Dec 15, 2024 · 4 comments
Open

d3_c17_13 barney restart #333

Mikk155 opened this issue Dec 15, 2024 · 4 comments

Comments

@Mikk155
Copy link
Contributor

Mikk155 commented Dec 15, 2024

Barney can be killed by troll players by using physics props-w-gravity gun and then restart the match

@ZehMatt
Copy link
Collaborator

ZehMatt commented Dec 15, 2024

There is an option to disable damage to friendly NPCs.

@ZehMatt ZehMatt closed this as completed Dec 15, 2024
@Mikk155
Copy link
Contributor Author

Mikk155 commented Dec 16, 2024

Just checked the cvar in d1_canals_01 either value of 1 or 0 still allows for killing npcs
This for a regular npc, yet i saw the code and barney would be in this category

        if attackerIsPlayer == true and self:IsNPCMissionCritical(target) and self:GetSetting("allow_npcdmg") == false then
            DbgPrint("Filtering damage on restricted NPC")
            dmginfo:SetDamage(0)

            return true
        end

Still i do think this is more of a bug because with physics props you can kill allies (even players)

https://www.youtube.com/live/rXfSPVgHdfc?si=z9j_y1xhJuS2TKlT&t=10782

also in end of coast you can hit with the vehicle the guy that is waiting for you in the faro and restart the map. then the medic citizen that is supposed to open the faro door for you also can be killed and players are unable to continue by normal means

i do suspect when a prop hits something TakeDamage's attacker is not always passed on by, or is that a timed pointer til "this attack is not anymore from X player"

@Mikk155
Copy link
Contributor Author

Mikk155 commented Dec 16, 2024

Sorry sent a wrong timestamp.
Youtube
Time stamp 2:59:14 to 2:59:50

@ZehMatt
Copy link
Collaborator

ZehMatt commented Dec 16, 2024

I will have to look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants