[Lua] Entrance - creating markers for teleportation
-
drive.google.comDownload
This script implements a simple player teleportation system. It works on the principle of moving from point 1 to point 2.
It can be used to simplify player movement in places where it is technically impossible to pass.
It can also be used to teleport the player into interiors with a single entry point restriction (such as Carl's house, Jefferson motel, Caligula's Casino, etc.)
As an example, an entrance and exit to Ryder's house has been created.
Another version of the script will be released later for creating multiple entrances to one interior (like a pizzeria, Burger Shot, Ammu-Nation, etc.).
Installation: Copy the moonloader folder to the game directory.
INI file configuration:
-- [1] Section number, 1-99. They can be out of order but must not repeat.
-- xpos=2459.4656 \'\'\\
-- ypos=-1691.6638 > Starting point coordinates
-- zpos=13.5456 ,,/
-- intp=0 Interior of the starting point
-- xdis=2465.2566 \'\'\\
-- ydis=-1698.5074 > Destination point coordinates
-- zdis=1013.5152 ,,|
-- intd=2 Interior of the destination point
-- adeg=90.0 Player rotation at the destination point
-- name=Ryder\'s place Name of the interior/zone that will be displayed on the screen after transition
-- enex=RYDERS Name of the ENEX marker located near the teleport point that needs to be disabled. (needed to block markers in unused interiors to avoid entering them)
Этот скрипт реализует простейшую систему перемещения игрока. Работает по принципу стал в 1ю точку и переместился во 2ю.
Может применяться для упрощения перемещения игрока в тех местах, где по техническим причинам пройти не получится.
Также может применяться для перемещения игрока в интерьеры с ограничением в единственную точку входа (как, например, дом Карла, мотель Джефферсон, Казино Калигула и т.п.)
В качестве примера создан вход и выход в дом Райдера
Для создания нескольких входов в один интерьер (как, например, пиццерия, Бургер Шот, Аммунация и т.п.) будет позже выпущен другой вариант скрипта.
Установка: Папку moonloader скопировать в директорию с игрой.
Настройка INI файла:
-- [1] Номер секции, 1-99. Могут быть не по порядку, но не должны повторяться.
-- xpos=2459.4656 \'\'\\
-- ypos=-1691.6638 > Координаты начальной точки
-- zpos=13.5456 ,,/
-- intp=0 Интерьер начальной точки
-- xdis=2465.2566 \'\'\\
-- ydis=-1698.5074 > Координаты точки назначения
-- zdis=1013.5152 ,,|
-- intd=2 Интерьер точки назначения
-- adeg=90.0 Поворот игрока в точке назначения
-- name=Ryder\'s place Имя интерьера/зоны, которое отобразится на экране после перехода
-- enex=RYDERS Имя ENEX маркера, находящийся около точки перемещения, который нужно отключить. (нужно для блокировки маркеров в неиспользуемых интерьерах во избежание попадания в него)