Телепорт

From DDraceNetwork
Revision as of 16:42, 31 December 2023 by Animeuz (talk | contribs) (Created page with "== Чекпоїнти ==")

У DDNet існують різні види телепортів. Вони використовуються для телепортації на початок драг частин або для обмеження простору для переміщення по ньому за допомогою різних технік.


Стандартний

Існує два види телепортів, що телепортують гравців на місце спавна . Оригінальний/синій телепорт і строгий/червоний телепорт який додатково скидає прискорення гравця, що телепортується, до 0 і відпускає всі хуки які його зачепили. Обидва скидають хуки гравця, що проходить через телепорт, хоча на деяких картах це можна скасувати командою налаштування sv_teleport_hold_hook 1. Зазвичай використовується суворий тип телепорту, якщо контекст карти не вимагає збереження швидкості. Телепорти можуть мати номер від 1 до 255. При торканні телепорту (/) на карті без відповідного виходу телепорту телепортація ігнорується і нічого не відбувається.


Чекпоїнти

There is an additional teleporting system including checkpoints . It teleports to the checkpoint-to-tele tile with the same number as the last touched checkpoint tile . There is also the separation between blue checkpoint teleporter and red checkpoint teleporter with the same semantic as above. When no checkpoint tile was touched or no corresponding to-tile exist, the tee teleports to a spawn tile .


Weapon

The weapon teleporter can teleport projectiles and laser from all weapons. They to the same to-tele as the standard tele tiles.


Hook

The hook teleporter teleports to the standard to-tele as well. When the hook gets teleported, the hook range is measured from the to-tele tile, extending time and range the hook can fly. Each time the hook gets teleported, the hook direction changes to to the current looking direction of the tee.