Configuration

Configuration files overview:

Config = {}

-- Launage
Config.Laungage = "EN" -- EN,FR,ES,RU,CN,HU

-- Models
Config.MortarModel = GetHashKey("oldmortar")
Config.RocketModel = GetHashKey("w_lr_rpg_rocket")

-- You can change the sounds inthe sounds folder
Config.SoundRadius = 30.0 -- Airstrike sound radius

-- Operation keys
Config.Keys = {
	Fire = 38, -- E
	PickUp = 23, -- F
}

-- Blacklisted zones
Config.BlacklistedZones = {
	{
		coords = vector3(236.2009, -1046.317, 0),
		radius = 40.0,
	},
}

-- Camera keys
Config.CameraKeys = {
	Cancel = 322, -- ESC
	Fire = 215, -- Enter
	Up = 32, -- W
	Down = 33, -- S
	Right = 35, -- D
	Left = 34, -- A
	ZoomIn = 14, -- Scroll up
	ZoomOut = 15, -- Scroll down
}

-- Shooting ranges
Config.MaxDistance = 400.0
Config.MinDistance = 80.0

-- Explosion settings
Config.Explosion = {
	Type = 0, -- Explosion type
	Audio = true, -- Use audio
	CamerShake = 2.5, -- Camera Shake
	DamageScale = 30.0, -- Explosion scale
}

Config.ShootingEffect = {
	Smoke = true, -- Smoke effect
	Explosion = true, -- Explosion effect
}

-- Blip settings
Config.HitBlip = {
	Enable = true, -- Enable blip
	Time = 10, -- in seconds
	Color = 1, -- color
	Scale = 10.0, -- scale
}

Config.LocationBlip = {
	Enable = true, -- Enable blip
	Time = 10, -- in seconds
	Color = 47, -- color
	Scale = 5.0, -- scale
}

-- Use mortar item
Config.MortarItem = {
	Animation = {
		PickUp = {
			Enable = true,
			Dict = "combat@drag_ped@",
			Name = "injured_pickup_side_right_plyr",
		},
		PutDown = {
			Enable = true,
			Dict = "combat@drag_ped@",
			Name = "injured_putdown_plyr",
		},
	},
	Enable = true,
	Name = "mortar",
	RegisterUsableItem = true, -- Register item (bridge/server.lua)
}

-- Use item rocket
Config.RocketItem = {
	Enable = true,
	Name = "ammo-rocket",
}

-- Volumes
Config.Volume = {
	Incoming = 0.5,
	Shooting = 0.5,
}

-- Shooting animation
Config.ShootingAnimation = {
	Dict = "amb@code_human_cower@female@enter",
	Name = "enter",
}

Last updated

Was this helpful?