The easiest and quickest way to do this is using zanzer's Cheat table after loading a game and highlighting the character you want to buff, and make sure you have the right weapon equipped and visible on the character (via changing melee/ranged in-game). Then you'll want to go to Console Commands->Register Commands->Weapon Status Enchantments and then Change Script on one of the scripts there to read:BlaxHousefly wrote: ↑Thu Dec 28, 2023 1:30 pmHello, I want to ask, is it possible to assign modified stats to your weapons that will stay on weapon forever? Something like adding 20 or 50 damage permanently to a weapon?
Apologies beforehand if someone asked this question already, but this thread is pretty massive.
Code: Select all
{$lua}
if syntaxcheck then return end
status = {
"MAG_RADIANT_STRONG_RADIANCE_WEAPON",
"MAG_FIRE_DIPPED_HELLFIRE",
"MAG_FROST_FROST_WEAPON",
"MAG_CHARGED_LIGHTNING_LIGHTNING_GREATER_WEAPON",
"MAG_THUNDER_GREATER_THUNDER_WEAPON",
"MAG_NECROTIC_NECROTIC_WEAPON",
"MAG_FORCE_FORCE_WEAPON",
"MAG_GIANT_SLAYER_STRENGTH_BONUS"
}
[ENABLE]
ApplyStatusToWeapon(status)
[DISABLE]
If you just want a high damage melee item you could cheat in the Deva Mace: it does 1d6 bludgeoning + 4d8 radiant on its own.
The other, much more tedious and harder option is creating a mod of your own that overwrites an item in-game with updated stats. You could also download someone else's weapon mod (I recommend Blood of Lathander Re-divined as that already modifies an in-game weapon), unpack it, modify it with whatever weapon you want buffed, then repack the mod and load it onto your mod manager/vortex. If you go this route you will need BG3 modding tools to unpack/repack the .pak file.
For example, here's what the Sickle of BOOOAL's code looks like inside an unpacked Assets.pak @ Gustav/Public/Gustav/Stats/Generated/Data/Weapons.txt:
Code: Select all
new entry "UNI_SickleOfBOOOAL"
type "Weapon"
using "WPN_Sickle_1"
data "RootTemplate" "a07f2e91-e084-4fe5-9dbb-ef7de76a3c0a"
data "ItemGroup" ""
data "Damage" "2d4"
data "ValueUUID" "9b6a4ab2-323b-4030-89ab-030252bb6214"
data "Rarity" "Rare"
data "DefaultBoosts" "WeaponProperty(Magical)"
data "Unique" "1"
You can change the part under "Damage" from "2d4" to, say, "6d8" for a max of 48 damage. Most weapons in the code don't even have their damage listed because they are using that weapon's default damage; only Shattered Flail and Sickle of BOOOAL have different damages listed. As long as you've set everything up right and know what you are doing this option will work, but if you are just stumbling around in the dark and have zero modding experience, I suggest trying the first option.
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1