Added Medium Viper animal companion.
Added Medium Viper animal companion.
This commit is contained in:
BIN
nwnds_module/CR_BITE_VIPER001.uti
Normal file
BIN
nwnds_module/CR_BITE_VIPER001.uti
Normal file
Binary file not shown.
Binary file not shown.
BIN
nwnds_module/cr_bite_viper002.uti
Normal file
BIN
nwnds_module/cr_bite_viper002.uti
Normal file
Binary file not shown.
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper01.utc
Normal file
BIN
nwnds_module/ds_ac_mviper01.utc
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper02.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper02.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper03.utc
Normal file
BIN
nwnds_module/ds_ac_mviper03.utc
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper04.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper04.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper05.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper05.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper06.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper06.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper07.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper07.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper08.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper08.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper09.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper09.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper10.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper10.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper11.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper11.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper12.utc
Normal file
BIN
nwnds_module/ds_ac_mviper12.utc
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper13.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper13.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper14.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper14.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper15.utc
Normal file
BIN
nwnds_module/ds_ac_mviper15.utc
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper16.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper16.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper17.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper17.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper18.utc
Normal file
BIN
nwnds_module/ds_ac_mviper18.utc
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper19.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper19.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper20.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper20.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper21.utc
Normal file
BIN
nwnds_module/ds_ac_mviper21.utc
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper22.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper22.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper23.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper23.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper24.utc
Normal file
BIN
nwnds_module/ds_ac_mviper24.utc
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper25.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper25.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper26.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper26.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper27.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper27.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper28.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper28.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper29.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper29.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper30.utc
Normal file
BIN
nwnds_module/ds_ac_mviper30.utc
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper31.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper31.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper32.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper32.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper33.utc
Normal file
BIN
nwnds_module/ds_ac_mviper33.utc
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper34.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper34.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper35.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper35.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper36.utc
Normal file
BIN
nwnds_module/ds_ac_mviper36.utc
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper37.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper37.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper38.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper38.UTC
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper39.utc
Normal file
BIN
nwnds_module/ds_ac_mviper39.utc
Normal file
Binary file not shown.
BIN
nwnds_module/ds_ac_mviper40.UTC
Normal file
BIN
nwnds_module/ds_ac_mviper40.UTC
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
nwnds_module/ds_des_viper002.utc
Normal file
BIN
nwnds_module/ds_des_viper002.utc
Normal file
Binary file not shown.
BIN
nwnds_module/ds_rnd_armor_inc.ncs
Normal file
BIN
nwnds_module/ds_rnd_armor_inc.ncs
Normal file
Binary file not shown.
96
nwnds_module/ds_rnd_armor_inc.nss
Normal file
96
nwnds_module/ds_rnd_armor_inc.nss
Normal file
@@ -0,0 +1,96 @@
|
||||
//
|
||||
// NWN Dark Sun Random Armor Include
|
||||
//
|
||||
// By: Jaysyn
|
||||
//
|
||||
|
||||
// Test VOID
|
||||
//void main(){}
|
||||
|
||||
void RndDwarfGuardArmor(object oPC)
|
||||
{
|
||||
//Randomizes Armor
|
||||
|
||||
int nResult = d6(1);
|
||||
int nStackSize = 1; // Create 1 items;
|
||||
|
||||
object oArmor;
|
||||
|
||||
string sItem;
|
||||
|
||||
if (nResult == 1)
|
||||
{
|
||||
sItem = "AR_ALTSL_BONE01";
|
||||
}
|
||||
else if(nResult == 2)
|
||||
{
|
||||
sItem = "AR_ALTSL_IVORY";
|
||||
}
|
||||
else if(nResult == 3)
|
||||
{
|
||||
sItem = "DS_AMDBP_KLED001";
|
||||
}
|
||||
else if(nResult ==4)
|
||||
{
|
||||
sItem = "AR_ALTLT_MEKILOT";
|
||||
}
|
||||
else if(nResult == 5)
|
||||
{
|
||||
sItem = "DS_AMDBP_KLED002";
|
||||
}
|
||||
else
|
||||
sItem = "DS_AMDBP_KLED003";
|
||||
|
||||
CreateItemOnObject(sItem, OBJECT_SELF, nStackSize);
|
||||
|
||||
AssignCommand(OBJECT_SELF, ActionEquipMostEffectiveArmor());
|
||||
|
||||
// Loop the object's inventory and equip the first
|
||||
object oItem = GetFirstItemInInventory(OBJECT_SELF);
|
||||
while(GetIsObjectValid(oItem))
|
||||
{
|
||||
// Check if armor, of course
|
||||
if(GetBaseItemType(oItem) == BASE_ITEM_ARMOR)
|
||||
{
|
||||
// Equip it and stop the script
|
||||
AssignCommand(OBJECT_SELF, ActionEquipItem(oItem, INVENTORY_SLOT_CHEST));
|
||||
return;
|
||||
}
|
||||
|
||||
oItem = GetNextItemInInventory(OBJECT_SELF);
|
||||
}
|
||||
DelayCommand(3.5f, ActionEquipMostEffectiveArmor());
|
||||
}
|
||||
|
||||
void GuardArmor(object oPC)
|
||||
{
|
||||
//Randomizes Armor
|
||||
int nResult = d6(1);
|
||||
object oArmor;
|
||||
string sItem;
|
||||
if (nResult == 1)
|
||||
{
|
||||
sItem = "AR_ALTSL_BONE01";
|
||||
}
|
||||
else if(nResult == 2)
|
||||
{
|
||||
sItem = "AR_ALTSL_IVORY";
|
||||
}
|
||||
else if(nResult == 3)
|
||||
{
|
||||
sItem = "AR_ALTLT_LEATHER";
|
||||
}
|
||||
else if(nResult ==4)
|
||||
{
|
||||
sItem = "AR_ALTLT_MEKILOT";
|
||||
}
|
||||
else if(nResult == 5)
|
||||
{
|
||||
sItem = "AR_ALTPD_CLOTH01";
|
||||
}
|
||||
else
|
||||
sItem = "AR_ACLCL_HARNESS";
|
||||
|
||||
DelayCommand(3.0, ActionEquipItem(CreateItemOnObject(sItem), INVENTORY_SLOT_CHEST));
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -40,6 +40,7 @@ const int EVENT_USER_DEFINED_POSTSPAWN = 1511;
|
||||
#include "ms_name_inc"
|
||||
#include "NW_O2_CONINCLUDE"
|
||||
#include "x2_inc_switches"
|
||||
#include "ds_rnd_armor_inc"
|
||||
|
||||
void main()
|
||||
{
|
||||
@@ -49,34 +50,7 @@ void main()
|
||||
// User defined OnSpawn event requested?
|
||||
int nSpecEvent = GetLocalInt(OBJECT_SELF,"X2_USERDEFINED_ONSPAWN_EVENTS");
|
||||
|
||||
//Randomizes Armor
|
||||
int nResult = d6(1);
|
||||
object oArmor;
|
||||
string sItem;
|
||||
if (nResult == 1)
|
||||
{
|
||||
sItem = "AR_ALTSL_BONE01";
|
||||
}
|
||||
else if(nResult == 2)
|
||||
{
|
||||
sItem = "AR_ALTSL_IVORY";
|
||||
}
|
||||
else if(nResult == 3)
|
||||
{
|
||||
sItem = "AR_ALTLT_LEATHER";
|
||||
}
|
||||
else if(nResult ==4)
|
||||
{
|
||||
sItem = "AR_ALTLT_MEKILOT";
|
||||
}
|
||||
else if(nResult == 5)
|
||||
{
|
||||
sItem = "AR_ALTPD_CLOTH01";
|
||||
}
|
||||
else
|
||||
sItem = "AR_ACLCL_HARNESS";
|
||||
|
||||
DelayCommand(3.0, ActionEquipItem(CreateItemOnObject(sItem), INVENTORY_SLOT_CHEST));
|
||||
|
||||
|
||||
// Pre Spawn Event requested
|
||||
@@ -412,9 +386,12 @@ void main()
|
||||
nHairColor = Random(15);
|
||||
SetColor(OBJECT_SELF, COLOR_CHANNEL_HAIR, nHairColor);
|
||||
|
||||
//Calls the Random Name Generator
|
||||
//Calls the Random Name Generator
|
||||
ms_Nomenclature(OBJECT_SELF);
|
||||
|
||||
// Randomize Armor
|
||||
GuardArmor(OBJECT_SELF);
|
||||
|
||||
|
||||
SetLocalInt(OBJECT_SELF, "iDialogue", Random(10) + 1);
|
||||
//SetLocalString(OBJECT_SELF, "sName", RandomName());
|
||||
|
||||
Binary file not shown.
@@ -40,10 +40,13 @@ const int EVENT_USER_DEFINED_POSTSPAWN = 1511;
|
||||
#include "ms_name_inc"
|
||||
#include "NW_O2_CONINCLUDE"
|
||||
#include "x2_inc_switches"
|
||||
#include "ds_rnd_armor_inc"
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
string sTag;
|
||||
object oPC = OBJECT_SELF;
|
||||
object oNPC;
|
||||
ExecuteScript("prc_npc_spawn", OBJECT_SELF);
|
||||
// User defined OnSpawn event requested?
|
||||
@@ -391,37 +394,12 @@ void main()
|
||||
nTattoo2 = Random(15);
|
||||
SetColor(OBJECT_SELF, COLOR_CHANNEL_TATTOO_2, nTattoo2);
|
||||
|
||||
//Randomizes Armor
|
||||
RndDwarfGuardArmor(OBJECT_SELF);
|
||||
|
||||
//Calls the Random Name Generator
|
||||
ms_Nomenclature(OBJECT_SELF);
|
||||
|
||||
//Randomizes Armor
|
||||
int nResult = d6(1);
|
||||
object oArmor;
|
||||
string sItem;
|
||||
if (nResult == 1)
|
||||
{
|
||||
sItem = "AR_ALTSL_BONE01";
|
||||
}
|
||||
else if(nResult == 2)
|
||||
{
|
||||
sItem = "AR_ALTSL_IVORY";
|
||||
}
|
||||
else if(nResult == 3)
|
||||
{
|
||||
sItem = "DS_AMDBP_KLED001";
|
||||
}
|
||||
else if(nResult ==4)
|
||||
{
|
||||
sItem = "AR_ALTLT_MEKILOT";
|
||||
}
|
||||
else if(nResult == 5)
|
||||
{
|
||||
sItem = "DS_AMDBP_KLED002";
|
||||
}
|
||||
else
|
||||
sItem = "DS_AMDBP_KLED003";
|
||||
|
||||
DelayCommand(1.0, ActionEquipItem(CreateItemOnObject(sItem), INVENTORY_SLOT_CHEST));
|
||||
|
||||
|
||||
SetLocalInt(OBJECT_SELF, "iDialogue", Random(10) + 1);
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
nwnds_module/itempal.itp
Normal file
BIN
nwnds_module/itempal.itp
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
nwnds_module/placeablepal.itp
Normal file
BIN
nwnds_module/placeablepal.itp
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -10,6 +10,7 @@
|
||||
//:: Created On: June 11/03
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
ExecuteScript("prc_npc_hb", OBJECT_SELF);
|
||||
|
||||
Reference in New Issue
Block a user