Spawner & Overhaul pass.

Added: Reforged, Undead Redux 2, Goblin, Ogre & Orc override content.  Updated appearance & placeables 2DA files to EE.  Added NPC spawners for Goldeyes, Paladins, Town Guards.  Added functionality to the mob randomizer.
This commit is contained in:
Jaysyn904
2021-09-04 14:36:27 -04:00
parent d0d52fb1d0
commit 732d63e1f3
5027 changed files with 435172 additions and 28773 deletions

View File

@@ -0,0 +1,52 @@
//::///////////////////////////////////////////////
//:: Default:On Death
//:: NW_C2_DEFAULT7
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Shouts to allies that they have been killed
*/
//:://////////////////////////////////////////////
//:: Created By: Preston Watamaniuk
//:: Created On: Oct 25, 2001
//:://////////////////////////////////////////////
#include "NW_I0_GENERIC"
#include "lib_respawn"
void main()
{
object oKiller = GetLastKiller();
object oArea=GetArea(oKiller);
object oWorm=GetLocalObject(oArea, "Worm");
location lWhere=GetLocation(oWorm);
if (!GetIsPC(oKiller)) return;
if(!GetIsObjectValid(GetAreaFromLocation(lWhere))) lWhere=GetLocalLocation(oKiller, "WormReturn");
if(d20()+GetAbilityModifier(ABILITY_STRENGTH, oKiller)>=20)
{
SendMessageToPC(oKiller, "You manage to break through the worm's stomach lining and escape");
AssignCommand(oKiller, ClearAllActions());
AssignCommand(oKiller, JumpToLocation(lWhere));
}
//Added by Mr. Nathan
RespawnCreature(OBJECT_SELF, 30);
//^^^^^^^^^^^^^^^^^^
SpeakString("NW_I_AM_DEAD", TALKVOLUME_SILENT_TALK);
//Shout Attack my target, only works with the On Spawn In setup
SpeakString("NW_ATTACK_MY_TARGET", TALKVOLUME_SILENT_TALK);
if(GetSpawnInCondition(NW_FLAG_DEATH_EVENT))
{
SignalEvent(OBJECT_SELF, EventUserDefined(1007));
}
}