{"id":304,"date":"2021-07-28T17:02:21","date_gmt":"2021-07-28T22:02:21","guid":{"rendered":"https:\/\/chronocrash.com\/obor\/wiki\/?p=304"},"modified":"2023-12-27T20:18:52","modified_gmt":"2023-12-28T01:18:52","slug":"grappling","status":"publish","type":"post","link":"https:\/\/chronocrash.com\/obor\/wiki\/grappling\/","title":{"rendered":"Grappling"},"content":{"rendered":"\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\"><strong>Under construction<\/strong><\/mark><\/p>\n\n\n\n<p>OpenBOR includes a native system for basic grappling. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Animations<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">GRAB<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABBED<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABATTACK<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABATTACK2<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">THROW<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABFORWARD<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABFORWARD2<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABUP<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABUP2<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABDOWN<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABDOWN2<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABBACKWARDS<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABBACKWARDS2<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABWALK<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABBEDWALK<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABWALKUP<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABBEDWALKUP<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABWALKDOWN<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABBEDWALKDOWN<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABTURN<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABBEDTURN<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABBACKWALK<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">GRABBEDBACKWALK<\/h3>\n\n\n\n<h2 class=\"wp-block-heading\">Configuration<\/h2>\n\n\n\n<p>Most of these properties assume use of the native grabbing system. You may override any or all with use of script.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Grab Distance<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ngrabdistance {int}\n\n# Default\ngrabdistance 36\n<\/pre><\/div>\n\n\n<p>Distance in (in pixels) of entity&#8217;s grab reach. For backward compatibility with the original BOR engine, this property also controls several other facets of game-play by default:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>How far away this entity will stand while holding target.<\/li>\n\n\n\n<li>Depth of entity&#8217;s attacks on <a href=\"https:\/\/chronocrash.com\/obor\/wiki\/axis\/\" data-type=\"post\" data-id=\"59\">Z axis<\/a>. This is overridden by an <a href=\"https:\/\/chronocrash.com\/obor\/wiki\/collision\/\" data-type=\"post\" data-id=\"366\">attack&#8217;s z<\/a> range property.<\/li>\n\n\n\n<li>How close this entity must get to be stopped by obstacles or pick up items.<\/li>\n\n\n\n<li>In cases of traps and obstacles, distance to damage or block other entities.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Grab Back<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ngrabback {int}\n\n# Default\ngrabback 0\n<\/pre><\/div>\n\n\n<p>Controls display order (Z layering) when grabbing another entity.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>0 &#8211; Grabbing entity displays in front of grabbed entity.<\/li>\n\n\n\n<li>1 &#8211; Grabbing entity displays behind grabbed entity.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Grab Finish\u200b<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ngrabfinish {int}\n\n# Default\ngrabfinish 0\n<\/pre><\/div>\n\n\n<p>Enable interrupting GRAB animation to attack.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>0 &#8211; Interruption is possible. If AI controlled entities use this, they will skip the rest of animation after they knock down opponent.<\/li>\n\n\n\n<li>1 &#8211; The GRAB animation must finish (be at last frame), before taking further action.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Grab Walk\u200b<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ngrabwalk {int}\n\n# Default\ngrabwalk 0\n<\/pre><\/div>\n\n\n<p>If defined, overrides entities walk speed while using Grabwalk.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Grab Turn\u200b<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ngrabturn {int}\n\n# Default\ngrabturn 0\n<\/pre><\/div>\n\n\n<p>Toggles walking\/turning behavior while grabbing.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>0 &#8211; You will walk backward while grabbing without turning around.<\/li>\n\n\n\n<li>1 &#8211; You will turn and face the same direction you walk (same as normal default walking behavior).<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Cant Grab\u200b<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ncantgrab {int}\n\n# Default\ncantgrab 0\n<\/pre><\/div>\n\n\n<p>Toggle grab immunity.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>0 &#8211; Entity susceptible to grabs.<\/li>\n\n\n\n<li>1 &#8211; Entity is immune to grabs.<\/li>\n<\/ul>\n\n\n\n<p><strong>Tip:<\/strong> This is a legacy command. For more controllable grab immunity, use Anti Grab and Grab Force instead.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Pain Grab\u200b<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\npaingrab {int}\n\n# Default\npaingrab 0\n<\/pre><\/div>\n\n\n<p>Adjusts grabbing difficulty while entity is in vs. hit stun. Any time the entity is not in a painstate, Pain Grab is added to the entity\u2019s Anti Grab value. For example, <code>paingrab 2<\/code> increases the entity\u2019s Anti Grab value by two whenever the entity is not in hit stun.<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Anti Grab\u200b<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nantigrab {int}\n\n# Default\nantigrab 0\n<\/pre><\/div>\n\n\n<p>Works in conjunction with attacker\u2019s Grab Force property. Attacker\u2019s <code>grabforce {value}<\/code> must meet or exceed target\u2019s <code>antigrab {value}<\/code> to grab the target.<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Grab Force\u200b<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ngrabforce {int}\n\n# Default\ngrabforce 0\n<\/pre><\/div>\n\n\n<p>See Anti grab.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Grab Flip\u200b<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ngrabflip {int}\n\n# Default\ngrabflip 3\n<\/pre><\/div>\n\n\n<p>Facing behavior when grabbing.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>1 = Grabber will flip to face target.<\/li>\n\n\n\n<li>2 = Target will flip to face grabber.<\/li>\n\n\n\n<li>3 = Combination of 1 &amp; 2 (default).<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Throw Damage\u200b<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nthrowdamage {int}\n\n# Default\nthrowdamage 21\n<\/pre><\/div>\n\n\n<p>Damage received when thrown by another entity using native Throw animation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Throw (Property)\u200b<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nthrow &amp;lt;float X&gt; &amp;lt;float Y&gt;\n0.625f\n\n# Default\n# Special see below.\n<\/pre><\/div>\n\n\n<p>Trajectory of entity when thrown by another entity using native Throw animation.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>X<\/strong> \u2013 Horizontal velocity. Default is the global <a href=\"https:\/\/chronocrash.com\/obor\/wiki\/models\/#Default_Jump_Height\" target=\"_blank\" rel=\"noreferrer noopener\">default jump height<\/a> * 0.625.<\/li>\n\n\n\n<li><strong>Y<\/strong> \u2013 Vertical velocity. Default is the model\u2019s jumpheight property.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Throw Frame Wait\u200b<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nthrowframewait {int}\n\n# Default\nthrowframewait 0\n<\/pre><\/div>\n\n\n<p>Frame thrown entity is launched by native Throw animation.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.chronocrash.com\/forum\/wiki\/obor_grappling\/like\">Like<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to use OpenBOR&#8217;s native grappling system.<\/p>\n","protected":false},"author":1,"featured_media":305,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8,30,328,2],"tags":[190,192,193,213,210,200,201,191,211,209,203,207,205,198,199,195,208,196,197,202,206,204,194,217,215,212,214,219,218,5,4,216,220,221],"class_list":["post-304","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-animation","category-game-mechanics","category-openbor","category-script","tag-ani_grab","tag-ani_grabattack","tag-ani_grabattack2","tag-ani_grabback","tag-ani_grabbackwalk","tag-ani_grabbackwards","tag-ani_grabbbawards2","tag-ani_grabbed","tag-ani_grabbedbackwalk","tag-ani_grabbedturn","tag-ani_grabbedwalk","tag-ani_grabbedwalkdown","tag-ani_grabbedwalkup","tag-ani_grabdown","tag-ani_grabdown2","tag-ani_grabforward2","tag-ani_grabturn","tag-ani_grabup","tag-ani_grabup2","tag-ani_grabwalk","tag-ani_grabwalkdown","tag-ani_grabwalkup","tag-ani_throw","tag-obor_antigrab","tag-cantgrab","tag-grabdistance","tag-grabfinish","tag-grabflip","tag-grabforce","tag-manual","tag-openbor-script","tag-paingrab","tag-throwdamage","tag-throwframewait"],"revision_note":"","jetpack_featured_media_url":"https:\/\/i0.wp.com\/chronocrash.com\/obor\/wiki\/wp-content\/uploads\/2021\/07\/sfa_guy_knee_0.gif?fit=123%2C123&ssl=1&wsr","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/posts\/304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/comments?post=304"}],"version-history":[{"count":5,"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/posts\/304\/revisions"}],"predecessor-version":[{"id":1306,"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/posts\/304\/revisions\/1306"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/media\/305"}],"wp:attachment":[{"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/media?parent=304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/categories?post=304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/tags?post=304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}