enemy grab from far

NED

Well-known member
Hello,

For enemies, I use different types of throws.
Regular grab = grab attacks... hardcoded
Special grabs = (from far) scripted slams

Special grabs tends to overwrite regular grab (because of their number and teir range)
I would like to increase regular "grab" range.
As you know, grab range is not coded in the actual anim
Code:
range 0 50

but it's defined in character header
Code:
grabdistance 50
It decides
A-the range for the character to snatch someone
and
B-the body distance of victim when grabbed.

I would like to increase A to 80, but by keeping B to 50
Is this possible ?

Thanks
 
The idea is to make enemy capable of grabbing you from far (distance 80)
But as soon as grabbed, player should be held like distance 50

I think it can be done easily with binding from BB's slam script, but, I don't want enemy to quit the regular grabbed anim properties. ???

Is there a way to do it?
Thanks
 
Thanks a lot DC, Actually I was going to use it for pickup enemy system.
But I had to cancel it because newer builds make my project unstable in various points.

Anyway, the binding feature of this function would make it very useful for what I need.
Can I add this function manually to older builds of Openbor?
I mean, as an animation script or something?

I really can't change my build :/
 
nedflandeurse said:
Does anyone know if DC's "dograb()" feature (code shown in previous video) can be recreated by script in Openbor?

Had you listened carefully to the video, you'd have that answer - No. Why do you think I added dograb() in the first place? The default grabbing system is controlled by a very complex series of flags - you'd have to be an expert scripter to puzzle them out and even then it's never going to be stable.

I'm sorry, but rooting yourself to an old version has many consequences, and you've run smack into one of them. That's why the staff here always warn authors NEVER to do that. Anyone who says otherwise is giving short sighted advice.

You need to upgrade post haste, let us know what bugs and breaks you're getting and we can help from there.

DC
 
Sorry, English advanced vocabulary is not easy to understand to me.
Particulary in audio.

I don't know what is my exact build (somthing in 2011-2012)
But when I use newer builds, I have several problems (2 in particular):

-Command "com B S freespecial7" is not allowed (make player turn itself and guarding)
-obstacles bbox and physics are completly changed including my ring stage (player can go through it but sometimes is stopped)

I asked for advice in the past.
Thanks anyway.
 
Back
Top Bottom