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

Suggestion: Tarzan-mode for humans or bats or both #78

Closed
yavl opened this issue Feb 3, 2019 · 5 comments
Closed

Suggestion: Tarzan-mode for humans or bats or both #78

yavl opened this issue Feb 3, 2019 · 5 comments
Labels
new feature this is a new feature

Comments

@yavl
Copy link
Owner

yavl commented Feb 3, 2019

A more natural and less clunky taxi mode. Let hook-protected humans infinitely hook non hook-protected humans without affecting them.

Example for humans:
16 players on the server, spacious map (normandie, damascus, newdust) is being played, Mercenary is not hook-protected and 3 other tees are hook protected. Those 3 tees hook mercenary and then mercenary starts flying with a tail of 3 tees.

Example for bats:
Bat-only feature for quick infected forces' transportation on large maps. Same behaviour, unlimited number of zombies hook Bat and fly with him. If zombs won't stop holding hook button, Bat could throw down zombies at any time by enabling hook protection.

At a distance smaller than minimum, hook should behave like spider's hook on web mode.

@yavl yavl added the enhancement New feature or request label Feb 3, 2019
@teoman002 teoman002 added high priority This issue has higher priority new feature this is a new feature and removed enhancement New feature or request high priority This issue has higher priority labels Feb 8, 2019
@teoman002
Copy link
Collaborator

teoman002 commented Feb 8, 2019

Tarzan mode for humans, outline:

  1. condition: driver is not hook protected
  2. condition: guests are hook protected
  3. condition: driver is hooked
  4. behaviour: enable spider mode for guest, hook has a maximal length, if hook get's too long, the distance between driver and guests is held constant, guests position changes accordingly.
  5. exit condition: driver is hook protected or driver died or guest died
  6. behaviour: disable spider mode from guest, remove hook if hook exists

@teoman002
Copy link
Collaborator

@yavl can you help me with the coding of 1 2 3 5 ?
I do 4) 6)

@teoman002
Copy link
Collaborator

look in character.cpp line 1933
player.cpp line 208

@yavl
Copy link
Owner Author

yavl commented Feb 9, 2019

@teoman002 yeah, but i don't know how to deal with client hook predictions, disabling it for Bats when hooked by zombies but not humans

@teoman002
Copy link
Collaborator

Why do you need to disable client hook predictions?

if GetPlayer->IsZombie() {DisablePredictions}
if GetPlayer->IsHuman() continue;

@teoman002 teoman002 mentioned this issue Feb 9, 2019
@teoman002 teoman002 added the in progress will be fixed soon label Feb 10, 2019
@teoman002 teoman002 removed high priority This issue has higher priority in progress will be fixed soon labels Feb 12, 2019
bretonium pushed a commit to bretonium/my-infclass-server that referenced this issue Mar 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature this is a new feature
Projects
None yet
Development

No branches or pull requests

2 participants