This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Онлайн-скрипт для автоматической загрузки файла трека | |
-- Этот скрипт загружает hx_gta5_000.lua и сохраняет его в DriftZonesEditor | |
-- Получаем параметры из конфигурации сервера | |
local fileUrl = ac.INIConfig.scriptConfig():get("FILE_URL", "") | |
local trackName = ac.INIConfig.scriptConfig():get("TRACK_NAME", "hx_gta5_000") | |
-- Путь для сохранения файла | |
-- ac.getFolder(ac.FolderID.ACApps) автоматически определяет путь к папке apps | |
-- независимо от того, на каком диске и в какой папке установлена игра |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local LocalGates = require('local_gates') | |
return { | |
gates = { | |
{ type = "start", position = vec3(10.072, 5.486, -179.777), rotation = 289.088, pitch = 0.0, roll = 0.0, size = {width = 0.100, length = 14.260}, line_width = 3.00, color_r = 0.00, color_g = 1.00, color_b = 0.00 }, | |
{ type = "normal", position = vec3(21.626, 5.566, -301.602), rotation = 108.760, pitch = 0.0, roll = 0.0, size = {width = 2.000, length = 7.970}, score_multiplier = 1.00, target_angle = 60, line_width = 3.00, color_r = 0.00, color_g = 0.90, color_b = 0.90 }, | |
{ type = "OZ", position = vec3(-12.970, 5.704, -294.023), rotation = 141.361, pitch = 0.0, roll = 0.0, size = {width = 0.100, length = 2.500}, score_multiplier = 0.25, target_angle = 40, line_width = 3.00, color_r = 0.00, color_g = 0.90, color_b = 0.90 }, | |
{ type = "normal", position = vec3(-48.538, 5.832, -270.409), rotation = 109.284, pitch = 0.0, roll = 0.0, size = {width = 2.000, length = 5.950}, score_multiplier = 1.00, target_angle = 60, line_ |