I made a track i went over it a few times in notepad ++ not sure i see anything. maybe i am missing something?.. both track.png and track.lua are in there own folder. image is the correct size also
Lua Error:
tolua++ dbcall failed!: [string “–client\functional\CCustomTrackList.lua…”]:42: F:\Users\ALI\Documents\Automation\Tracks\Bayport\track.lua:19: ‘]’ expected near ‘Object’
–You Can use 0, 1, -1 instead.
local STRAIGHT = 0
local LEFT = 1
local RIGHT = -1
Track = {
Name = “Bayport”,
–Track Image Info
–Track Image must be 1280 x 720
–Start Position on the Image x,y from Top Left
Start = { 707, 713 },
--How many pixels per meter ( Pixels / Length )
--Measure a long straight and then manipulate from there
Scale = 1 / 1,
Layout = { LEFT, STRAIGHT, LEFT, STRAIGHT, LEFT, LEFT, LEFT, STRAIGHT, LEFT, STRAIGHT, STRAIGHT, RIGHT, LEFT, STRAIGHT, RIGHT, LEFT, STRAIGHT, RIGHT, LEFT, RIGHT, LEFT, STRAIGHT, STRAIGHT, STRAIGHT, RIGHT, RIGHT, RIGHT, RIGHT, RIGHT, RIGHT, RIGHT, STRAIGHT, RIGHT, RIGHT, STRAIGHT, STRAIGHT, RIGHT, LEFT, RIGHT, LEFT, RIGHT, STRAIGHT, STRAIGHT, RIGHT, STRAIGHT, STRAIGHT, STRAIGHT, STRAIGHT, STRAIGHT, STRAIGHT, STRAIGHT, STRAIGHT, STRAIGHT, LEFT, RIGHT, STRAIGHT, STRAIGHT, LEFT, STRAIGHT, STRAIGHT, LEFT, STRAIGHT, RIGHT, LEFT, STRAIGHT, RIGHT, LEFT, STRAIGHT, RIGHT, STRAIGHT, LEFT, RIGHT, LEFT, STRAIGHT, STRAIGHT, STRAIGHT, STRAIGHT, STRAIGHT, RIGHT, RIGHT, STRAIGHT, STRAIGHT, LEFT, STRAIGHT, STRAIGHT, STRAIGHT, STRAIGHT, },
LayoutInfo = { 8.5, 256, 10, 128, 83, 3.5, 1, 72, 25, 33, 100, 36, 9, 13, 7, 15, 2, 26, 23, 20, 6, 17, 25, 15, 28, 15, 15, 90, 90, 15, 5, 25, 3, 3, 100, 100, 15, 15, 15, 15, 4, 100, 100, 5, 100, 100, 100, 25, 15, 25, 19, 15, 15, 90, 15, 100, 100, 15, 100, 172, 90, 26, 15, 15, 100, 17, 15, 100, 15, 17, 15, 15, 15, 59, 100, 12, 19, 10, 16, 2, 2, 2, 15, 1, 1, 1, 8, },
CornerRadius = { 512, 0, 213, 0, 71, 221, 139, 0, 80, 0, 0, 100, 77, 0, 99, 50, 0, 55, 45, 155, 29, 0, 0, 0, 20, 65, 55, 10, 15, 28, 44, 0, 100, 100, 0, 0, 100, 100, 100, 100, 100, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 15, 0, 0, 100, 0, 0, 15, 0, 25, 26, 0, 100, 100, 0, 100, 0, 100, 100, 100, 0, 0, 0, 0, 0, 5, 100, 0, 0, 2, 0, 0, 0, 0, },
Slope = { [object Object], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [object Object], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, },
Sportiness = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, },
Camber = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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