Config = {} -- Allgemeine Einstellungen Config.Debug = false Config.DefaultCurrency = 'cash' Config.InteractionDistance = 5.0 Config.StationInteractionDistance = 3.0 -- Zug Ankunft Einstellungen Config.TrainArrival = { enabled = true, 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 } -- Bahnhof Konfiguration Config.TrainStations = { { id = "sandy_depot", coords = vector4(2533.0, 2833.0, 38.0, 0.0), name = "Sandy Shores Depot", description = "Hauptdepot in Sandy Shores", -- 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), blip = { sprite = 795, color = 2, scale = 0.8 }, -- Verfügbare Ziele von diesem Bahnhof destinations = { "sandy_north", "ls_depot", "elysian", "terminal", "downtown", "paleto" } }, { id = "sandy_north", coords = vector4(2606.0, 2927.0, 40.0, 90.0), name = "Sandy Shores Nord", description = "Nördlicher Bahnhof von Sandy Shores", trainSpawnPoint = vector4(2106.0, 2927.0, 40.0, 90.0), interactionPoint = vector3(2608.0, 2929.0, 40.0), blip = { sprite = 795, color = 3, scale = 0.7 }, destinations = { "sandy_depot", "ls_depot", "elysian", "terminal", "downtown", "paleto" } }, { id = "ls_depot", coords = vector4(1164.0, -3250.0, 7.0, 180.0), name = "Los Santos Hauptbahnhof", description = "Zentraler Bahnhof in Los Santos", trainSpawnPoint = vector4(1164.0, -2750.0, 7.0, 180.0), interactionPoint = vector3(1166.0, -3252.0, 7.0), blip = { sprite = 795, color = 1, scale = 0.9 }, destinations = { "sandy_depot", "sandy_north", "elysian", "terminal", "downtown", "paleto" } }, { id = "elysian", coords = vector4(219.0, -2487.0, 6.0, 270.0), name = "Elysian Island", description = "Industriegebiet am Hafen", trainSpawnPoint = vector4(719.0, -2487.0, 6.0, 270.0), interactionPoint = vector3(217.0, -2489.0, 6.0), blip = { sprite = 795, color = 4, scale = 0.7 }, destinations = { "sandy_depot", "sandy_north", "ls_depot", "terminal", "downtown", "paleto" } }, { id = "terminal", coords = vector4(-1100.0, -2724.0, 13.0, 0.0), name = "Fracht Terminal", description = "Großes Frachtterminal", trainSpawnPoint = vector4(-1600.0, -2724.0, 13.0, 0.0), interactionPoint = vector3(-1098.0, -2726.0, 13.0), blip = { sprite = 795, color = 5, scale = 0.8 }, destinations = { "sandy_depot", "sandy_north", "ls_depot", "elysian", "downtown", "paleto" } }, { id = "downtown", coords = vector4(-500.0, -1500.0, 10.0, 45.0), name = "Downtown Station", description = "Bahnhof in der Innenstadt", trainSpawnPoint = vector4(-1000.0, -1500.0, 10.0, 45.0), interactionPoint = vector3(-498.0, -1502.0, 10.0), blip = { sprite = 795, color = 6, scale = 0.7 }, destinations = { "sandy_depot", "sandy_north", "ls_depot", "elysian", "terminal", "paleto" } }, { id = "paleto", coords = vector4(100.0, 6500.0, 32.0, 180.0), name = "Paleto Bay", description = "Kleiner Bahnhof in Paleto Bay", trainSpawnPoint = vector4(100.0, 6000.0, 32.0, 180.0), interactionPoint = vector3(102.0, 6502.0, 32.0), blip = { sprite = 795, color = 7, scale = 0.7 }, destinations = { "sandy_depot", "sandy_north", "ls_depot", "elysian", "terminal", "downtown" } } } -- 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 Config.Menu = { title = "🚂 Zugfahrkarten", subtitle = "Wählen Sie Ihr Reiseziel", position = "top-right", texts = { callTrain = "Zug rufen", selectDestination = "Ziel auswählen", 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" }, stationIcons = { depot = "🏭", city = "🏢", industrial = "🏗️", port = "⚓", rural = "🌾", main = "🚉" } } -- 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}, stationText = "[E] Zug rufen", boardText = "[E] Einsteigen", emergencyText = "[F] Notfall-Ausstieg" } -- 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 } }