knockback

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: knockback

by Wuzzy » Sun Mar 19, 2017 04:17

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”.
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: knockback

by TenPlus1 » Sun Mar 19, 2017 07:33

*fwaps wuzzy with a rubber fish to test knock-back*
 

User avatar
MineYoshi
Member
 
Posts: 4267
Joined: Wed Jul 08, 2015 13:20
GitHub: MineYosh
IRC: MineYoshi
In-game: Kirby_Retro

Re: knockback

by MineYoshi » Sun Mar 19, 2017 18:58

azekill_DIABLO wrote:Image
ask this fish.

xD

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.
People talk about freedom of speech, so i'll say that God exists.
Open your eyes!! See The big unicorn conspiracy.!! :D The government has been lying to us about unicorns!!
"I've learned there are three things you don't discuss with people: religion, politics and the Great Pumpkin" - Linus Van Pelt
I'm the Officially 1st ABJist in the world ( ͡° ͜ʖ ͡°)
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: knockback

by azekill_DIABLO » Mon Mar 20, 2017 12:37

IMHO, less things should be hardcoded into the game it's disturbing when modding.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

Previous

Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 4 guests

cron