TeamREPENTOGON / TeamREPENTOGON/REPENTOGON

Getting player melee hitspheres + dealing player effect damage

Open
#324 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
345
Forks
51
Avg merge
11h 2m
Merged PRs (30d)
4

Description

I was going to comment further on this in won's issue #323 , but I felt it would be worth putting in its own issue

  1. We can grab the capsules of entities via Entity:GetCollisionCapsule(), but the special capsules used by melee attacks (Forgotten's Bone Club, T. Lilith's Whip attack) doesn't grab the special capsule that deals damage. The one that appears as a yellow capsule when viewing through debug 6.
  2. I'm aware we have the ability to spawn capsules, but I think it would be great to have some form of directly dealing/spawning a capsule for dealing player damage alongside naturally triggering tear effects. This is yet again in relation to what Forgotten and T. Lillith spawn for their melee attacks. The closest we have to this would be spawning an invisible knife and controlling when it collides with enemies, but spawning a melee hitsphere that naturally deals player damage and triggers TearFlag effects from the player that spawned it feels like it would be more natural? If not that, then a similar way to do trigger player damage + tear effects without the need of a capsule. If this is too specific to ask for though I completely understand, especially with that whole invisible knife thing available as a valid-ish option.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Entity:GetCollisionCapsule() and the debug 6 yellow capsule behavior described in the issue, then compare the melee attacks named for Forgotten and T. Lilith. Done would provide a supported way to access melee hit capsules and to trigger player damage with the spawning player's tear effects, or clearly define the supported alternative.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, lua
Domain
game-dev, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.