jmelesky / omwllf

OpenMW leveled list fixer
ISC License
39 stars 9 forks source link

Proposal to add a "delevel" functionality #12

Open zuzaman opened 3 years ago

zuzaman commented 3 years ago

In the last days I have found out that there are "delevel" scripts available via the tes3cmd that go through the loaded vanilla Morrowind plugin files and create a patch .esp that combines all levelled lists and edit each entry in a way that they can appear from the 1st level onwards already. This results in less predictability and, for the first levels, may make the game less predictable due to stronger enemies and better loot items.

I wanted to try out this function, but on the other hand was not sure how these tools can work on .omwaddon files, so I edited OMWLLF to include this functionality: first with a single parameter to delevel both items and creatures, then also 2 additionally to only delevel either the items or the creatures.

I would propose merging this functionality into the original file, with all 3 additional parameters, in case you find it useful:

All of these are saved in a dictionary and are lugged around into the main and the dumplists function as well in order to make some boolean checks possible. Based on the results, a modified parseLEV is ran either with the original functionality or with the modified part that add the level as "1" for the entries.

What do you think?