Co-op Health Logic Template id: L3CR2BTX
Map id: L3CR2BTX
Creator: Mutant1988
Here's another small logic template that I publish for the benefit of the community. Feel free to use it as a basis for your own levels. If you find it useful, or at the very least interesting, please rate it up.
The way it works is like this:
Each player carries an inventory of medkits that they can use to replenish their own health or that of their team mate. More medkits can be picked up inside the level. In addition to healing, you can also revive your team mates if they've been killed. To use a medkit on yourself, you press the key "User Input 1" (Default Q). To use it on your team mate, you press the key "User Input 2" (Default G).
It shouldn't be terribly hard to tweak the values to where it offers an interesting risk and reward to whether you should heal yourself or revive your team mate.
It's not an extremely complicated script, but I think it could facilitate some interesting gameplay.
To demonstrate it in action, I've set up a room with a few waves of enemies to fight. The logic needed for the co-op health system is entirely contained in the first room, so if you want to use this as a base for your own level, you can simply delete everything except the first room.
To use this logic, simply download the level and open it in the editor, then build the level you want besides the rooms already placed and then just copy the logic from my map to where you need it.
Or if you've already begun making a map, have a look at the way the logic is set up and then recreate it from scratch.
As usual, I would like to hear if you think there is anything more worth adding to the template.
[Please Check out my other Snapmaps]
[Templates]
https://www.reddit.com/r/snapmap/comments/4lhiis/radiation_logic_template_id_bhh7lshs/
https://www.reddit.com/r/snapmap/comments/4lm2nl/oxygen_airlocks_logic_template_id_mjyvstct/
https://www.reddit.com/r/snapmap/comments/4lkn0l/cold_logic_template_id_2x4vpvvy/
[Gameplay]
https://www.reddit.com/r/snapmap/comments/4l7diq/cleanup_operation_12_player_straightforward_action/
https://www.reddit.com/r/snapmap/comments/4msvjf/vampire_dm_alpha_arena_id_364nbr6c/
Posted Jun 4, 2016, 10:12 PM UTC · edited