Jump to content

Balance.txt


biblo

Recommended Posts

Can someone post a un-modifed one. I backed mine up. Then restored. Then went back and changed the drop rates on things, but forgot to back it up first. Now I want to put it back to normal.

Link to comment

Heya Biblo. This should do it I think.

 

 

local newBalanceValues = {
 AdjustCriticalDamageFactor = 1200,
 AdjustDamageFactor = 1000,
 AdjustPvPFactor = 200,
 AdjustSpellFactor = 1000,
 BasepointsMultiplier = 500,
 ChanceForAdditionalSlots = 450,
 ChanceForSlotToImprove = 200,
 ChanceIncForSlotImprovePerRareLevel = 50,
 ChanceToBecomeSlotItemForBlankItem = 0,
 ChanceToBecomeSlotItemForMagicItem = 0,
 ChanceToBecomeSlotItemForNormalItem = 250,
 ChanceToBecomeSlotItemForUniqueItem = 0,
 DiceRange = 1000,
 DurationBoost = 2000,
 DurationDot = 500,
 DurationLongDebuff = 3000,
 DurationShortDebuff = 1000,
 DurationStun = 300,
 DurationPulse = 150,
 DurationStunImmunity = 450,
 EffectCombatArtChance = 4,
 EffectWeaponChance = 2,
 EffectWillpower = 25,
 KillCountBase = 15,
 KillCountInc = 2,
 LifeAttribut = 25,
 LifeBase = 130,
 LifeStep = 19,
 MaxDistLevelXP = 15,
 MinDistLevelXP = 3,
 RareBonusDanger = 1000,
 RareMalusThreshold = 150,
 RareStart = 500,
 RuneAmountTotal = 12500,
 SkillPivotPoint = 100,
 SlotGoldPercentageImprovement = 15,
 SlotSilverPercentageImprovement = 7,
 SpellBaseDamage = 25,
 TEnergyDamageRate = 600,
 TEnergyMutateChance = 500,
 ThresholdGreyXP = 150,
 TopLevelCalc = 200,
 balanceLifeRegenerationDelayCombatFac = 50,
 balanceLifeRegenerationDelayDangerFac = 1,
 balanceLifeRegenerationTime = 4500,
 balanceLevelToSkillFactor = 350,
 RegenerationFactorSkin = 800,
 RegenerationFactorArmorBase = 360,
 SpeedMin = 500,
 SpeedMax = 1500,
 SkillGroupPoints = 5,
 damBasepoints = 20,
 resBasepoints = 15,
 RangeAggro = 400,
 RangeXP = 900,
 RangeArea = 200,
 RangeNear = 45,
 AdjustConstitutionFactor = 5,
 InstantHealPortion = 500,
 ExpTeamBonus = 1333,
 ExpUpperCapPM = 125,
 ExpLowerCapPM = 850,
 ExpMinRatio = 50,
 balanceShieldRegDelayCombatFactor = 500,
 balanceShieldRegDelayDangerFactor = 2,
 balanceShieldRegTime = 2000,
 balanceShieldAbsorptionSkill = 50,
 Mounted_ondeath_healthPM = 50,
 NpcFightDamageDownScaling = 500,
 RangeAggroGrey = 100,
 KillDropMulti = 1200,
 IsUsableByHero = 700,
 TraderMaxCount = 10,
 TraderOffer_MaxLifetime = 900,
 ExpMountFactor = 3000,
 RangeClearFOW = 600,
 LifeRegenerationDelayTime = 500,
 dropTimeItemReserved = 30,
 dropTimeItemDestroy = 60,
 dropTimeItemUnloadedDestroy = 120,
 respawnTimeStandard = 1800,
 respawnTimeMPFactor = 3,
 UpgradeStep = 1870,
 UpgradeStart = 3050,
 SwapRune_One = 125000,
 SwapRune_Two = 25000,
 SwapRune_Three = 5000,
 SwapRune_Four = 500,
 SwapRune_Foreign = 1500,
 ForgeSlot_BronceFactor = 1000,
 ForgeSlot_SilverFactor = 1070,
 ForgeSlot_GoldFactor = 1150,
 PriceAdjustment = 5,
 PriceLeveldiscount = 1,
 PriceShredder = 15,
 PriceSlotfactor = 250,
 UBmean = 500,
 UBpivot = 21600,
 UBquot_attr = 3000,
 DropQuestStart = 10,
 DropQuestQuot = 120,
 CAregenItemfactor = 500,
 RegenerationFactorArmorScaling = 1250,
 Mount_Regenburden_Warhorse = 500,
 Mount_Regenburden_Ridehorse = 300,
 RangeDistance = 525,
 RangeMidrange = 300,
 RangePickupLoot = 200,
 SpellResistFactor = 700,
 SkillAttackSpeedQuot = 5,
 SkillMoveSpeedQuot = 15,
 DurationPotionSmall = 0,
 DurationPotionMiddle = 0,
 DurationPotionBig = 0,
 ZRareExpectation15 = 2,
 ZRareExpectation14 = 6,
 ZRareExpectation13 = 14,
 ZRareExpectation12 = 16,
 ZRareExpectation11 = 24,
 ZRareExpectation10 = 34,
 ZRareExpectation09 = 46,
 ZRareExpectation08 = 58,
 ZRareExpectation07 = 72,
 ZRareExpectation06 = 88,
 ZRareExpectation05 = 106,
 ZRareExpectation04 = 124,
 ZRareExpectation03 = 144,
 ZRareExpectation02 = 166,
 ZRareExpectation01 = 456,
 ZRareExpectation00 = 1000,
 ZRareBasepoints15 = 1350,
 ZRareBasepoints14 = 1320,
 ZRareBasepoints13 = 1290,
 ZRareBasepoints12 = 1260,
 ZRareBasepoints11 = 1230,
 ZRareBasepoints10 = 1200,
 ZRareBasepoints09 = 1175,
 ZRareBasepoints08 = 1150,
 ZRareBasepoints07 = 1125,
 ZRareBasepoints06 = 1100,
 ZRareBasepoints05 = 1080,
 ZRareBasepoints04 = 1060,
 ZRareBasepoints03 = 1040,
 ZRareBasepoints02 = 1020,
 ZRareBasepoints01 = 1000,
 ZRareBasepoints00 = 750,
 ZRareBonusamount14 = 4,
 ZRareBonusamount13 = 4,
 ZRareBonusamount12 = 4,
 ZRareBonusamount15 = 4,
 ZRareBonusamount11 = 3,
 ZRareBonusamount10 = 3,
 ZRareBonusamount09 = 3,
 ZRareBonusamount08 = 2,
 ZRareBonusamount07 = 2,
 ZRareBonusamount06 = 2,
 ZRareBonusamount05 = 1,
 ZRareBonusamount04 = 1,
 ZRareBonusamount03 = 0,
 ZRareBonusamount02 = 0,
 ZRareBonusamount01 = 0,
 ZRareBonusamount00 = 0,
 EffectSkillChanceQuot = 5,
 RangeAggroBoss = 750,
 DamScaleIncMax = 1250,
 DamScaleRatioMin = 200,
 DamScaleRatioMax = 350,
 IsRuneForHero = 400,
 DropMaxRandomRare = 12,
 DropPowerupRare = 4,
 ExpFac0 = 110,
 ExpFac1 = 200,
 ExpFac2 = 150,
 ExpFac3 = 40,
 ExpFac4PM = 1000,
 ExpFacAdjust = 200,
 attrSdam_fact = 334,
 attrWdam_fact = 250,
 AdjustRegenFactor = 1000,
 TraderOfferUpperRareBase = 6,
 PotionHealCooldown = 500,
 UBspawn_fact = 175,
 Forge_PricePerSlot = 500,
 RuneMalusThreshold = 150,
 ExpLS100 = 985,
 ExpLS125 = 980,
 ExpLS150 = 975,
 ExpLS175 = 970,
 SkillMagicFindFactor = 200,
 NumSectors = 4183,
 PlagueImmunityFactor = 1200,
 AddOn_RegenFactor = 1500,
}
mgr.setBalanceValues(newBalanceValues);

local beValues = {
 NORMAL_STANDARD = 350,
 NORMAL_RUNE = 15,
 CHAMP_STANDARD = 700,
 CHAMP_RUNE = 45,
 BOSS_STANDARD = 1000,
 BOSS_RUNE = 600,
 EXTRAGOLD = 0,
 EXTRAPOTION = 0,
 EXTRARUNE = 0,
 Trader_Item = 2300,
 Trader_Many = 10000,
 Trader_SpecialOffer = 0,
 Well_Potion = 1000,
 QUEST_UNIQUE = 1000,
 SUBFAMDROP_LOWCHANCE = 10,
 SUBFAMDROP_HIGHCHANCE = 100,
}
mgr.setBalanceBase (beValues);


local basetables = {

 tableRows = 16,

-- begin of some hard-coded data
 EFFECTDURATION = {500,3000,5000,5000},
-- end of hard-coded data
 QuestExplow = {20,25,30,40,50},
 QuestGoldlow = {25,30,35,40,50},
 SpellFactorDiff = {800,1000,1200,1500,2000},
 QuestGoldmax = {3025,4030,5035,6040,8050},
 DefenseFactorDiff = {650,1000,1500,2500,4500},
 QuestExpmax = {4020,5025,6030,8040,10050},
 MP_experience = {1000,1150,1325,1550,1825},
 NPC_speedfac_any = {1000,1050,1100,1175,1250},
 AttackFactorDiff = {800,1000,1750,2750,4500},
 DamageFactorDiff = {1000,1050,1200,1350,1500},
 LifeFactorDiff = {1000,1400,2000,3000,4000},
 MP_damage = {1000,1050,1100,1160,1220},
 MP_lifeHP = {1000,1300,1650,2100,2650},
 MP_EShieldHP = {1000,1300,1650,2100,2650},
 MP_combatvalue = {1000,1100,1210,1330,1460},
 MP_armor = {1000,1100,1210,1330,1460},
 Spawn_OffsetLow = {0,0,40,70,110},
 Spawn_OffsetHigh = {0,35,80,120,175},
 Spawn_FactorPM = {1000,1100,1175,1250,1350},
 PriceFactor = {700,1000,1400,1900,2500},
 RuneLevel = {1,1,20,35,50},
 Potion_big_duration = {9000,9000,9000,9000,7500},
 Potion_small_duration = {9000,8000,7000,5500,4000},
 Potion_middle_duration = {9000,9000,8000,7000,6000},
 NPC_attrWdam_fact = {1000,1100,1250,1500,2000},
 MP_intensity = {1000,1100,1210,1330,1460},
 LevelCapDiff = {60,100,140,180,200},
 BlacksmithSkillForDiff = {1,20,60,105,150},
 LevelMinForDiff = {1,1,60,100,140},
 AllEnemy_lvl = {1,10,20,200,250},
 Enemy_weapondamage = {650,850,1000,3000,3300},
 Enemy_spelldamage = {500,800,1000,4000,4400},
 Enemy_armor = {800,900,1000,6000,7200},
 SpellAttackFactorMT = {1000,1330,2000,2000},
 SpellDefenseFactorMT = {1000,1750,2500,2500},
 HitFactorMT = {1000,1500,2000,2000},
 DamageFactorMT = {1000,1200,1400,1400},
 LifeQuotientMT = {2500,800,125,125},
}
mgr.setBaseTables(basetables);

local subfamSlots =
{
 {"SUBFAM_HORSE_SADDLE",2},
 {"SUBFAM_SEC_ARMSHIELD",3},
 {"SUBFAM_SEC_FOCUSITEM",2},
 {"SUBFAM_PRI_SWORD",3},
 {"SUBFAM_PRI_FISTWEAPON",2},
 {"SUBFAM_PRI_SHORTSWORD",3},
 {"SUBFAM_PRI_SABER",3},
 {"SUBFAM_PRI_DAGGER",2},
 {"SUBFAM_PRI_CLUB",3},
 {"SUBFAM_PRI_HAMMER",3},
 {"SUBFAM_PRI_AXE",3},
 {"SUBFAM_PRI_WHIP",2},
 {"SUBFAM_PRI_CHAINWEAPON",2},
 {"SUBFAM_PRI_BarstewardSWORD",3},
 {"SUBFAM_PRI_2H_AXE",4},
 {"SUBFAM_PRI_2H_HAMMER",4},
 {"SUBFAM_PRI_2H_SWORD",4},
 {"SUBFAM_PRI_JAVELIN",4},
 {"SUBFAM_PRI_HALBERD",4},
 {"SUBFAM_PRI_MAGESTAFF",3},
 {"SUBFAM_PRI_ENERGY_PISTOL",2},
 {"SUBFAM_PRI_ENERGY_WEAPON",3},
 {"SUBFAM_PRI_SHORTBOW",3},
 {"SUBFAM_PRI_LONGBOW",4},
 {"SUBFAM_PRI_THROW_DAGGER",2},
 {"SUBFAM_PRI_THROW_STAR",2},
 {"SUBFAM_ARMOR_HELMET",3},
 {"SUBFAM_ARMOR_SHOULDER",2},
 {"SUBFAM_ARMOR_CHEST",4},
 {"SUBFAM_ARMOR_ARM",1},
 {"SUBFAM_ARMOR_HAND",1},
 {"SUBFAM_ARMOR_LEG",1},
 {"SUBFAM_ARMOR_BOOT",1},
 {"SUBFAM_ARMOR_WINGS",2},
 {"SUBFAM_PRI_POLE",4},
 {"SUBFAM_ARMOR_BELT",4},
 {"SUBFAM_ARMOR_CLOTH_HEAD",3},
 {"SUBFAM_ARMOR_CLOTH_SHOULDER",2},
 {"SUBFAM_ARMOR_CLOTH_ARM",1},
 {"SUBFAM_ARMOR_CLOTH_CHEST",4},
 {"SUBFAM_ARMOR_CLOTH_LEG",1},
 {"SUBFAM_ARMOR_HEAD_TG",3},
 {"SUBFAM_PRI_MAGESTAFF_2H",4},
 {"SUBFAM_PRI_BLOWGUN",3},
 {"SUBFAM_MOUNT_CONTROL",2},
 {"SUBFAM_MOUNT_PROTECT",2},
 {"SUBFAM_WEAPON_BATTERY",2},
}
mgr.loadSubfamSlots(subfamSlots)


local subfamDroplists =
{
 {"SUBFAM_LIFE_ANIMAL",1501},
 {"SUBFAM_LIFE_ANIMAL_ATMO",1502},
 {"SUBFAM_LIFE_BARBARIAN",1503},
 {"SUBFAM_LIFE_DEMON",1504},
 {"SUBFAM_LIFE_DRAGON",1505},
 {"SUBFAM_LIFE_ENERGY",1506},
 {"SUBFAM_LIFE_HIGHELF",1507},
 {"SUBFAM_LIFE_HUMAN",1508},
 {"SUBFAM_LIFE_INSECT",1509},
 {"SUBFAM_LIFE_MECHANICAL",1510},
 {"SUBFAM_LIFE_MONSTER",1511},
 {"SUBFAM_LIFE_ORC",1512},
 {"SUBFAM_LIFE_PLANT",1513},
 {"SUBFAM_LIFE_REPTILE",1514},
 {"SUBFAM_LIFE_T_MUTATION",1515},
 {"SUBFAM_LIFE_UNDEAD",1516},
 {"SUBFAM_LIFE_DRYAD",1518},
 {"SUBFAM_TRAP_TURRET",1517},
 {"SUBFAM_TRAP_SWITCH",1517},
 {"SUBFAM_TRAP_AREA",1517},
 {"SUBFAM_TRAP_PHYSICS",1517},
}
mgr.loadSubfamDroplists(subfamDroplists)


local shrinkheadMinionMap =
{
{"SUBFAM_LIFE_ANIMAL",1527,1528,1529},
{"SUBFAM_LIFE_BARBARIAN",1562,1561,1563},
{"SUBFAM_LIFE_DRAGON",1538,1537,1539},
{"SUBFAM_LIFE_HIGHELF",1535,1534,1536},
{"SUBFAM_LIFE_HUMAN",1549,1548,1550},
{"SUBFAM_LIFE_INSECT",1588,1589,1590},
{"SUBFAM_LIFE_MONSTER",1543,1542,1541},
{"SUBFAM_LIFE_ORC",1558,1557,1559},
{"SUBFAM_LIFE_T_MUTATION",1555,1554,1556},
{"SUBFAM_LIFE_UNDEAD",1545,1544,1546},
{"SUBFAM_LIFE_DRYAD",1552,1551,1553},

}
mgr.loadShrinkheadMinionMap(shrinkheadMinionMap)

Link to comment

thx that is what I needed. I felt like getting the items that way was like cheating. I didn't edit where I was getting rare and unquie all the time, but got alot more of them. On a boss I usally got 1 to 2 set pieces. I had it where he dropped enough stuff to fill a empty inventory^^

Link to comment
  • 4 months later...

This is probably a dead topic among the veterans or just mastered by now but for fairly new people its interesting. Is there any links, posts, threads, etc. that "explain" or break down the lines in the balance.txt? Some line are fairly easy to read and some are well documented like the ZRareExpectations##. But sometimes I'm not sure if values are a fixed number or a percentage. Anyways, guidance to a place with each line or grouping explained and possibly how changes effect it would be greatly appreciated!

Link to comment
This is probably a dead topic among the veterans or just mastered by now but for fairly new people its interesting. Is there any links, posts, threads, etc. that "explain" or break down the lines in the balance.txt? Some line are fairly easy to read and some are well documented like the ZRareExpectations##. But sometimes I'm not sure if values are a fixed number or a percentage. Anyways, guidance to a place with each line or grouping explained and possibly how changes effect it would be greatly appreciated!

 

I would suggest trail and error to figure out what a spesific line does and what the range of inputs are. Of course if you still can't figure out what a line does or how to do something you would like to do, you could always just ask in this forum :drool:.

 

Regards :)

Link to comment

Here is my currect Balance.txt for the game.

 

You will noticed I incrcreased the amounts for all the ZRareExpectation##

 

I get a lot of Gold and some Green drops. I haven't seen any Orange though but I mostly beeen playing a low level character

 

2r619jr.jpg

 

Actually I must have changed this section as well, so I'm not sure which actually affected the drop rate and drop type.

 

1zldmhs.jpg

Edited by Gumby
Link to comment

If you want heaps of uniques & sets you need to put 1000 in on both ZrareExpectation14 & 13, 15 is legendary and drops only from enemies that have that in their drop-tables(campaign bosses & Tree Spirit Champions).

Link to comment

I would like to see if there is a way to change what the Trader offers because some characters like the Shadow Warrior doesn't even have the Bargaining Skill.

Edited by Gumby
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...
Please Sign In or Sign Up