2025-08-11 18:33:49 +02:00
|
|
|
Config = {}
|
|
|
|
|
|
|
|
-- Allgemeine Einstellungen
|
|
|
|
Config.Debug = false
|
2025-08-11 18:38:20 +02:00
|
|
|
Config.DefaultCurrency = 'cash'
|
|
|
|
Config.InteractionDistance = 5.0
|
|
|
|
Config.StationInteractionDistance = 3.0
|
2025-08-11 18:33:49 +02:00
|
|
|
|
2025-08-11 18:38:20 +02:00
|
|
|
-- Zug Ankunft Einstellungen
|
|
|
|
Config.TrainArrival = {
|
2025-08-11 18:33:49 +02:00
|
|
|
enabled = true,
|
2025-08-11 18:38:20 +02:00
|
|
|
spawnDistance = 500.0, -- Entfernung von wo der Zug spawnt
|
|
|
|
approachSpeed = 15.0, -- Geschwindigkeit beim Heranfahren
|
|
|
|
arrivalSpeed = 5.0, -- Geschwindigkeit bei Ankunft
|
|
|
|
waitTime = 30000, -- Wartezeit am Bahnhof (30 Sekunden)
|
|
|
|
despawnAfterWait = true -- Zug nach Wartezeit löschen wenn niemand einsteigt
|
2025-08-11 18:33:49 +02:00
|
|
|
}
|
|
|
|
|
2025-08-11 18:38:20 +02:00
|
|
|
-- Bahnhof Konfiguration
|
2025-08-11 18:33:49 +02:00
|
|
|
Config.TrainStations = {
|
|
|
|
{
|
|
|
|
id = "sandy_depot",
|
|
|
|
coords = vector4(2533.0, 2833.0, 38.0, 0.0),
|
|
|
|
name = "Sandy Shores Depot",
|
|
|
|
description = "Hauptdepot in Sandy Shores",
|
2025-08-11 18:38:20 +02:00
|
|
|
|
|
|
|
-- Spawn-Punkt für ankommende Züge (weiter entfernt)
|
|
|
|
trainSpawnPoint = vector4(2033.0, 2833.0, 38.0, 0.0),
|
|
|
|
|
|
|
|
-- Interaktionspunkt für Spieler
|
|
|
|
interactionPoint = vector3(2535.0, 2835.0, 38.0),
|
|
|
|
|
2025-08-11 18:33:49 +02:00
|
|
|
blip = {
|
|
|
|
sprite = 795,
|
|
|
|
color = 2,
|
2025-08-11 18:38:20 +02:00
|
|
|
scale = 0.8
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Verfügbare Ziele von diesem Bahnhof
|
|
|
|
destinations = {
|
|
|
|
"sandy_north", "ls_depot", "elysian", "terminal", "downtown", "paleto"
|
2025-08-11 18:33:49 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id = "sandy_north",
|
|
|
|
coords = vector4(2606.0, 2927.0, 40.0, 90.0),
|
|
|
|
name = "Sandy Shores Nord",
|
|
|
|
description = "Nördlicher Bahnhof von Sandy Shores",
|
2025-08-11 18:38:20 +02:00
|
|
|
trainSpawnPoint = vector4(2106.0, 2927.0, 40.0, 90.0),
|
|
|
|
interactionPoint = vector3(2608.0, 2929.0, 40.0),
|
2025-08-11 18:33:49 +02:00
|
|
|
blip = {
|
|
|
|
sprite = 795,
|
|
|
|
color = 3,
|
|
|
|
scale = 0.7
|
2025-08-11 18:38:20 +02:00
|
|
|
},
|
|
|
|
destinations = {
|
|
|
|
"sandy_depot", "ls_depot", "elysian", "terminal", "downtown", "paleto"
|
2025-08-11 18:33:49 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id = "ls_depot",
|
|
|
|
coords = vector4(1164.0, -3250.0, 7.0, 180.0),
|
|
|
|
name = "Los Santos Hauptbahnhof",
|
|
|
|
description = "Zentraler Bahnhof in Los Santos",
|
2025-08-11 18:38:20 +02:00
|
|
|
trainSpawnPoint = vector4(1164.0, -2750.0, 7.0, 180.0),
|
|
|
|
interactionPoint = vector3(1166.0, -3252.0, 7.0),
|
2025-08-11 18:33:49 +02:00
|
|
|
blip = {
|
|
|
|
sprite = 795,
|
|
|
|
color = 1,
|
2025-08-11 18:38:20 +02:00
|
|
|
scale = 0.9
|
|
|
|
},
|
|
|
|
destinations = {
|
|
|
|
"sandy_depot", "sandy_north", "elysian", "terminal", "downtown", "paleto"
|
2025-08-11 18:33:49 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id = "elysian",
|
|
|
|
coords = vector4(219.0, -2487.0, 6.0, 270.0),
|
|
|
|
name = "Elysian Island",
|
|
|
|
description = "Industriegebiet am Hafen",
|
2025-08-11 18:38:20 +02:00
|
|
|
trainSpawnPoint = vector4(719.0, -2487.0, 6.0, 270.0),
|
|
|
|
interactionPoint = vector3(217.0, -2489.0, 6.0),
|
2025-08-11 18:33:49 +02:00
|
|
|
blip = {
|
|
|
|
sprite = 795,
|
|
|
|
color = 4,
|
|
|
|
scale = 0.7
|
2025-08-11 18:38:20 +02:00
|
|
|
},
|
|
|
|
destinations = {
|
|
|
|
"sandy_depot", "sandy_north", "ls_depot", "terminal", "downtown", "paleto"
|
2025-08-11 18:33:49 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id = "terminal",
|
|
|
|
coords = vector4(-1100.0, -2724.0, 13.0, 0.0),
|
|
|
|
name = "Fracht Terminal",
|
|
|
|
description = "Großes Frachtterminal",
|
2025-08-11 18:38:20 +02:00
|
|
|
trainSpawnPoint = vector4(-1600.0, -2724.0, 13.0, 0.0),
|
|
|
|
interactionPoint = vector3(-1098.0, -2726.0, 13.0),
|
2025-08-11 18:33:49 +02:00
|
|
|
blip = {
|
|
|
|
sprite = 795,
|
|
|
|
color = 5,
|
2025-08-11 18:38:20 +02:00
|
|
|
scale = 0.8
|
|
|
|
},
|
|
|
|
destinations = {
|
|
|
|
"sandy_depot", "sandy_north", "ls_depot", "elysian", "downtown", "paleto"
|
2025-08-11 18:33:49 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id = "downtown",
|
|
|
|
coords = vector4(-500.0, -1500.0, 10.0, 45.0),
|
|
|
|
name = "Downtown Station",
|
|
|
|
description = "Bahnhof in der Innenstadt",
|
2025-08-11 18:38:20 +02:00
|
|
|
trainSpawnPoint = vector4(-1000.0, -1500.0, 10.0, 45.0),
|
|
|
|
interactionPoint = vector3(-498.0, -1502.0, 10.0),
|
2025-08-11 18:33:49 +02:00
|
|
|
blip = {
|
|
|
|
sprite = 795,
|
|
|
|
color = 6,
|
|
|
|
scale = 0.7
|
2025-08-11 18:38:20 +02:00
|
|
|
},
|
|
|
|
destinations = {
|
|
|
|
"sandy_depot", "sandy_north", "ls_depot", "elysian", "terminal", "paleto"
|
2025-08-11 18:33:49 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id = "paleto",
|
|
|
|
coords = vector4(100.0, 6500.0, 32.0, 180.0),
|
|
|
|
name = "Paleto Bay",
|
|
|
|
description = "Kleiner Bahnhof in Paleto Bay",
|
2025-08-11 18:38:20 +02:00
|
|
|
trainSpawnPoint = vector4(100.0, 6000.0, 32.0, 180.0),
|
|
|
|
interactionPoint = vector3(102.0, 6502.0, 32.0),
|
2025-08-11 18:33:49 +02:00
|
|
|
blip = {
|
|
|
|
sprite = 795,
|
|
|
|
color = 7,
|
|
|
|
scale = 0.7
|
2025-08-11 18:38:20 +02:00
|
|
|
},
|
|
|
|
destinations = {
|
|
|
|
"sandy_depot", "sandy_north", "ls_depot", "elysian", "terminal", "downtown"
|
2025-08-11 18:33:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2025-08-11 18:38:20 +02:00
|
|
|
-- Preise basierend auf Entfernung
|
|
|
|
Config.PriceCalculation = {
|
|
|
|
basePrice = 25,
|
|
|
|
pricePerKm = 0.5,
|
|
|
|
maxPrice = 300,
|
|
|
|
freeStations = {"sandy_depot"} -- Kostenlose Startbahnhöfe
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Zug Konfiguration
|
|
|
|
Config.TrainCars = {
|
|
|
|
main = "freight",
|
|
|
|
cars = {"freightcar", "freightcont1", "freightgrain"}
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Menü Einstellungen
|
2025-08-11 18:33:49 +02:00
|
|
|
Config.Menu = {
|
|
|
|
title = "🚂 Zugfahrkarten",
|
|
|
|
subtitle = "Wählen Sie Ihr Reiseziel",
|
2025-08-11 18:38:20 +02:00
|
|
|
position = "top-right",
|
2025-08-11 18:33:49 +02:00
|
|
|
|
|
|
|
texts = {
|
2025-08-11 18:38:20 +02:00
|
|
|
callTrain = "Zug rufen",
|
2025-08-11 18:33:49 +02:00
|
|
|
selectDestination = "Ziel auswählen",
|
2025-08-11 18:38:20 +02:00
|
|
|
trainComing = "Zug wird gerufen...",
|
|
|
|
trainArriving = "Zug fährt ein",
|
|
|
|
trainWaiting = "Zug wartet am Bahnhof",
|
|
|
|
boardTrain = "Zug besteigen",
|
|
|
|
trainLeaving = "Zug fährt ab",
|
|
|
|
noDestinations = "Keine Ziele verfügbar",
|
|
|
|
cancel = "Abbrechen"
|
2025-08-11 18:33:49 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
stationIcons = {
|
|
|
|
depot = "🏭",
|
|
|
|
city = "🏢",
|
|
|
|
industrial = "🏗️",
|
|
|
|
port = "⚓",
|
2025-08-11 18:38:20 +02:00
|
|
|
rural = "🌾",
|
|
|
|
main = "🚉"
|
2025-08-11 18:33:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
-- DrawText Einstellungen
|
|
|
|
Config.DrawText = {
|
|
|
|
font = 4,
|
|
|
|
scale = 0.35,
|
|
|
|
color = {r = 255, g = 255, b = 255, a = 215},
|
|
|
|
backgroundColor = {r = 41, g = 128, b = 185, a = 100},
|
2025-08-11 18:38:20 +02:00
|
|
|
stationText = "[E] Zug rufen",
|
|
|
|
boardText = "[E] Einsteigen",
|
2025-08-11 18:33:49 +02:00
|
|
|
emergencyText = "[F] Notfall-Ausstieg"
|
|
|
|
}
|
|
|
|
|
2025-08-11 18:38:20 +02:00
|
|
|
-- Kamera Einstellungen
|
|
|
|
Config.CinemaCamera = {
|
|
|
|
enabled = true,
|
|
|
|
switchInterval = {min = 8000, max = 12000},
|
|
|
|
positions = {
|
|
|
|
{
|
|
|
|
offset = vector3(15.0, 5.0, 5.0),
|
|
|
|
rotation = vector3(-10.0, 0.0, 90.0)
|
|
|
|
},
|
|
|
|
{
|
|
|
|
offset = vector3(10.0, 15.0, 8.0),
|
|
|
|
rotation = vector3(-15.0, 0.0, 45.0)
|
|
|
|
},
|
|
|
|
{
|
|
|
|
offset = vector3(-10.0, -15.0, 6.0),
|
|
|
|
rotation = vector3(-5.0, 0.0, -135.0)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Benachrichtigungen
|
|
|
|
Config.Notifications = {
|
|
|
|
duration = {
|
|
|
|
short = 3000,
|
|
|
|
medium = 5000,
|
|
|
|
long = 8000
|
|
|
|
}
|
2025-08-11 18:33:49 +02:00
|
|
|
}
|