Configuration
Welcome to the MBT Camping System! This documentation will guide you through the process of configuring various variables within the provided code. Even if you have little to no programming experience, fear not! Follow the steps below to customize the camping system according to your needs.
MBT.Props = {
["Tent"] = `prop_skid_tent_01`,
["Chair"] = `prop_skid_chair_02`,
["Fire"] = `prop_beach_fire`,
["Grill"] = `prop_bbq_5`
}This variable stores the names of various camping props used in the system, such as tents, chairs, fires, and grills.
MBT.Language = "EN"Specifies the default language for the camping system. You can set it to "EN" for English or "IT" for Italian or you can add your language.
MBT.WarmingDistance = 2.5Defines the distance at which the fire warm animation is triggered.
MBT.MaxDistanceMove = 4.0Sets the maximum distance between the player and the camping prop for move mode. If the distance exceeds this value, the move mode is exited.
MBT.GetUpKey = "E"Specifies the key (in this case, "E") that the player uses to get up from a sitting position.
Defines the key codes for various movement controls used in the camping system (e.g., up, down, left, right, rotate left, rotate right, confirm).
Contains language-specific labels and messages used in the camping system for various actions and notifications
Defines food items that can be cooked, specifying their cooked and burnt versions and corresponding props.
Contains logic for retrieving food items. This function should be filled based on your inventory system if you are not using ox_inventory.
This section allows you to define custom functions that enhance the functionality of the elevator system.
Handles custom notifications, allowing you to customize their appearance and behavior.
Configure the in-game help text and UI appearance, including logic for showing and hiding the UI.
Configures interactions with camping items. Uncomment the appropriate section based on the targeting system (ox_target or qb-target) you are using.
Configures interactions with cooking items. Uncomment the appropriate section based on the targeting system (ox_libor qb-menu) you are using.
Configures skillbar for cooking. Uncomment the appropriate section based on the targeting system (ox_libor qb-progressbar) you are using.
Last updated