Conquerable Territories

The Conquerable Territories system in Quasar Gangs & Territories provides fully customizable zones where gangs can claim dominance. Each territory offers strategic benefits, such as control over drug sales, access to exclusive dealers, and enhanced map visibility for the conquering gang.

1

Conquest System

Territories start as neutral zones and can be claimed by gangs. Once claimed, the territory changes to the gang’s color on the map.

2

Dealer System

Each territory includes a dealer who is only accessible to the dominant gang. The dealer provides missions, drug transportation, and a limited store that expands as reputation increases.

3

Drug Sales

Gang members can sell drugs within their territories. NPCs in the zone will interact dynamically, including bargaining, buying, or even attempting theft.


Basic Configuration

The Territories are defined in the config.lua file, where you can specify:

1

Area Dimensions

Map squares or ox_lib zones to define the territory.

2

Points

Boundaries of the territory using ox_lib.

3

Conquest Timer

Time (in seconds) needed to claim a zone.

4

Dealers

Add dealers with active hours and products.


Example Configuration

The configuration for each territory includes map squares for visualization, boundary points, dealers, and conquest parameters. Ensure that the Config.ZoneDebug is enabled for setting up zones accurately. Territories must be numbered consecutively ([1], [2], [3]).

Config.Territories = {
    [1] = {
        area = {
            { coords = vec3(254.610992, -1972.153809, 21.562622), width = 170.0, height = 85.0, blipRotation = 6.0 },
        },
        points = {
            vec3(342.580231, -1937.947266, 17.8),
            vec3(317.063751, -1970.162598, 17.8),
        },
        minScore = 10,
        winner = 'neutral',
        occupants = {
            ['neutral'] = { label = 'Neutral', score = 60 },
        },
        dealers = {
            ['zone-1'] = {
                name = 'Abel Pintos',
                coords = vector3(267.665955, -1979.446167, 21.461548),
                time = { min = 01, max = 12 },
                products = Config.Products
            }
        }
    },
}

Territory Management

1

Neutral Zones

Territories start as neutral, indicated by a white color.

2

Conquered Zones

A gang’s color takes over once the zone is claimed. Conquering a rival’s territory alerts them, initiating a war.

3

Dealer Benefits

Dominant gangs gain exclusive dealer access, which expands with completed missions.

4

Dynamic Drug Sales

NPC interactions vary based on gang ownership and territory boundaries.

By configuring and managing territories effectively, your gangs can dominate the server, offering exciting gameplay opportunities for both competition and cooperation.

Last updated