Page 1 of 1

Change levels table and so on

Posted: Thu Nov 23, 2023 11:11 am
by Hiker
I don’t see a Q&A here, so I’ll ask here: is it possible to change the table of experience levels, how many points to give out when you gain a level and the like? If not, is it possible to add a script that changes what is needed when each character gains a level?

Re: Change levels table and so on

Posted: Thu Nov 23, 2023 4:09 pm
by AkiMatti
I have to say I don't know but I would be interested to know the answer also.

Re: Change levels table and so on

Posted: Fri Nov 24, 2023 4:47 pm
by Hiker
AkiMatti wrote: Thu Nov 23, 2023 4:09 pm I have to say I don't know but I would be interested to know the answer also.
I looked at the Dungeon Master remake and I think that most likely this is impossible - it was left there as is, but it does not correspond to the requirements of the original game, they would definitely redo it.

But maybe it would be possible to attach a script to the character gaining a level?

Re: Change levels table and so on

Posted: Sat Nov 25, 2023 4:07 am
by minmay
The Party.onLevelUp hook is called whenever a champion levels up, and is a convenient way to give them more or fewer skill points or health or energy or whatever else you want.

Changing the amount of experience required for a level up isn't supported, but can be accomplished anyway with some hacks, involving changing math.pow and carefully detecting when the player loads a different dungeon. Consider whether you really need this.

Re: Change levels table and so on

Posted: Sun Jan 07, 2024 7:03 pm
by Hiker
minmay wrote: Sat Nov 25, 2023 4:07 am The Party.onLevelUp hook is called whenever a champion levels up, and is a convenient way to give them more or fewer skill points or health or energy or whatever else you want.
Thank you!

Where can I read about the use of hooks?
And one more thing: is it possible to change the image size of an item in the inventory(inside the cell) by changing something in its description or do you need to change the texture?