Let's talk about combat

User avatar
Hume2
Member
Posts: 709
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Let's talk about combat

by Hume2 » Post

I found that combat in Minetest is a bit confusing and might use some improvements.

Have you noticed that when you are attacked by a few monsters at once, you are hopeless with a stone sword? Also in 5.0, it's planned that iron ore will occur deeper, which will make you even more hopeless.

The full-punch interval is a nice feature but it leads to confusion. If you are raged and hit a mob by a stone sword too frequently, it doesn't do anything, so you feel like something is wrong here. It's because the damage is rounded down to zero, so it does zero damage. You actually have to click ... wait ... click ... wait ... click ... wait, which is quite boring and unusable when you are attacked by multiple enemies.

My suggestion is changing this:

tflp / (tool_capabilities.full_punch_interval or 1.4)

to this:

math.sqrt(tflp / (tool_capabilities.full_punch_interval or 1.4))

The full punch interval will still play a role but your rage will make you stronger. Also knockback should be applied to all hits, not only full punches. The knockback will then depend on the damage taken. With these two improvements, you won't be so hopeless against a smaller horde of enemies while possessing only a stone sword.

What do you think?
If you lack the reality, go on a trip or find a job.

User avatar
davidthecreator
Member
Posts: 452
Joined: Mon Aug 18, 2014 19:48
GitHub: daviddoesminetest
In-game: DavidDoesMinetest
Location: Lithuania

Re: Let's talk about combat

by davidthecreator » Post

I think they should also increase damage of wooden and stone swords...

Stone from 4 to 5

And wood from 2 to 3

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: Let's talk about combat

by texmex » Post

On the topic of mob combat: have you noticed you’re never really fight them but really only go to war with their selection boxes? xD

User avatar
davidthecreator
Member
Posts: 452
Joined: Mon Aug 18, 2014 19:48
GitHub: daviddoesminetest
In-game: DavidDoesMinetest
Location: Lithuania

Re: Let's talk about combat

by davidthecreator » Post

texmex wrote:On the topic of mob combat: have you noticed you’re never really fight them but really only go to war with their selection boxes? xD
As long as the mob dies, I don't care what I'm hitting.

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: Let's talk about combat

by texmex » Post

davidthecreator wrote:
texmex wrote:On the topic of mob combat: have you noticed you’re never really fight them but really only go to war with their selection boxes? xD
As long as the mob dies, I don't care what I'm hitting.
Immersion much?

User avatar
Hume2
Member
Posts: 709
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Re: Let's talk about combat

by Hume2 » Post

texmex wrote:On the topic of mob combat: have you noticed you’re never really fight them but really only go to war with their selection boxes? xD
Well, yes, you're right. I personally don't mind fighting against selection boxes but I'd like to enjoy the battle. Clicking with a long period and retreating isn't satisfactory enough. If clicking faster makes me stronger, I can feel the battle better. (tested myself)
If you lack the reality, go on a trip or find a job.

User avatar
davidthecreator
Member
Posts: 452
Joined: Mon Aug 18, 2014 19:48
GitHub: daviddoesminetest
In-game: DavidDoesMinetest
Location: Lithuania

Re: Let's talk about combat

by davidthecreator » Post

texmex wrote:
davidthecreator wrote:
texmex wrote:On the topic of mob combat: have you noticed you’re never really fight them but really only go to war with their selection boxes? xD
As long as the mob dies, I don't care what I'm hitting.
Immersion much?
When you light an explosive / shoot a projectile, you are technically both, hurting the explosive/bullet, and forcing it to hurt itself even more, to blast/hit the mob... But...

That's how combat works.

Astrobe
Member
Posts: 570
Joined: Sun Apr 01, 2018 10:46

Re: Let's talk about combat

by Astrobe » Post

Recently I tried to mix a bunch of mods together to make a very simple-minded shooter; just run around and kill stuff with guns. In one of my attempts, I used sci-fi mobs which introduces all kind of robots. I was able to kill a robot with a stone sword, pretty easily.

Discussing the combat system out-of-context won't bring us anywhere. You might have armor, you might have guns and you might face dinosaurs or robots or zombies. Saying that one should increase the damage of the stone sword by one or doing this or that... Sure, it may indeed be good for your game, but it also won't make sense in another game. I have no problem with the fact that my players would be in deep trouble facing more than two monsters with just a stone sword (actually even a steel sword, I removed the stone sword that made no sense in my case). That's normal, my game design is that there are not many monsters, but they hit hard; my player I advised to avoid dangerous places (and run away if they see something obviously too big for them) until they have a decent equipment - which used to be common sense (until F2P video games started to center their design on player retention, in other words "don't make them cry and ragequit cuz that's not how you get their money", and so players more and more expect to kill anything that come their way with whatever is in their character's hand).

Combat is a whole system that includes mobs, weapons, armor, environment... You have to adjust the damage here, the HP there, etc. to make things work according to what you want. Maybe you want a lot of easy-to-kill mobs, maybe you want a fewer-but-hard-to-kill mobs (often you want both, but in different proportions than the next game).

User avatar
Hume2
Member
Posts: 709
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Re: Let's talk about combat

by Hume2 » Post

I think, you didn't get the point. This thread isn't about making sword X stronger or making monster Y weaker or changing the full punch interval. Of course that I can balance them for my needs. This thread is about how the damage is calculated from the punch interval. It's about changing the game mechanics so it will be more fun to fight monsters. Of course that this will rebalance the current mods. I can change "tflp / (tool_capabilities.full_punch_interval or 1.4)" to "math.sqrt(tflp / (tool_capabilities.full_punch_interval or 1.4))" in mobs redo myself easily but there's also something similar hardcoded in Minetest engine.
Last edited by Hume2 on Thu Feb 21, 2019 17:20, edited 1 time in total.
If you lack the reality, go on a trip or find a job.

User avatar
jas
Member
Posts: 593
Joined: Mon Jul 24, 2017 18:15
IRC: Freenode
Location: IRC

Re: Let's talk about combat

by jas » Post

Can't right mouse button to jump, and it messes me all up. I been playing a little bit of UrT lately, and it's stressful switching between games because of it.

Astrobe
Member
Posts: 570
Joined: Sun Apr 01, 2018 10:46

Re: Let's talk about combat

by Astrobe » Post

Hume2 wrote:I think, you didn't get the point. This thread isn't about making sword X stronger or making monster Y weaker or changing the full punch interval. Of course that I can balance them for my needs. This thread is about how the damage is calculated from the punch interval.
I think my answer was on point, but I indeed forgot to address your main question:
The full punch interval will still play a role but your rage will make you stronger [...] What do you think?
I sometimes see players on my server - probably kids on Android - who stand in place and just spam the punch button when attacked by a mob. Seeing this makes me sad, because they don't use their characters' mobility to avoid losing HP.

That's the kind of gameplay your proposal tends to support, because the intend of the change is to reduce the penalty for spamming the punch button. Well, the fact that I don't like that isn't the only problem with it, unfortunately.

I think that removing or weakening one of the few combat mechanics the game features is not a good answer, because the root cause of the problem, in my opinion, is that there aren't enough combat mechanics.

I'm also a bit dissatisfied with combat, because fighting melee mobs in my game boils down to "kiting" them (it's not completely trivial though, cause there's always the risk of falling in a hole). My current thinking about this is to add more combat mechanics, more specifically enhancing the behavior of the mobs so that they won't be kited too easily. Very specifically, I'm considering the idea of making them teleport somewhere around the player when hit (sometimes), because the general theme of my game allows it.

Of course this probably won't work for anyone else. In your case (stone sword vs angry mob), a possible solution could be to reset the punch interval (actually ignore tflp etc.) when the player hits a different mob (one could imagine that a mob that was just hit has its "guard" up for a while).

User avatar
jas
Member
Posts: 593
Joined: Mon Jul 24, 2017 18:15
IRC: Freenode
Location: IRC

Re: Let's talk about combat

by jas » Post

If there was some visual feedback it would be helpful, or auditory feedback.

User avatar
Hume2
Member
Posts: 709
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Re: Let's talk about combat

by Hume2 » Post

Well, you're right. The combat should be something more than clicking a selection box n-times. The mechanism I suggested supports the noob-like combat but when there are more angry mobs at once, you still need to retreat to dodge the attacks. However, one shouldn't retreat too much, it's not fun either.

I think, there could be different types of attack. Maybe if you press a key and click at once, it could make a different attack.
If you lack the reality, go on a trip or find a job.

User avatar
firefox
Member
Posts: 1709
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox
Location: Xanadu

Re: Let's talk about combat

by firefox » Post

the formula should have minimum damage set to 1. knockback distance equal to damage dealt (minimum 1).
then you can also fight stronger mobs by pushing them down a cliff or you can keep them away to escape.
punching everything to death with the basic fist can be avoided by increasing mob hp.
and even if that mechanic would make it possible to continously knockback a mob and take no damage, it would only work against 1 target but not multiple.
✨🏳️‍🌈♣️✨

Astrobe
Member
Posts: 570
Joined: Sun Apr 01, 2018 10:46

Re: Let's talk about combat

by Astrobe » Post

If you make knockback independent from damage (MobsRedo allows this to some extent), you can have a mace that does little damage and has a long punch interval, but pushes back a mob. Then the player can switch between a regular DPS sword and the CC (crowd-control) mace.

I think one should look more towards defensive abilities like CC. A key to block attacks seems difficult to do because few mobs have attack animations (and I think with MobsRedo the damage is dealt when the animation is started anyway).

Games (outside of MT) that I've played often give the players "abilities" (special powers with cooldowns). Some of these abilities deal little or no damage but have special effects: CC (like knock-back, slow, ensnare, confusion), special character moves like teleportation, temporary shield/invulnerability, temporary speed/jump buffs, dashes,...

User avatar
Fixer
Member
Posts: 904
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

Re: Let's talk about combat

by Fixer » Post

Minetest Game does not even have mobs... yet

ShadMOrdre
Member
Posts: 1118
Joined: Mon Dec 29, 2014 08:07
Location: USA

Re: Let's talk about combat

by ShadMOrdre » Post

I suppose an on_punch override, that checks for whether the player is jumping, sneaking, sprinting, moving forward or backward, or side stepping, while holding a weapon, (ie, anything that deals fleshy damage) and attacking with said weapon would be the best method of determining the strength and the type of the attack.

IMHO, this mechanic would be far more beneficial than simply toying with punch intervals, tool caps, or altering other mods.
A key to block attacks seems difficult to do
This seems a better use of E than sprinting. Sprinting should be a double tap W.

843jdc
Member
Posts: 361
Joined: Tue Jan 19, 2016 16:46
GitHub: jdc843
IRC: jdc843
In-game: 843jdc
Location: USA

Re: Let's talk about combat

by 843jdc » Post

Stone swords should shatter into rubble the first time they hit anything. Diamond swords should be removed from the game.

Just my 2 cents

User avatar
PolySaken
Member
Posts: 817
Joined: Thu Nov 09, 2017 05:18
GitHub: PolySaken-I-Am
In-game: PolySaken
Location: Wānaka, Aotearoa
Contact:

Re: Let's talk about combat

by PolySaken » Post

843jdc wrote:Stone swords should shatter into rubble the first time they hit anything. Diamond swords should be removed from the game.

Just my 2 cents
Indeed. we should have:
> find rock on ground
> beat tree with rock
> make stone club
> use club to mine iron

and then there should be a proper steel-making process using carbon-imbuement

and diamonds should be for making non-force tools like a file or saw.
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.

User avatar
Joseph16
Member
Posts: 310
Joined: Tue Dec 06, 2016 05:35
In-game: smb3

Re: Let's talk about combat

by Joseph16 » Post

I didn't even know minetest had an attack cool-down till recently when I died from spam clicking a wolf. There is no indicator of cooldown status or anything. So to the untrained eye you would never know. I think I'm gonna remove the sword cooldown on my server.
Testin' mines since 1989

User avatar
Hume2
Member
Posts: 709
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Re: Let's talk about combat

by Hume2 » Post

Joseph13 wrote:I didn't even know minetest had an attack cool-down till recently when I died from spam clicking a wolf. There is no indicator of cooldown status or anything. So to the untrained eye you would never know. I think I'm gonna remove the sword cooldown on my server.
Well, there is really an indicator of cooldown but it's hard to notice. Watch the sword after you click, it returns slowly into its normal position. When the sword returns to its normal position, the cooldown is gone.
PolySaken wrote: Indeed. we should have:
> find rock on ground
> beat tree with rock
> make stone club
> use club to mine iron

and then there should be a proper steel-making process using carbon-imbuement

and diamonds should be for making non-force tools like a file or saw.
Well, this is kind of off-topic. I was thinking about a game which would offer more realistic ways of crafting and harvesting resources.
If you lack the reality, go on a trip or find a job.

Astrobe
Member
Posts: 570
Joined: Sun Apr 01, 2018 10:46

Re: Let's talk about combat

by Astrobe » Post

Hume2 wrote:
Joseph13 wrote:I didn't even know minetest had an attack cool-down till recently when I died from spam clicking a wolf. There is no indicator of cooldown status or anything. So to the untrained eye you would never know. I think I'm gonna remove the sword cooldown on my server.
Well, there is really an indicator of cooldown but it's hard to notice. Watch the sword after you click, it returns slowly into its normal position. When the sword returns to its normal position, the cooldown is gone.
I think the message was lost due to the server crash, but someone noticed that it only happens when the player hits an entity. It doesn't happen with blocks and it doesn't happen when the player hits nothing. For the latter I think it should be optional; it would be easier to understand and it would allow to make combat a bit more technical (esp. if one hides selection boxes!)

It would be nice if it worked the same way in all cases (including blocks), but it's not viable e.g. for digging (you really want to just hold down the mouse button in this case). However, maybe the option to unify the behavior could be something like "ignore clicks when on cooldown" (rather than hitting and applying damage proportional to the remaining cooldown duration). But I guess it would break way too much things.

User avatar
PolySaken
Member
Posts: 817
Joined: Thu Nov 09, 2017 05:18
GitHub: PolySaken-I-Am
In-game: PolySaken
Location: Wānaka, Aotearoa
Contact:

Re: Let's talk about combat

by PolySaken » Post

Hume2 wrote: Well, this is kind of off-topic. I was thinking about a game which would offer more realistic ways of crafting and harvesting resources.
Aye, sorry. It was sorta relevant to the diamond and stone sword thing.

Here's something more on-topic: perhaps diamond swords should have a chance of instantly breaking.
(Explanation for those who don't get it: diamond swords are evidently very sharp. So sharp, in fact, that anything hit with the edge of the sword is cut so easily that the sword doesn't break. But if something hits it on the wrong angle... Smash! Shards in your face!)
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.

User avatar
PolySaken
Member
Posts: 817
Joined: Thu Nov 09, 2017 05:18
GitHub: PolySaken-I-Am
In-game: PolySaken
Location: Wānaka, Aotearoa
Contact:

Re: Let's talk about combat

by PolySaken » Post

Maybe having a targeting system is a good idea?
It could work as follows:

Code: Select all

playerFoo:setTarget(someEntity)
playerFoo:attackTarget(weaponBar)
In my grand vision, this would cause the player playerFoo to set SomeEntity as a target, then attempt an attack on the entity.
Whether they succeed in their assault would be decided by the weapon's range field and the angle of the attack.
Damage could be calculated based on the original fleshy damage using something like total_damage=(fleshy+(angle_bonus*angle))-cooldown_penalty.
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: Let's talk about combat

by texmex » Post

PolySaken wrote:Whether they succeed in their assault would be decided by the weapon's range field and the angle of the attack.
This could also work without targeting, simply by looking for mobs by raycasting and proximity.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests