Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Oct 2015
T
teebird Offline OP
stranger
OP Offline
stranger
T
Joined: Oct 2015
I was hoping to add some additional skills to the game that used some logic in calculating their effects at run time. Specifically what I have in mind right now is to add an if check for damage multiplier that would increase the damage of melee magic abilities if a user is not using a shield (or perhaps if both hands are unarmed). I don't see an obvious way to add scripts to skill, but I did see some if statements in a few of the existing skills. Is the expectation to simply right the if statement in on the damage multiplier section, and if so, how am I supposed to know what things I can get access to in an if statement?

Also, is there anyway to mod that would use actual code? It's always far easier to mod things with access to actual code in an editor that will give you code completion and navigation so I can more easily discover my options.

Joined: Aug 2014
old hand
Offline
old hand
Joined: Aug 2014
I suggest you download my bard mod and extract it with the pak extractor and see what I've done for scripting skills.

https://www.nexusmods.com/divinityoriginalsin2/mods/3/?

https://docs.larian.game/Pak_Extractor_Guide

Unfortunately what you want to do is rather difficult. I doubt damage can take an IF check in itself in the skill editor, and even using real scripts doesn't make that easy. Moreover, I'm not sure if it's possible to check that a character is unarmed, which is something many people have requested.

You can also see some stuff about skill creation here: https://docs.larian.game/Skill_creation

Joined: Oct 2015
T
teebird Offline OP
stranger
OP Offline
stranger
T
Joined: Oct 2015
Thanks, I probably just won't bother with modding then. Currently I can't figure out even the most basics. When attempting to override a skill in my editor it actually just re-sets my skill file to being empty. When I attempt to play in the sandbox my overrides when input manually in the xml file are completely ignored. I enjoy programming and I enjoy modding, but if I can't even manage to get the game to take tweaks to cooldowns and damage types for existing skills I am not going to bother with this. Everything about modding skills and data in this game seems very opaque.


Moderated by  Larian_KVN 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5