Fortress Hunt Mission

Compatible : VORP / RSGCore

:purple_heart: Tebex
:tv: Preview

Config File

Config = {}

Config.Framework = 'vorp'

Config.PercentageReward = false

Config.PercentageRandom = math.random(1, 2)

Config.DurationBomb = 10000 * 1 --2 Minutes

Config.PropMap = "s_treasuremap_01x"

Config.AnimDict = "mech_carry_box" Config.AnimName = "idle" Config.BoneName = "SKEL_L_Finger12"

Config.Chest = "p_footlockeranim01x" Config.TaskScenario = 'WORLD_HUMAN_CROUCH_INSPECT'

Config.MissionBlip = -861219276

Config.HealthPeds = 50

Config.UsableItem = 'fortress_map'

Config.BlipInfos ={
	["blipName"] = "Fortress Location",
	["scale"] = 0.4
}

Config.Locale = {
	["fortressNotify"] = "Press G to collect the fortress",
	["loot_guards"] = "Press G to loot the guard",
	["message_location"] = "Look your map for find the fortress location!",
	["prepare_fight"] = "The chest is empty, you fell into a fortress trap, prepare for battle, the guards have been alerted!",
	["fail_chest_open"] = "The chest is well sealed and you haven't managed to open it, try again!",
	["searching"] = "Searching...",
	["healthPed"] = "Health :",
	["deadGuard"] = "Guard Dead",
	["notFoundBomb"] = "How do you think you can destroy the fortress?",
	["notLoot"] = "Their pockets are empty!",
}

Config.RandomLocations = {
	{
		Position = { x = -4216.15, y = -3451.47, z = 37.08 },

		ChestPosition = { x = -4216.15, y = -3451.47, z = 37.08 },
		
		pedLocations = {
			{ x = -4197.76, y = -3417.94, z = 41.48 }, -- location to spawn peds for each ped
			{ x = -4204.72, y = -3444.86, z = 40.04 },
			{ x = -4192.18, y = -3457.8,  z = 41.48 },
			{ x = -4213.97, y = -3453.99, z = 41.86 },		
			{ x = -4217.07, y = -3439.89, z = 41.48 },		
			{ x = -4191.67, y = -3443.78, z = 41.48 },		
			{ x = -4189.34, y = -3421.87, z = 37.08 },		
			{ x = -4194.04, y = -3434.9,  z = 37.08 },		
			{ x = -4255.94, y = -3481.47, z = 37.04 },		
			{ x = -4262.01, y = -3470.0,  z = 41.21 },		
			{ x = -4238.91, y = -3461.85, z = 41.48 },		
		},
		
		pedModel = "G_M_M_UniBanditos_01",

		amountPeds = 7
	},

	{
		Position = { x = 2456.02, y = 286.14, z = 70.63},

		BombPosition = { x = 2456.02, y = 286.14, z = 70.63},
		
		pedLocations = {
			{ x = 2460.27,  y = 276.26,   z = 75.41}, -- location to spawn peds for each ped
			{ x = 2444.0, 	y = 281.09,   z = 74.77},
			{ x = 2441.76,  y = 296.14,   z = 74.13},
			{ x = 2461.73,  y = 296.85,   z = 70.64},		
			{ x = 2460.04,  y = 279.84,   z = 71.07},		
			{ x = 2449.14,  y = 280.31,   z = 70.55},		
			{ x = 2459.88,  y = 300.78,   z = 74.78},		
			{ x = 2464.81,  y = 296.63,   z = 74.74},		
			{ x = 2445.14,  y = 291.37,   z = 70.37},		
			{ x = 2455.87,  y = 289.22,   z = 70.61},		
		},
		
		pedModel = "G_M_M_UniBanditos_01",

		amountPeds = 5
	},

	{
		Position = { x = -1893.78, y = 1330.64, z = 200.1},

		BombPosition = { x = -1893.78, y = 1330.64, z = 200.1},
		
		pedLocations = {
			{x = -1897.56, y = 1348.6,  z = 201.2  },
			{x = -1878.5,  y = 1356.72, z = 202.86 },
			{x = -1873.98, y = 1335.58, z = 201.76 },
			{x = -1878.59, y = 1333.07, z = 202.24 },
			{x = -1882.38, y = 1324.03, z = 200.04 },
			{x = -1913.05, y = 1319.19, z = 199.09 },
			{x = -1925.78, y = 1349.93, z = 203.62 },
			{x = -1907.09, y = 1360.43, z = 203.64 },
			{x = -1910.09, y = 1323.23, z = 199.25 },
			{x = -1896.94, y = 1319.56, z = 199.27 },
			{x = -1885.14, y = 1317.84, z = 199.86 },
			{x = -1871.0,  y = 1335.55, z = 202.33 },
			{x = -1867.08, y = 1341.47, z = 203.41 },
			{x = -1908.84, y = 1337.78, z = 200.62 },
			{x = -1884.18, y = 1312.09, z = 199.73 },	
		},
		
		pedModel = "G_M_M_UniBanditos_01",

		amountPeds = 10
	}
}


Config.ItemRewards ={
	{ name = 'golden_ring', 	labelText = 'Golden Ring',		count = 2,	percent = 100 },
	
	{ name = 'gold_necklace', 	labelText = 'Golden Necklace',	count = 2,	percent = 100 },
	
	{ name = 'golden_earring', 	labelText = 'Golden Earring',	count = 2,	percent = 100 },
	
	{ name = 'golden_bracelet', labelText = 'Golden Bracelet',	count = 2,	percent = 100 },
}

Any suggestions or questions ?

Please write them down below in the comments section.

Script informations

Code is accessible Yes (Config)
Subscription-based No
Lines (approximately) 600+
Requirements No
Support Yes