--
Edit: Of course, I should post the solution. Thanks to users on the Discord, Greatness7 especially, it was much easier to get working scripts. Here's the script which will modify the levels of NPCs with a level below 20, with a bit of randomization so the levels will be changed to a number between 16-24 inclusive.
As you can see, this makes much more sense than the example scripts that were kicking around.
---
Now that TES3MP is due an update any day now, I've turned to modding Morrowind, with plenty of experience with the newer Elder Scrolls and Fallout games. Cut my teeth on making TES5Edit scripts in Delphi to automate inhumane amounts of work. But there is a problem; there's no real documentation nor any meaningful amount of well-commented example Perl scripts. Since Tamriel Rebuilt is a must-have, I'd like to automate changes to both the base Morrowind game, as well as this mod.
The closest I've found to a well documented example, was this: http://abitoftaste.altervista.org/morrowind/index.php?option=content&task=view&id=81&catid=45&Itemid=10&-Morrowind-modding-for-smarties-part-9-tes3cmd-to-the-people
But I need a wee bit more info for that. Figured this forum would be the best place to ask, since it's one of the oldest still-alive communities for morrowind mod development.
What I'm aiming to do, is raise the level of all NPCs to 20, adjusting their stats depending on their class, and have some classes give an even higher level boost also dependent on their class. But, sadly, no documentation. This is what I've got so far:
Yeah it's not much, since I'm already at a roadblock. I now want to check against the current NPC's level. Using this part of a script as reference:
How do I find the names of the flags and data, that TES3CMD has given them? is_interior is a flag that's not present in the Construction set, so I'm left being very ignorant.
2014-03-16 17:45
1 year 11 months ago
Help for this was found on the modding discord server