The '''''Hook''''' allows you to maneuver around maps. It is always available and essential to almost every [[Special:MyLanguage/map|map]]. With it, you can:
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
* 钩住特定方块摆荡
* Hook certain blocks to swing around
* 钩住其他玩家,将其拖向自己,同时自己也会被稍微拉过去
* Hook other tees to pull them towards you and yourself slightly towards them
* Thanks to how thin it is, it can fit through diagonal corners between tiles
* 钩爪自身的碰撞箱很小,因此它可以沿着对角线穿过某些角落的墙缝
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="Block_Types"></span>
== Block Types ==
== 关于不同类型的方块 ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
下面列举一些钩索与方块的交互情况:
There are a few block types which interact with hook:
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
* 钩爪会直接穿过空气方块;
* Air or absence of the following blocks will let the hook right through
* Unhookable tiles {{Tile|entities|3}} cancels the hook when hit
* Hookable tiles {{Tile|entities|1}} which you can grab on with your hook and pull yourself towards it until you release the hook or get [[Special:MyLanguage/Freeze|Frozen]] or [[Special:MyLanguage/Teleporter|Teleported]].
* Hook-through tiles ({{Tile|entities|3}} + {{Tile|game|66}} or {{Tile|entities|1}} + {{Tile|game|66}}), is a combination of a collision block in the game layer ({{Tile|entities|3}} or {{Tile|entities|1}}) and the hook through block in the front layer {{Tile|game|66}}. This combination will not affect your hook. The hook will pass right through them like through air
* Hook-stopper tile {{Tile|game|66}} is the same tile as the Hook-through tile, but placed on air instead on collision. This block will cancel the hook like the unhookable tile. The difference to the unhookable tile is that tees and weapon projectiles don't collide with it.
* The directional hook-through tile {{Tile|front|67}} is rotatable and lets all hooks through in one direction and acts like the hook-stopper for hooks in the opposite direction.
* The old hook-through tile ({{Tile|entities|6}}/{{Tile|front|6}}) lets hook through, when placed next to a tile when hooking through in some angels.
* [[Special:MyLanguage/Teleporter#Hook|Hook teleporter]] {{Tile|entities|15}} will teleport the hook to a different position on the map.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
* 钩爪在命中禁钩墙体{{Tile|entities|3}}时消失;
When your hook is active (anchored to a hookable block), your tee will be pulled towards the anchor point. There is no timer when hooking a block, so you can hold it for as long as you wish.
Hooking another tee will pull the tee towards you. Your tee will also be slightly pulled towards the other tee. Keep in mind, that due to friction, pulling tees is way slower while they are standing on the floor. In contrast to hooking a tile, a hook on another tee only lasts 1.25 seconds. Once the timer runs out, the hook will release from the tee. When touching the endless hook tile {{Tile|front|17}}, this time restriction gets removed and you can hook other tees forever. This effect only wears of by touching the endless hook off tile {{Tile|front|18}}. When loosing endless hook through this tile and currently holding hook, you still hold the remaining hook duration from that point in time. The endless hook effect can also be enabled map-wide by adding the map config <code>sv_endless_drag 1</code> or by placing the endless hook map config tile {{Tile|front|73}} somewhere on the map.
Hooking tees can be disabled by touching the disable hook collision block {{Tile|front|91}}. Your hook will go through other tees when in this mode. Hook collision gets enabled again by touching the enable hook collision block {{Tile|front|107}}. The hook can be permanently disabled on a map with the tune <code>player_hooking 0</code> or by placing the disable hook collision map config tile {{Tile|front|75}} somewhere on the map.
You will not be pulled all the way to the anchor point. Instead, when your tee enters a specific radius to the anchor point you will not be affected by the hook until you get out of it again. This is especially significant when trying to move along the ceiling. Try to re-hook the ceiling when your tee is directly below it, to stick tighter to it.
The hit box of tees for the hook is actually larger than it is visually represented. While a tee looks about the same size as a tile and mostly also interacts that way, its hit box for the hook is much more generous. Due to this large hit box it is possible to hook a tee through a corner between tiles without having to do a hook with surgical precision. To see how big the actual hit box of tees are, you can turn on "fat skins" in Settings -> Tee -> Fat skins (DDFat).
如果你想看清具体的判定范围,可以打开设置 -> Tee -> “胖胖的皮肤(DDFat)”。
<span id="Weak_hook_/_strong_hook"></span>
=== 关于强弱钩===
<div lang="en" dir="ltr" class="mw-content-ltr">
[[File:Hook-nomove.mp4|right|gif|muted]]
[[File:Hook-nomove.mp4|right|gif|muted]]
[[File:Hook-move.mp4|right|gif|muted]]
[[File:Hook-move.mp4|right|gif|muted]]
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
您可能会留意到,钩住不同的玩家时拖动力度不一样。
When hooking other tees, you won’t always pull them with the same strength. There are 2 different strength modes your hook can have, called "weak hook" and "strong hook". It is important to emphasize that a single tee does not "have strong hook" on everyone equally, they instead have either weak hook or strong hook on different tees, depending on spawn order. The tee that has strong hook on the other is determined by who spawned first. The tee that spawned first has strong hook and the one who spawned later has weak hook.
Weak and strong hook are especially noticeable in parts where you hook the other tee along the floor and when [[Special:MyLanguage/Hammerfly|hammerflying]].
Most parts are easier (or sometimes only possible) with strong hook. There are very few parts on older maps where weak is an advantage or only possible with weak.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
下面列出部分已知的使用弱钩的地图关卡:
Known list of parts with weak as advantage or required (incomplete):
* On [https://ddnet.org/maps/Insane-32-3 Insane 3] at tele 6: this part is only possible with weak hook. This is due to the speedups not being strong enough to push the tee up when using the strong hook.
* On [https://ddnet.org/maps/2Long 2Long] at position <code>x = 380, y = 33</code>: you have to do an edge hook with strong hook. With weak it is enough if the other tee holds right (by default, D).
* On [https://ddnet.org/maps/Fucktastic Fucktastic] at tele 30: Similar to the 2Long part, but three times in a row and the edge is to high to jump on it.
* On [https://ddnet.org/maps/Next Next] at tele 4: The tee holding the hook needs weak for hook to have enough upward momentum
</div>
* 在地图[https://ddnet.org/maps/2Long 2Long]的坐标<code>x = 380, y = 33</code>处:强钩玩家必须使用蹭边钩。而弱钩玩家只需要让同伴按住向左(原文右)移动就够了。
|Length of the hook. This is how far the hook can get before retracting. The length is always measured from the current position of the tee or the last [[Special:MyLanguage/Teleporter#Hook|hook teleporter]].
* The hook has a maximum range. Once the hook reaches its maximum range, it will reset. Note that if you move away from the hook, that maximum range is reached faster, and you won’t hook as far. However, you can hook further by moving into the general hook direction.
* The hook does not start directly at the border of your tee. Instead, it starts a bit further out, which makes it easier to hook through a gap between tiles when you are close to it.