Billboards

Step-by-Step Explanation Guide on how billboards margin is managed.

How to modify price for current area which billboards is in?

Path: rcore_banners/configs/billboards.lua

If you want to rise price of all billboards in DOWNT AIRP zone by you will do it like this:

Step 1: Determine the Base Price of the Billboard

The base price of a billboard is 5000. This is the price that all billboards start with, regardless of their location.

Step 2: Apply the Zone Price Modifier

The zone price modifier is a multiplier that is applied to the base price of a billboard based on the area of the zone in which it is located. The zone price modifiers are as follows:

  • AIRP = 1.5: This means that billboards in the AIRP zone will cost 1.5 times the base price.

  • ALAMO = 0.5: This means that billboards in the ALAMO zone will cost 0.5 times the base price.

Step 3: Calculate the Final Price

To calculate the final price of a billboard, multiply the base price by the zone price modifier. For example, a billboard in the AIRP zone would cost 5000 * 1.5 = 7500.

Example:

If you want to buy a billboard in the DOWNT zone, the process would be as follows:

  1. Determine the base price: 5000

  2. Apply the zone price modifier: 1.5

  3. Calculate the final price: 5000 * 1.5 = 7500

Therefore, the billboard would cost 7500.

Config.Billboards = {
    BUY_BASE_PRICE = 5000,

    ZONE_PRICE_MODIFIERS = {
        AIRP = 1.5,
        ALAMO = 0.5,
        ALTA = 0.75,
        ARMYB = 0.25,
        BANHAMC = 0.75,
        BANNING = 0.5,
        BEACH = 1.25,
        BHAMCA = 0.75,
        BRADP = 0.5,
        BRADT = 0.5,
        BURTON = 0.5,
        CALAFB = 0.75,
        CANNY = 0.5,
        CCREAK = 0.5,
        CHAMH = 1.0,
        CHIL = 1.25,
        CHU = 0.75,
        CMSW = 0.25,
        CYPRE = 0.75,
        DAVIS = 0.75,
        DELBE = 1.25,
        DELPE = 1.25,
        DELSOL = 1.25,
        DESRT = 0.25,
        DOWNT = 1.5,
        DTVINE = 1.5,
        EAST_V = 1.25,
        EBURO = 0.75,
        ELGORL = 0.25,
        ELYSIAN = 0.75,
        GALFISH = 0.5,
        GOLF = 1.0,
        GRAPES = 0.5,
        GREATC = 0.5,
        HARMO = 0.5,
        HAWICK = 0.75,
        HORS = 1.0,
        HUMLAB = 0.25,
        JAIL = 0.25,
        KOREAT = 1.0,
        LACT = 0.5,
        LAGO = 0.75,
        LDAM = 0.5,
        LEGSQU = 1.5,
        LMESA = 0.75,
        LOSPUER = 1.25,
        MIRR = 1.0,
        MORN = 1.25,
        MOVIE = 1.25,
        MTCHIL = 0.25,
        MTGORDO = 0.25,
        MTJOSE = 0.25,
        MURRI = 1.0,
        NCHU = 0.75,
        NOOSE = 0.25,
        OCEANA = 0.0,
        PALCOV = 0.5,
        PALETO = 0.5,
        PALFOR = 0.25,
        PALHIGH = 0.75,
        PALMPOW = 0.25,
        PBLUFF = 1.25,
        PBOX = 1.5,
        PROCOB = 0.75,
        RANCHO = 0.75,
        RGLEN = 1.5,
        RICHM = 1.5,
        ROCKF = 1.5,
        RTRAK = 0.75,
        SANAND = 1.0,
        SANCHIA = 0.25,
        SANDY = 0.5,
        SKID = 0.75,
        SLAB = 0.25,
        STAD = 1.5,
        STRAW = 0.75,
        TATAMO = 0.25,
        TERMINA = 0.75,
        TEXTI = 0.75,
        TONGVAH = 1.0,
        TONGVAV = 0.75,
        VCANA = 1.25,
        VESP = 1.25,
        VINE = 1.5,
        WINDF = 0.25,
        WVINE = 1.5,
        ZANCUDO = 0.5,
        ZP_ORT = 0.75,
        ZQ_UAR = 0.5
    }
}

Last updated