From 894ae7465fbf493751d40f6afe92a0b9c230434d Mon Sep 17 00:00:00 2001 From: "michael.reiswich" Date: Sat, 3 Apr 2021 12:35:19 +0200 Subject: [PATCH] change tuning prices --- ReallifeGamemode.Client/Gui/blips.ts | 4 +- ReallifeGamemode.Client/Tuning/main.ts | 56 +++++++++---------- .../html/Introduction/Introduction.html | 11 ++-- .../Commands/UserCommands.cs | 2 +- 4 files changed, 37 insertions(+), 36 deletions(-) diff --git a/ReallifeGamemode.Client/Gui/blips.ts b/ReallifeGamemode.Client/Gui/blips.ts index a2912e22..87c46329 100644 --- a/ReallifeGamemode.Client/Gui/blips.ts +++ b/ReallifeGamemode.Client/Gui/blips.ts @@ -42,10 +42,10 @@ export default function playerBlips() { mp.events.addDataHandler("blipColor", (entity, value) => { if (entity.type === "player") { - mp.gui.chat.push("Setting Blip color..."); + //mp.gui.chat.push("Setting Blip color..."); let color = parseInt(value); entity.setBlipColor(isNaN(color) ? 0 : color); - mp.gui.chat.push("Player blip color was set."); + // mp.gui.chat.push("Player blip color was set."); } }); } \ No newline at end of file diff --git a/ReallifeGamemode.Client/Tuning/main.ts b/ReallifeGamemode.Client/Tuning/main.ts index ec94766a..9da9b31b 100644 --- a/ReallifeGamemode.Client/Tuning/main.ts +++ b/ReallifeGamemode.Client/Tuning/main.ts @@ -25,40 +25,40 @@ export default function tuning(globalData: IGlobalData) { const carModTypes = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 18, 22, -1, 25, 27, 28, 33, 34, 35, 38, 39, 40, 41, 42, 43, 44, 46, 48, 69]; const carModSlotName = [ - { Slot: 0, Name: "Spoiler", Price: 2000 }, - { Slot: 1, Name: "Frontstoßstange", Price: 2000}, - { Slot: 2, Name: "Heckstoßstange", Price: 2000 }, - { Slot: 3, Name: "Seitenschweller", Price: 2000 }, - { Slot: 4, Name: "Auspuff", Price: 2000 }, - { Slot: 5, Name: "Rahmen", Price: 2000 }, - { Slot: 6, Name: "Kühlergrill", Price: 2000 }, + { Slot: 0, Name: "Spoiler", Price: 1000 }, + { Slot: 1, Name: "Frontstoßstange", Price: 1500}, + { Slot: 2, Name: "Heckstoßstange", Price: 1500 }, + { Slot: 3, Name: "Seitenschweller", Price: 1500 }, + { Slot: 4, Name: "Auspuff", Price: 500 }, + { Slot: 5, Name: "Rahmen", Price: 1000 }, + { Slot: 6, Name: "Kühlergrill", Price: 1000 }, { Slot: 7, Name: "Motorhaube", Price: 2000 }, { Slot: 8, Name: "Extra 1", Price: 2000 }, { Slot: 9, Name: "Extra 2", Price: 2000 }, - { Slot: 10, Name: "Dach", Price: 2000 }, - { Slot: 11, Name: "Motor", Price: 2000 }, - { Slot: 12, Name: "Bremsen", Price: 2000 }, - { Slot: 13, Name: "Getriebe", Price: 2000 }, - { Slot: 14, Name: "Hupe", Price: 2000 }, + { Slot: 10, Name: "Dach", Price: 1500 }, + { Slot: 11, Name: "Motor", Price: 50000 }, + { Slot: 12, Name: "Bremsen", Price: 30000 }, + { Slot: 13, Name: "Getriebe", Price: 15000 }, + { Slot: 14, Name: "Hupe", Price: 500 }, { Slot: 15, Name: "Federung", Price: 2000 }, - { Slot: 18, Name: "Turbo", Price: 2000 }, - { Slot: 22, Name: "Licht", Price: 2000 }, - { Slot: 23, Name: "Reifen", Price: 2000 }, - { Slot: -1, Name: "Lackierung", Price: 2000 }, - { Slot: 25, Name: "Nummernschildhalter", Price: 2000 }, - { Slot: 27, Name: "Innenausstatung", Price: 2000 }, - { Slot: 28, Name: "Wackelkopf", Price: 2000 }, - { Slot: 33, Name: "Lenkrad", Price: 2000 }, - { Slot: 34, Name: "Schalthebel", Price: 2000 }, - { Slot: 35, Name: "Schild", Price: 2000 }, + { Slot: 18, Name: "Turbo", Price: 40000 }, + { Slot: 22, Name: "Licht", Price: 500 }, + { Slot: 23, Name: "Reifen", Price: 1000 }, + { Slot: -1, Name: "Lackierung", Price: 1000 }, + { Slot: 25, Name: "Nummernschildhalter", Price: 500 }, + { Slot: 27, Name: "Innenausstatung", Price: 500 }, + { Slot: 28, Name: "Wackelkopf", Price: 200 }, + { Slot: 33, Name: "Lenkrad", Price: 300 }, + { Slot: 34, Name: "Schalthebel", Price: 200 }, + { Slot: 35, Name: "Schild", Price: 200 }, { Slot: 38, Name: "Hydraulik", Price: 2000 }, { Slot: 39, Name: "Motorabdeckung", Price: 2000 }, - { Slot: 40, Name: "Luftfilter", Price: 2000 }, - { Slot: 41, Name: "Domstrebe", Price: 2000 }, - { Slot: 42, Name: "Scheinwerferabdeckung", Price: 2000 }, - { Slot: 43, Name: "Nebelscheinwerfer", Price: 2000 }, - { Slot: 44, Name: "Dach-Extra", Price: 2000 }, - { Slot: 46, Name: "Fenster", Price: 2000 }, + { Slot: 40, Name: "Luftfilter", Price: 1000 }, + { Slot: 41, Name: "Domstrebe", Price: 1000 }, + { Slot: 42, Name: "Scheinwerferabdeckung", Price: 500 }, + { Slot: 43, Name: "Nebelscheinwerfer", Price: 1000 }, + { Slot: 44, Name: "Dach-Extra", Price: 1000 }, + { Slot: 46, Name: "Fenster", Price: 1000 }, { Slot: 48, Name: "Design", Price: 2000 } ]; diff --git a/ReallifeGamemode.Client/assets/html/Introduction/Introduction.html b/ReallifeGamemode.Client/assets/html/Introduction/Introduction.html index bff3aa9c..497b8ce4 100644 --- a/ReallifeGamemode.Client/assets/html/Introduction/Introduction.html +++ b/ReallifeGamemode.Client/assets/html/Introduction/Introduction.html @@ -19,10 +19,11 @@
Was sind die ersten Schritte wirst du dich jetzt bestimmt fragen. Hier ein kleiner Guide.

- 1. Mach deine Scheine (Führerschein, Flugschein, Waffenschein)
- 2. Nimm einen Job in der Stadthalle an und verdien dir dein erstes Geld.
- 3. Kauf dir ein eigenes Auto.
- 4. Tritt einer Fraktion bei

+ 1. Wenn du zum ersten mal Connectest würden wir dich bitten das Spiel nochmal neu zu Starten damit alle Daten auch zu 100% richtig geladen sind. Danke
+ 2. Mach deine Scheine (Führerschein, Flugschein, Waffenschein)
+ 3. Nimm einen Job in der Stadthalle an und verdien dir dein erstes Geld.
+ 4. Kauf dir ein eigenes Auto.
+ 5. Tritt einer Fraktion bei

Steuerung:
T - Chat öffnen
@@ -31,7 +32,7 @@ N - Fahrzeugmotor Starten
O - Onlineliste öffnen/schließen
I - Inventar öffnen/schließen
- f4 - Mikrofon an und aus stellen

+ F4 - Mikrofon an und aus stellen

Mit /help kannst du dir jederzeit die Steuerung angucken. Und nun viel Spaß auf unseren Server.
diff --git a/ReallifeGamemode.Server/Commands/UserCommands.cs b/ReallifeGamemode.Server/Commands/UserCommands.cs index 3ed5bc5d..91dabc04 100644 --- a/ReallifeGamemode.Server/Commands/UserCommands.cs +++ b/ReallifeGamemode.Server/Commands/UserCommands.cs @@ -84,7 +84,7 @@ namespace ReallifeGamemode.Server.Commands player.SendChatMessage("N - Fahrzeugmotor Starten"); player.SendChatMessage("O - Onlineliste öffnen / schließen"); player.SendChatMessage("I - Inventar öffnen / schließen"); - player.SendChatMessage("f4 - Mikrofon an/aus schalten"); + player.SendChatMessage("F4 - Mikrofon an/aus schalten"); } [Command("hup")]