Kartik Scripts

Configuration

All configuration for Kartik-Racing is handled within the shared/config.lua file. This allows you to customize various aspects of the racing experience to fit your server's needs.

⚙️ Key Configuration Options

💰 Crypto & Rewards

  • Config.Crypto: Customize the name and symbol of the currency used for rewards (e.g., K-Coin).
  • Config.Rewards: Enable or disable rewards, and set the minimum number of racers required.
  • Config.KCoinsDivision: Configure how the reward pool is split between the top 3 racers.

🏆 Elo & Classes

  • Config.CasualRaceMinEntrants: Set the minimum number of racers required to start a casual race (doesn't apply to practice mode).
  • Config.RankedRaces: Set requirements for joining ranked races and the Elo rewards gain/loss ratios.
  • Config.VehicleClasses: Define the Elo thresholds for each vehicle class (D, C, B, A, S).

👥 Crews

  • Config.Crew: Enable or disable crew creation and set the minimum Elo required to start a crew.

👻 Ghost System

  • Config.Ghost: Toggle the ghost system, set recording intervals, and define unlock requirements.

🎥 Spectator Mode

  • Config.Spectator: Configure camera angles, FOV, sensitivity, and height adjustments.

📍 Race Elements

  • Config.Blip: Customize the appearance of race blips on the map.
  • Config.CheckpointObjectNames: Define which props are used as checkpoints.
  • Config.RouteColor: Set the GPS route color for racers.

🏢 Job Categories

  • Config.JobCategories: Map server jobs to racing categories (leo, ems, criminal). This determines which specific racing app the player sees on their laptop.

On this page