Special-Operations-Brigade / SOB-Issue-Tracker

Public Issue Tracker for the MokTech Industries mods.
1 stars 0 forks source link

Create a knockdown/ragdoll stun feature for RCs #262

Closed m0kka closed 11 months ago

m0kka commented 11 months ago

For visual reference see https://youtu.be/JMbBjKnUoC4?si=krcEz8JhDwJDUyKd&t=221

gumbekk commented 11 months ago

I would like to give this a shot if you could find what method we could use to knock people down

m0kka commented 11 months ago

[_target,_shooter,_ammo] call ls_common_fnc_forceRagdoll;

gumbekk commented 11 months ago

Any numbers for distance/angles? Wiki for BF2 says the AoE is 10m, and I'm guessing the angle is ~90 degrees

m0kka commented 11 months ago

aii let's start with those values

gumbekk commented 11 months ago

How is this going to be balanced? Will it be a cooldown or will it required an item for activation such as the taser. Or perhaps 1 time use. Anything to make it not have to appear on the status panel.

gumbekk commented 11 months ago

Unless you want to do more UI stuff

m0kka commented 11 months ago

Unless you want to do more UI stuff

more concerned about if there's enough space on the ui, is all lol

let's make it a recharge-by-item, like the taser

gumbekk commented 11 months ago

Added with CBA settings/bindings and requires ammo good job me

gumbekk commented 11 months ago

Do we want a repulsor resistance attribute? If not you can just reclose it

oliv3lrg commented 11 months ago

I would prefer B2s be unaffected

ThatArcanist commented 11 months ago

@oliv3lrg I think a B2 should be affected, but only slightly. instead of falling over, it should do its little like, "hit" animation so it looks like it was slightly knocked back but was able to withstand the force

ThatArcanist commented 11 months ago

I think that would look really cool

oliv3lrg commented 11 months ago

@oliv3lrg I think a B2 should be affected, but only slightly. instead of falling over, it should do its little like, "hit" animation so it looks like it was slightly knocked back but was able to withstand the force

yeah that would be cool, I just don't want them getting knocked over

gumbekk commented 11 months ago

If you can find whatever Webknight function/script that makes it recoil similar to when it's damaged should just be an if statement

gumbekk commented 11 months ago

@m0kka Can you finish this? I did some stuff but I can't access the internet on my desktop for now, I added the attribute (albeit poorly), but couldn't get it to show up in eden, and hadn't put it on the B2 yet

gumbekk commented 11 months ago

I think mokka added resistances as of last update 🤞