βοΈConfiguration
Here's a preview of all the config files of the script
Config = {}
--- [[ Markhor Bridge ]] ---
--- [[ Markhor Bridge ]] ---
--- This resource depends on Markhor Bridge.
--- With Markhor Bridge, all necessary settings (such as framework, inventory, interact, etc.) are automatically set.
--- You don't have to do anything except install Markhor Bridge.
--- [[ Markhor Bridge ]] ---
--- [[ Markhor Bridge ]] ---
Config.language = "EN" -- Choose Language -> "EN" / "NL".
Config.minMinutes = 1 -- Minimum number of minutes a user can select.
Config.maxMinutes = 10 -- Maximum number of minutes a user can select.
Config.menuKey = 38 -- Key to open the menu, default: E.
Config.maxTabs = 3 -- Maximum number of tabs in the leaderboard before the tracks are put in the dropdown menu.
-- Check-in place, this is the place where a track can be chosen and a party can be created.
Config.checkIn = {
vec = vector3(-247.78, -2014.2, 30.15),
heading = 242.5,
sprite = 150,
color = 8,
name = 'airsoft',
marker = {
type = 5,
sizeX = 1.0,
sizeY = 1.0,
sizeZ = 1.0,
drawDistance = 100.0,
color = {r = 0, g = 255, b = 255, a = 100}
}
}
-- Grouping point is the place where everyone needs to be to start the match.
Config.groupingPoint = {
vec = vector3(-272.88, -2032.28, 30.15),
heading = 119.08,
sprite = 171,
color = 2,
name = 'Grouping point',
marker = {
type = 1,
sizeX = 15.0,
sizeY = 15.0,
sizeZ = 1.0,
drawDistance = 100.0,
color = {r = 0, g = 255, b = 0, a = 100}
}
}
-- Rewards that take place after the end of the game. You can add random items or money. Weapons are not possible.
-- The TDM rewards will be awarded to each player on the winning team. Only the winner receives the FFA reward.
Config.enableRewards = true -- Enable or disable the rewards
Config.minPlayersReward = 1 -- Minimum players to give rewards
Config.rewards = {
["TDM"] = {
{item = 'bank', type = 'account', label = 'Bank', min = 100, max = 500},
{item = 'water', type = 'item', label = 'Water', min = 2, max = 15},
},
["FFA"] = {
{item = 'bank', type = 'account', label = 'Bank', min = 500, max = 1000},
{item = 'bread', type = 'item', label = 'Bread', min = 5, max = 15},
{item = 'black_money', type = 'account', label = 'Black Money', min = 100, max = 500},
},
}
-- Add all maps like the examples given. Each map must have the following variables:
-- name -> This name will be the display name of the folder.
-- playerMinLimit -> Minimum number of players required to play this map.
-- playerMaxLimit -> Maximum number of players for this map.
-- tdm redspawn -> Spawn point for the red team in the game mode TDM.
-- tdm bluespawn -> Spawn point for the blue team in the game mode TDM.
-- ffa spawns -> Spawn points for the game mode FFA. These points are randomly selected after a respawn.
Config.maps = {
{
name = 'Arena',
playerMinLimit = 1,
playerMaxLimit = 20,
tdm = {
redSpawn = {vec = vector3(1277.88, 811.027, 2640.73038), heading = 175.04},
blueSpawn = {vec = vector3(1287.65, 705.13, 2640.74), heading = 359.73},
},
ffa = {
spawns = {
{vec = vector3(1277.88, 811.027, 2640.73038), heading = 175.04},
{vec = vector3(1287.65, 705.13, 2640.74), heading = 359.73},
{vec = vector3(1323.196, 768.4758, 2647.801617), heading = 109.34},
},
},
},
{
name = 'Nuketown',
playerMinLimit = 1,
playerMaxLimit = 10,
tdm = {
redSpawn = {vec = vector3(2982.20, -784.94, 2405.39), heading = 39.42},
blueSpawn = {vec = vector3(2926.78, -719.04, 2405.38), heading = 234.42},
},
ffa = {
spawns = {
{vec = vector3(2982.20, -784.94, 2405.39), heading = 39.42},
{vec = vector3(2926.78, -719.04, 2405.38), heading = 234.42},
{vec = vector3(2922.34, -769.67, 2405.38), heading = 260.38},
{vec = vector3(2982.89, -780.91, 2405.39), heading = 74.98},
{vec = vector3(2964.08, -744.17, 2405.16), heading = 357.41},
{vec = vector3(2948.58, -791.17, 2405.38), heading = 355.37},
},
},
}
}
-- These are the outfits selected when starting the match
Config.Outfits = {
ffa = {
male = {['helmet_1'] = -1, ['tshirst_2'] = 5, ['bags_1'] = 103, ['pants_2'] = 11, ['pants_1'] = 28, ['decals_1'] = 0, ['helmet_2'] = 0, ['shoes_2'] = 5, ['torso_2'] = 4, ['bags_2'] = 1, ['chain_2'] = 0, ['tshirt_1'] = 14, ['chain_1'] = 0, ['bproof_1'] = -1, ['torso_1'] = 69, ['shoes_1'] = 8, ['decals_2'] = 0, ['arms'] = 0},
female = {['helmet_1'] = -1, ['tshirst_2'] = 7, ['bags_1'] = 110, ['pants_2'] = 1, ['pants_1'] = 23, ['decals_1'] = 0, ['helmet_2'] = 0, ['shoes_2'] = 3, ['torso_2'] = 4, ['bags_2'] = 1, ['chain_2'] = 0, ['tshirt_1'] = 55, ['chain_1'] = 0, ['bproof_1'] = -1, ['torso_1'] = 63, ['shoes_1'] = 58, ['decals_2'] = 0, ['arms'] = 0}
},
red = {
male = {['helmet_1'] = -1, ['tshirst_2'] = 4, ['bags_1'] = 103, ['pants_2'] = 2, ['pants_1'] = 28, ['decals_1'] = 0, ['helmet_2'] = 0, ['shoes_2'] = 11, ['torso_2'] = 3, ['bags_2'] = 3, ['chain_2'] = 0, ['tshirt_1'] = 14, ['chain_1'] = 0, ['bproof_1'] = -1, ['torso_1'] = 69, ['shoes_1'] = 8, ['decals_2'] = 0, ['arms'] = 0},
female = {['helmet_1'] = -1, ['tshirst_2'] = 2, ['bags_1'] = 110, ['pants_2'] = 7, ['pants_1'] = 23, ['decals_1'] = 0, ['helmet_2'] = 0, ['shoes_2'] = 5, ['torso_2'] = 3, ['bags_2'] = 3, ['chain_2'] = 0, ['tshirt_1'] = 55, ['chain_1'] = 0, ['bproof_1'] = -1, ['torso_1'] = 63, ['shoes_1'] = 58, ['decals_2'] = 0, ['arms'] = 0}
},
blue = {
male = {['helmet_1'] = -1, ['tshirst_2'] = 5, ['bags_1'] = 103, ['pants_2'] = 11, ['pants_1'] = 28, ['decals_1'] = 0, ['helmet_2'] = 0, ['shoes_2'] = 5, ['torso_2'] = 4, ['bags_2'] = 1, ['chain_2'] = 0, ['tshirt_1'] = 14, ['chain_1'] = 0, ['bproof_1'] = -1, ['torso_1'] = 69, ['shoes_1'] = 8, ['decals_2'] = 0, ['arms'] = 0},
female = {['helmet_1'] = -1, ['tshirst_2'] = 7, ['bags_1'] = 110, ['pants_2'] = 1, ['pants_1'] = 23, ['decals_1'] = 0, ['helmet_2'] = 0, ['shoes_2'] = 3, ['torso_2'] = 4, ['bags_2'] = 1, ['chain_2'] = 0, ['tshirt_1'] = 55, ['chain_1'] = 0, ['bproof_1'] = -1, ['torso_1'] = 63, ['shoes_1'] = 58, ['decals_2'] = 0, ['arms'] = 0}
}
}
-- Add here all the kits players can choose
Config.Kits = {
{
name = 'sb',
label = 'Switchblade',
weapon = 'WEAPON_SWITCHBLADE',
},
{
name = 'pistol',
label = 'Pistol',
weapon = 'WEAPON_PISTOL_MK2',
},
{
name = 'vp',
label = 'Vintage pistol',
weapon = 'WEAPON_VINTAGEPISTOL',
},
{
name = 'sns',
label = 'SNS pistol',
weapon = 'WEAPON_ASSAULTRIFLE',
},
{
name = 'mp',
label = 'Machinepistol',
weapon = 'WEAPON_MACHINEPISTOL',
},
{
name = 'carbine',
label = 'Carbine',
weapon = 'WEAPON_CARBINERIFLE',
},
{
name = 'sc',
label = 'Special carbine',
weapon = 'WEAPON_SPECIALCARBINE',
},
{
name = 'ar',
label = 'Assault rifle',
weapon = 'WEAPON_ASSAULTRIFLE',
},
{
name = 'br',
label = 'Bullpup Rifle',
weapon = 'WEAPON_BULLPUPRIFLE_MK2',
},
{
name = 'gs',
label = 'Gusenberg sweeper',
weapon = 'WEAPON_GUSENBERG',
},
{
name = 'bs',
label = 'Bullpup Shotgun',
weapon = 'WEAPON_BULLPUPSHOTGUN',
},
{
name = 'sos',
label = 'Sawn off shotgun',
weapon = 'WEAPON_SAWNOFFSHOTGUN',
},
{
name = 'hs',
label = 'Heavy sniper',
weapon = 'WEAPON_HEAVYSNIPER_MK2',
},
{
name = 'msmg',
label = 'Mini SMG',
weapon = 'WEAPON_MINISMG',
},
}Last updated