knockback
Re: knockback
Knockback is in some of the mobs mods but to have it work with players the devs would need to add a missing player:set_velocity() function into the game itself.
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: knockback
Minetest Kombat 5orwell wrote:Oh yeah!azekill_DIABLO wrote:The knock up!!! For combos!
And a "Force Pull" maybe?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
-
- Member
- Posts: 818
- Joined: Tue Apr 14, 2015 01:59
- GitHub: raymoo
- IRC: Hijiri
- In-game: Raymoo + Clownpiece
Re: knockback
I would prefer an add_impulse function over set_velocity since it will feel more accurate on the client end (no issues with the velocity from get_velocity being too old because of lag)
Every time a mod API is left undocumented, a koala dies.
- emperor_genshin
- Member
- Posts: 83
- Joined: Tue Dec 22, 2015 05:04
- GitHub: GenshinMT
- IRC: Genshin
- In-game: Genshin
- Location: [REDACTED]
- Contact:
Re: knockback
What if someone wants to change knockback value from specific Items?
I'm just a individual who likes to make impressive things. | Current Mod: Dungeon Crawl Maker https://www.youtube.com/watch?v=c6g6H2kLBpg
- Wuzzy
- Member
- Posts: 4804
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: knockback
Well, for knockback you also certainly want to exactly specify how it is supposed to work.
In Mobs Redo, there is already a knockback, but only for the mobs and it is a very stupid form of knockback.
When you hit a mob, it moves backwards at a constant speed until it suddenly stops. This is so lame if you ask me, but the best approximation whe have now. I also don't want to blame TenPlus1 for this, because mod-created knockback is doomed to be bad anyways, because of lag, etc.
Also, knockback never affects players even in Mobs Redo because you can't set the velocity of players (yet). This sucks.
A knockback should definitely not be like in Mobs Redo but has to be more sophisticated.
Knockback also needs be tweakable by the subgame. I would hate to see hardcoded knockback values. Something like groups have been suggested before, and I kinda want to agree. But these ideas go not far enough.
Important knockback-related values which need to be considered:
1) How much knockback (force) a tool/weapon applies
2) How long it lasts
3) How resistant an entity is against knockback (should also allow for complete knockback immunity)
All 3 should be tweakable on a per-item and per-entity basis to be interesting. There could be weapons with weak knockback, strong knockback or no knockback at all. There could be enemies which are sometimes more, sometimes less affected by knockback, or they could become even immune to knockback. This opens many interesting possibilities.
Then, the question how a successfully applied knockback “wears off”. It clearly must not be like in Mobs Redo, where you have a constant speed and then it suddenly stops. No offense, but this is terrible.
Instead, the knockback should start at a maximum velocity and then smoothly (!) get weaker over time, until the velocity reaches 0 at which the knockback “is over”.
In Mobs Redo, there is already a knockback, but only for the mobs and it is a very stupid form of knockback.
When you hit a mob, it moves backwards at a constant speed until it suddenly stops. This is so lame if you ask me, but the best approximation whe have now. I also don't want to blame TenPlus1 for this, because mod-created knockback is doomed to be bad anyways, because of lag, etc.
Also, knockback never affects players even in Mobs Redo because you can't set the velocity of players (yet). This sucks.
A knockback should definitely not be like in Mobs Redo but has to be more sophisticated.
Knockback also needs be tweakable by the subgame. I would hate to see hardcoded knockback values. Something like groups have been suggested before, and I kinda want to agree. But these ideas go not far enough.
Important knockback-related values which need to be considered:
1) How much knockback (force) a tool/weapon applies
2) How long it lasts
3) How resistant an entity is against knockback (should also allow for complete knockback immunity)
All 3 should be tweakable on a per-item and per-entity basis to be interesting. There could be weapons with weak knockback, strong knockback or no knockback at all. There could be enemies which are sometimes more, sometimes less affected by knockback, or they could become even immune to knockback. This opens many interesting possibilities.
Then, the question how a successfully applied knockback “wears off”. It clearly must not be like in Mobs Redo, where you have a constant speed and then it suddenly stops. No offense, but this is terrible.
Instead, the knockback should start at a maximum velocity and then smoothly (!) get weaker over time, until the velocity reaches 0 at which the knockback “is over”.
Re: knockback
*fwaps wuzzy with a rubber fish to test knock-back*
Re: knockback
xDazekill_DIABLO wrote:
ask this fish.
Maybe knockback can be a good adding into the game. Of you i better wait until the engine be better and can handle this stuff better.
Have a nice day! :D
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: knockback
IMHO, less things should be hardcoded into the game it's disturbing when modding.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
Who is online
Users browsing this forum: No registered users and 7 guests