Customization
We provide advanced and flexible set of customization options:
-----------------------------
-- General game parameters --
-----------------------------
Config.DefaultWorldRoutingBucket = 0
Config.RoutingBucketOffset = 0
Config.DefaultVehicleModel = 'massacro2'
Config.DefaultRadioSation = nil
--------------------------
-- Lobbies and settings --
--------------------------
Config.Lobbies = {
{
lobbyId = 'server-lobby-1',
startPointSettings = {
coords = vector3(2053.435, 3395.67969, 43.9458),
name = '~y~FLATOUT GAME - ~o~LOBBY #1',
color = {255, 174, 66, 255},
logo = {
'lumanstudio_flatout', 'flatout_logo',
},
size = 2.5,
},
matchSettings = {
moneyBid = 100,
rounds = 2,
vehicle = 'massacro2',
},
timeLeftBeforeGameStarts = 5, -- seconds before game starts
bucket = 1,
blipSettings = {
name = '~y~Flat~s~Out ~y~Game ~s~#1',
id = 103,
color = 28,
scale = 1.0,
},
radioStation = 'OFF',
onGameOverTeleportTo = vector3(2052.59, 3409.05, 44.36),
},
}
-----------------------
-- Location Settings --
-----------------------
Config.MatchCoords = {
-- Player spectator position
['start'] = { coords = vector3(2913.19, -3791.49, 172.77) },
-- Vehicle spawn position
['vehicle'] = { coords = vector3(2920.0, -3800.75, 172.0), heading = 90.0 },
-- Distance line (distance score calculation based on this line)
['distance'] = {
vector3(2841.0, -3800.0, 140.0), -- start
vector3(2667.0, -3800.0, 140.0), -- end
},
}
------------------------------------------
-- UI text position for round and score --
------------------------------------------
Config.TextInfoCoordsAndSize = {
line1 = {x = 0.5, y = 0.01, scale = 1.10},
line2 = {x = 0.5, y = 0.06, scale = 1.10},
line3 = {x = 0.5, y = 0.11, scale = 1.00},
}
--------------------------------------------
-- Lobby menu. Experimental Functionality --
--------------------------------------------
Config.EnableLobbyMenuAndCommands = true -- true/false - turn on/off
Config.CommandRenames = {
['flatout-lobbies'] = 'flatout-lobbies',
['flatout-host'] = 'flatout-host',
['flatout-join'] = 'flatout-join',
['flatout-settings'] = 'flatout-settings',
['flatout-ready'] = 'flatout-ready',
['flatout-notready'] = 'flatout-notready',
['flatout-start'] = 'flatout-start',
['flatout-leave'] = 'flatout-leave',
['flatout-run-tests'] = 'flatout-run-tests',
}
Last updated