Search found 9 matches
- Wed Jul 24, 2024 4:18 pm
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3990
- Views: 3405781
Re: Ask a simple question, get a simple answer
The fact of the matter is that any container created using a script will be filled with items with random properties as specified in their onInit, but if you just put it in dungeon.lua as stated above, then it will not be random. Okay, I can use this for my own purposes, but then how can I script an...
- Wed Jul 24, 2024 8:50 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3990
- Views: 3405781
Re: Ask a simple question, get a simple answer
Hmm... I don't know. Apparently the hook only works when an object is created on the map. When an object is placed in a container, it is removed from the map. This means that the hook is not called during creation since the object is not on the map. The point is that we first create something, and ...
- Fri Jul 19, 2024 7:23 pm
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3990
- Views: 3405781
Re: Ask a simple question, get a simple answer
Yes, thanks, onInit does allow you to create random objects, but for some reason if they are placed in containers on the map it does not work. However, if you put them in a script, then everything is ок - why? Are there any conditions under which onInit does not execute?
- Tue Jul 02, 2024 10:24 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3990
- Views: 3405781
Re: Ask a simple question, get a simple answer
I wonder if it’s possible to set random properties when defining objects? For example, immediately identify food with random nutrition? Clearly, we are talking about making each object random.
- Sun Jan 07, 2024 7:03 pm
- Forum: Modding
- Topic: Change levels table and so on
- Replies: 4
- Views: 3941
Re: Change levels table and so on
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...
- Fri Nov 24, 2023 4:47 pm
- Forum: Modding
- Topic: Change levels table and so on
- Replies: 4
- Views: 3941
Re: Change levels table and so on
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 mayb...
- Thu Nov 23, 2023 11:44 am
- Forum: Custom Dungeons
- Topic: [MOD] Call Of House Hardabar
- Replies: 1006
- Views: 306031
Re: [MOD] Call Of House Hardabar
Is there any video walkthrough of the mod? I got stuck at the very beginning - I opened the baths, but it’s not clear what to do next.
- Thu Nov 23, 2023 11:11 am
- Forum: Modding
- Topic: Change levels table and so on
- Replies: 4
- Views: 3941
Change levels table and so on
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?
- Sun Nov 19, 2023 1:49 pm
- Forum: Modding
- Topic: [MOD] Forbidden Halls
- Replies: 391
- Views: 472371
Re: [MOD] Forbidden Halls
You need to move forward and defeat the tentacles - press the lever and everything will stop.Patryanreno wrote: ↑Sun Jun 04, 2023 11:44 am I am stuck on level 2 where the iegions keep re spawning any help as to stop? placed 3 torches in holders but no result?