Morrowind
0 of 0

File information

Last updated

Original upload

Created by

lelimule

Uploaded by

lelimule

Virus scan

Safe to use

Tags for this mod

About this mod

In Morrowind, wildlife creatures can attack player, but not NPCs. This isn't realistic. This mod correct that.

Requirements
Permissions and credits
Changelogs
Depending of your OpenMW version, be aware of this:


If you use an OpenMW 0.49 version >= april 2024 (commit a7c62972), the mod will use a new OpenMW feature to get the fight value of the creatures.
But, because some lua mod aren't updated to the recent OpenMW 0.49 versions, some lua mods may have problems with recent OpenMW 0.49 versions (these latest have breaking changes).


If you use an OpenMW 0.49 version < april 2024, the mod will use a kind of "rustic" mechanism to get the fight value of the creatures: I have to attach a mwscript to each kind of wildlife creatures. But some already have a mwscript attached. So for the latter, i can't get the fight value in live, i must use preset values. It's not ideal, but it's good enough. (open the wildlife.lua file, you will see the presets, and you will better understand)
So this mod is compatible also with older OpenMW versions (but perhaps not too old...).
Of course, due to my mwscript attached to some wildlife creatures, this rustic mechanism isn't compatible with a possible mod who attach a mwscript to one (or more) of these creatures (ID):
"alit"
"bm_bear_black"
"bm_bear_brown"
"bm_frost_boar"
"bm_wolf_grey"
"bm_wolf_grey_lvl_1"
"bm_wolf_red"
"cliff racer"
"dreugh"
"guar"
"guar_feral"
"guar_pack"
"kagouti"
"kagouti_mating"
"kwama forager"
"kwama warrior"
"kwama worker"
"kwama worker entrance"
"mudcrab"
"mudcrab_hrmudcrabnest"
"netch_betty"
"netch_bull"
"nix-hound"
"rat"
"rat_cave_fgrh"
"rat_cave_fgt"
"scrib"
"shalk"
"slaughterfish"
"slaughterfish_small"


-----------------------------------------------------------
At the time of writing (april, 13), I would recommend OpenMW 0.49 commit 231b5753 (march, 5) to use popular lua mods.


Recommanded mod(s): passive wildlife mod(s) (example: Friendlier Fauna + More Passive Wildlife) (if you use More Passive Wildlife, i have already made a template for older OpenMW versions...)


Installation: you have to tick wildlife_attacks_npc.omwscripts, and, if  you use an OpenMW 0.49 version < april 2024, you have to use wildlife_getfight.esp also.


If you want to add (or remove) some wildlife creatures in my mod wildlife list, or if you want to blacklist some NPCs (from wildlife attacks) you can easily edit the lua file. Look in the file, and read my explanations...

Credits to kuyondo for his Protective Guards mod; his mod give me elements to make this one.
Credits also to the OpenMW community on the Discord OpenMW lua channel.