Skip to content

fix: make vehicles able to engage and roadkill all hostile pawns including manhunter animals - #354

Merged
SmashPhil merged 2 commits into
SmashPhil:developfrom
scarf005:fix/manhunter-roadkill
Aug 19, 2026
Merged

fix: make vehicles able to engage and roadkill all hostile pawns including manhunter animals#354
SmashPhil merged 2 commits into
SmashPhil:developfrom
scarf005:fix/manhunter-roadkill

Conversation

@scarf005

@scarf005 scarf005 commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • fixed vehicles not dealing damage when hitting hostile pawns
  • fixed vehicles not fighting hostile pawns
    specifically, both weren't happening because hostility check wasn't checking enemy pawn is hostile to vehicle but vice-versa isn't kind

Testing

Before

_1.785.655.778.157.mp4
  • tank does not engage manhunting rhinos
  • tank does not deal damage when hitting manhunting rhinos

After

_after.mp4
  • tank engages manhunting rhinos
  • tank deals damage when hitting manhunting rhinos (and kills them)

Extra

AI usage disclosure: used AI for writing commits (gpt 5.6 sol on pi). Everything else, including testing and opening this PR was done manually.

@scarf005 scarf005 changed the title fix: fix vehicle manhunter and roadkill behavior fix: make vehicle engage and able to roadkill manhunter animals Aug 2, 2026
@scarf005 scarf005 changed the title fix: make vehicle engage and able to roadkill manhunter animals fix: make vehicles able to engage and roadkill manhunter animals Aug 2, 2026
previously vehicles weren't dealing hit damage to manhunting animals because they lacked faction

Assisted-by: pi:gpt-5.6-sol
Co-authored-by: chatgpt-codex-connector[bot] <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com>
@scarf005
scarf005 force-pushed the fix/manhunter-roadkill branch from 3315c83 to e63b4ee Compare August 2, 2026 11:11
Assisted-by: pi:gpt-5.6-sol
Co-authored-by: chatgpt-codex-connector[bot] <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com>
@scarf005
scarf005 force-pushed the fix/manhunter-roadkill branch from e63b4ee to e57b4d9 Compare August 2, 2026 11:13
@scarf005 scarf005 changed the title fix: make vehicles able to engage and roadkill manhunter animals fix: make vehicles able to engage and roadkill all hostile pawns including manhunter animals Aug 2, 2026
@SmashPhil

SmashPhil commented Aug 19, 2026

Copy link
Copy Markdown
Owner

I appreciate the AI disclosure. Sorry it took so long for me to get to this @scarf005

The only remark I have is that this may be a bit redundant. I think the same can be accomplished by just switching the check from HostileTo(Thing, Faction) to HostileTo(Thing, Thing) as the latter checks the former at the end.

I'll make the changes after merging since you've probably moved on already

@SmashPhil
SmashPhil merged commit 86aebfe into SmashPhil:develop Aug 19, 2026
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

Successfully merging this pull request may close these issues.

2 participants