Skip to content

Healing others #333

@AKryukov92

Description

@AKryukov92

Currently, there are no ways for healing others (other than drop-pickup-use).

There was some talk about healing others in #203 PR. @MinetestSam said that @rubenwardy wants to promote teamwork.
I started reply there, but it gets too long, so I decided that original PR have nothing common with it.

First of all, I want to challenge the thesis of @ClobberXD

multiple items that do the exact same thing is a little overkill for CTF

Having word "healing" in description does not make features the same.
If you are healing yourself, you have almost none interaction issues. You know when healing starts and when it ends. You don't need to chanse and target anyone.

I thought a bit and come up with a number of different ways of healing others:

  • Interruptable healing over time in close contact (bandages)
    Player should get close to other player, target him, start healing and then both should wait for some time. This is new type of action in CTF.
    You need to check: are you in the same team, are you on correct distance, do you have line of sight.
    You should somehow tell subject of healing that he should stop for some time and wait for healing to be completed. You should probably interrupt healing if subject of healing run away. That's why I don't like idea of bandages for fast-paced game. You will probably waste most of your bandages.
    If players will be slowed down by bandages, then it is possible to abuse them to interfere flag carrying.
  • Instant healing in close contact (healing sword)
    Player should get close to other player, target him, use healing item. Sword fighting is very common in CTF too.
    You need to check distance, teams and line of sight.
    It should be possible to use this item a lot to make it useful.
  • Healing with projectiles (healing gun)
    Player should get close enough to other player, target him, predict his movement and fire bullet. This action is very typical for CTF, so there is nothing too complex.
    In this case you need to create projectiles and check if they hit player on your team.
    If projectiles will be affected by gravity, then this way will be very laggy. Like crossbow.
    That's why bullets should fly a simple trajectory and not far.
  • Instant healing all in some area (healing grenade)
    You can even use grenade API introduced in Add the grenades mod #279
    You need to check distance, team and apply healing. You don't need to target anyone. You probably don't need to check line of sight.
    This item should be consumed on use. Otherwise, it is overpowered.
  • Drop "hearts" to allow teammates to interact with them.
    Healer clicks the ground. There appears "heart". Other players clicks "heart" or steps onto it and recieves hitpoint change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions