User Tools

Site Tools


en:modulebuilding:progresssystem

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:modulebuilding:progresssystem [2025/11/12 19:54] shadooowen:modulebuilding:progresssystem [2025/11/12 19:55] (current) shadooow
Line 9: Line 9:
 **4.** Add a variable PROGRESS_MINIMUM integer X to any door that you want to be checking player's progress, where X is percentual progress acquired thorought the dungeon. This is typically door leading to dungeon boss, but it can be added on multiple doors in dungeon with different values. Recommended value is 80 to give players some room to skip something as it theoretically could happen that some spawn won't spawn at all, or they disconnect and their party clears it while they aren't present, etc. **4.** Add a variable PROGRESS_MINIMUM integer X to any door that you want to be checking player's progress, where X is percentual progress acquired thorought the dungeon. This is typically door leading to dungeon boss, but it can be added on multiple doors in dungeon with different values. Recommended value is 80 to give players some room to skip something as it theoretically could happen that some spawn won't spawn at all, or they disconnect and their party clears it while they aren't present, etc.
 {{:en:modulebuilding:minimumprogress.png?400|}} {{:en:modulebuilding:minimumprogress.png?400|}}
-**5.** An entrance to the dungeon needs to have script **//sh_resetprogress//** in OnAreaTransitionClick event.+**5.** An entrance to the dungeon needs to have script **//sh_resetprogress//** in OnAreaTransitionClick event. In case it is an area transition trigger then in the OnEnter event as well.
 {{:en:modulebuilding:resetprogress.png?400|}} {{:en:modulebuilding:resetprogress.png?400|}}
  
 Dungeon doesn't have to have same progress in all areas. I think it is better that way, especially for players considering how the percentages works, but if you want you can have a different progress in each dungeon area. In that case each area needs different resref and its own spawn count plus doors with minimum progress. In such design entrance to each dungeon area needs the script to reset progress. Dungeon doesn't have to have same progress in all areas. I think it is better that way, especially for players considering how the percentages works, but if you want you can have a different progress in each dungeon area. In that case each area needs different resref and its own spawn count plus doors with minimum progress. In such design entrance to each dungeon area needs the script to reset progress.
en/modulebuilding/progresssystem.txt · Last modified: 2025/11/12 19:55 by shadooow