Credit goes to Davoodinator for this mod. I just pulled it out of DAIL as a stand-alone for use in vanilla or other mods.
NAS will display a message on your screen when a nemesis is nearby. I’m not really sure the range as I have not played with this feature much. It’s a simple script edit to include a message when the game spawns the entity.
Example: (Notice the addition of the UI.Notify command)
function gd.nemesis.aetherialNemesisOnAddToWorld(objectId)
if Server then
local player = Game.GetLocalPlayer()
if (player:GetFaction("AETHERIALS") == -20000 && aetherialSpawned == false && aetherialChestDestroyed == false) then
UI.Notify("DAIL_NEMESIS_AETHERIAL");
aetherialSpawned = true
monsterId = objectId
local totalNemesis = table.getn(aetherialNemesisDBRs)
local coords = Entity.Get(objectId):GetCoords()
math.randomseed(Time.Now())
local randomizer = random(1,totalNemesis)
local spawn = Character.Create (aetherialNemesisDBRs[randomizer], CharacterCreateArgs())
spawn:SetCoords(coords)
end
end
end
For use in vanilla, locate grim dawn/resources and back-up scripts.arc and text_en.arc. Unzip Nemdar.7z and place the modified scripts.arc and text_en.arc in grim dawn/resources.
For use with a mod, the source tag file and _nemesis.lua file are included. Assets for the two files will need generated.