Hi modders,
First of all, let me say that I'm really (really) new to modding but I have a webdev background so I'm not totally lost around here. Also, please excuse any potential language mistake, I'm not english native.
I've been thinking about creating my own class but to make it look "clean", I would probably have to add a new abilities and from what I understand, there's currently no easy way to do that, so I thought about a probable workaround. If you guys can answer the few following questions by "Yes, you can do that", then adding "fake" new abilities (probably talents too) should be possible.
However, if there are plans that I'm not aware of in a somewhat near future to allow modders to add those in a more "vanilla" way, let me know and don't bother reading what comes next.
As I said, I'm new to the Divinity Engine et and I'm not really aware about everything you can and can't do. So, here are my questions :
1) Can you add UI elements in the "Ability" section? Could you for instance add "Unarmed" to the list of combat abilities after "Dual-Wielding", "Single-Handed", ... ?
2) Can this new ability have a unique ID and a value (a simple integer)?
3) Can you get and set the value of this new UI element through a script?
4) Can you check how many "Ability Points" are not yet assigned and can you set it? (If you can't get the value, it doesn't really matter since we can get this value by doing some boring calculations, the important part is that it has to be settable)
I guess that will be all for now. To make it clearer (hopefully), here what I intend to do :
I want to create a custom Martial Artist class. The character would fight with his fits and kick things. My first thought was to make the class skills scale with Strength or Wits but I needed a way to scale unarmed damage too. A simple solution would have been to give the player a special skill (given through a quest or by an item) behaving like a toggled stance and would increase the player's unarmed attacks passively. This is probably what I'll try to do if the questions above are not answered by "Yes" or "Might be possible".
To go further, I thought about my very own "Unarmed" combat ability. The idea is to add this new Ability by extending the UI and make a script that would control the value of said ability to make it behave like an actual and legit one.
I guess that's it, thanks in advance to anyone helping me answer these questions.