Wikia

Witcher Wiki

Difficulty settings mod

Comments0
4,239pages on
this wiki

This is a DIY (do-it-yourself) mini-mod.

The difficulty settings are governed by the script in:

\DATA\SCRIPTS00.BIF\witcher_atr_abl.luc

Decompile this script using any utility that is listed in the LUC format article under the file formats category.

Open up the resulting file in any text editor.

The difficulty settings are described in two ability definitions. The difficulty settings for easy level are defined under the entry called "Difficulty_easy". The difficulty settings for normal level are defined under the entry called "Difficulty_normal". The difficulty settings for hard level are not defined explicitly — meaning that on the hard level there are no special bonuses at all. To modify the difficulty settings, you either change both of these entries, or only the one that you will choose when a new game is started. In any case, leave the other values untouched for now — and do not remove them from the file either! The original code in v1.1a for easy level is:

DefAbility
({
	Name = "Difficulty_easy",
	AttrsMod =
	{
		Damage_Mult = 2,
		PointRegen =
		{
			VP_Mod = 2
		},
		EffectResistance =
		{
			Pain_Mult = 0.4,
			Bleeding_Mult = 0.4,
			Blind_Mult = 0.4,
			Burn_Mult = 0.4,
			Stun_Mult = 0.4,
			Falter_Mult = 0.4,
			Poisoning_Mult = 0.4,
			Charm_Mult = 0.4
		},
		Armor_Mult = 0.4
	}
})

In this example, we make a simple change: increase damage dealt, speed up VP (vitality) and EP (endurance) regeneration a bit, decrease resistances and armour efficiency a little to balance it out. The resulting script will be:

DefAbility
({
	Name = "Difficulty_easy",
	AttrsMod =
	{
		Damage_Mult = 3,
		PointRegen =
		{
			VP_Mod = 3,
			EP_Mod = 2
		},
		EffectResistance =
		{
			Pain_Mult = 0.5,
			Bleeding_Mult = 0.5,
			Blind_Mult = 0.5,
			Burn_Mult = 0.5,
			Stun_Mult = 0.5,
			Falter_Mult = 0.5,
			Poisoning_Mult = 0.5,
			Charm_Mult = 0.5
		},
		Armor_Mult = 0.5
	}
})

The original code in v1.1a for normal level is:

DefAbility
({
	Name = "Difficulty_normal",
	AttrsMod =
	{
		Damage_Mult = 1.5,
		PointRegen =
		{
			VP_Mod = 1
		},
		EffectResistance =
		{
			Pain_Mult = 0.7,
			Bleeding_Mult = 0.7,
			Blind_Mult = 0.7,
			Burn_Mult = 0.7,
			Stun_Mult = 0.6,
			Falter_Mult = 0.6,
			Poisoning_Mult = 0.7,
			Charm_Mult = 0.7
		},
		Armor_Mult = 0.7
	}
})

We do the same changes to the normal level settings: increase damage dealt, speed up VP (vitality) and EP (endurance) regeneration a bit, decrease resistances and armour efficiency a little to balance it out. The resulting script will be:

DefAbility
({
	Name = "Difficulty_normal",
	AttrsMod =
	{
		Damage_Mult = 2,
		PointRegen =
		{
			VP_Mod = 2,
			EP_Mod = 1.5
		},
		EffectResistance =
		{
			Pain_Mult = 0.8,
			Bleeding_Mult = 0.8,
			Blind_Mult = 0.8,
			Burn_Mult = 0.8,
			Stun_Mult = 0.7,
			Falter_Mult = 0.7,
			Poisoning_Mult = 0.8,
			Charm_Mult = 0.8
		},
		Armor_Mult = 0.8
	}
})

The names are quite self-explanatory, so feel free to modify any other value as you like, but when you are done, save the script as witcher_atr_abl.lua. Finally, drop the witcher_atr_abl.lua into the \DATA\OVERRIDE directory (you might need to create the OVERRIDE directory under \DATA), and you are done. Enjoy your mini-mod.

Around Wikia's network

Random Wiki