In Morrowind, wildlife creatures can attack player, but not NPCs. This isn't realistic. This mod correct that.
Requirements
DLC requirements
DLC name
Bloodmoon
Tribunal
Permissions and credits
Credits and distribution permission
Other user's assetsSome assets in this file belong to other authors. You will need to seek permission from these authors before you can use their assets
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features without permission from or credit to me
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
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.
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.9
Little correction to remove a possible code error (when there is no NPC around)
An up to date (2024-11-12) default blacklist is now integrated
Version 1.8
ai package detection improvement (for "Unknown" type)
Version 1.7
Bug correction: better distance (distToNPC) check (thanks to mym)
Version 1.6
Bug correction (ai package detection) (thanks to mym)
Version 1.5
Bug correction (ai package detection)
Version 1.4.1
Little bug correction (ai package detection)
Version 1.4
Optionnal NPCs blacklist added
Version 1.3.1
Code improvement. Thanks to mym.
Version 1.3
Correction: now wildlife creatures don't change combat target (unless attacked)
Version 1.2
- Improvement: stop combat with player if too far (like with NPCs)
- Code improvement
Version 1.1.1
Little code improvement (perf)
Version 1.1
- Add the new OpenMW feature to get the fight value (for recent OpenMW 0.49 builds)
- Code improvement for users of older OpenMW builds
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 (EDIT: had?) 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 (2024 april, 13), I would recommend OpenMW 0.49 commit 231b5753 (march, 5) to use popular lua mods.
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 wildlife.lua file. Look in the file, and read my explanations... And see a blacklist suggestion in the post tab...
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.