This submission contains two customized 2da files that will allow you to play the game with 34 new cleric domains. These domains were taken from the Forgotten Realm's core setting, but also includes one entirely new domain designed for a the City of Arabel (coa.ender.com) Persistent World. You do not need this file to play on Arabel, it is entirely optional.
Please note, that it will require some editing of your turn undead script done separately to make a few of these domains operate as they should. A full list of the domains and their granted powers is available as a text file.
Text file detailing the new domains and what spells and feats they grant. Please note, Spider, Reptilian, and Ooze domains grant a feat that allows for turning of spiders, reptiles, and oozes--this only will work if you edit the turn undead scripts; this is already done on the City of Arabel world and will not relate to players on this game world.
Posted by Saduj at 2010-07-17 21:52:36 Voted 10.00 on 07/27/12
If it works, sure :)
I have yet to test it, tho if i find any bugs in the turn undead script ill post them here :)
All in all, its a really great script, if i can come up with any additions ill post here.
All in all, I like the fact you use the existing tlk file, i already have a few new additions in mind (like "baator/devil", "celestial" racial gods, etc, but gotta check if can be done hakless.
for example "orc" would be great if you worship gruumush, for example, or "troll" for vaprak, "kobold" for kurtlmak...
Saduj, you mind if I just toss your script into the rest of the package? All credit would go to you for putting it together obviously.
Posted by Saduj at 2010-07-15 15:36:35 Voted 10.00 on 07/27/12
Here's what I came up with for my nw_s2_turndead script (SSE commented out), hope it helps :)
//::///////////////////////////////////////////////
//:: Turn Undead
//:: NW_S2_TurnDead
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Checks domain powers and class to determine
the proper turning abilities of the casting
character.
*/
//:://////////////////////////////////////////////
//:: Created By: Preston Watamaniuk
//:: Created On: Nov 2, 2001
//:: Updated On: Jul 15, 2003 - Georg Zoeller
//:: Modified by: Shayan 20/04/2005
//:://////////////////////////////////////////////
//:: MODIFIED MARCH 5 2003 for Blackguards
//:: MODIFIED JULY 24 2003 for Planar Turning to include turn resistance hd
//:: MODIFIED for Shayans Undead
//:: MODIFIED FOR Custom Domains
// Uncomment for SSE support
//#include "sha_subr_methds"
void main()
{
int nClericLevel = GetLevelByClass(CLASS_TYPE_CLERIC);
int nPaladinLevel = GetLevelByClass(CLASS_TYPE_PALADIN);
int nBlackguardlevel = GetLevelByClass(CLASS_TYPE_BLACKGUARD);
int nTotalLevel = GetHitDice(OBJECT_SELF);
int nTurnLevel = nClericLevel;
int nClassLevel = nClericLevel;
// GZ: Since paladin levels stack when turning, blackguard levels should stack as well
// GZ: but not with the paladin levels (thus else if).
if((nBlackguardlevel - 2) > 0 && (nBlackguardlevel > nPaladinLevel))
{
nClassLevel += (nBlackguardlevel - 2);
nTurnLevel += (nBlackguardlevel - 2);
}
else if((nPaladinLevel - 2) > 0)
{
nClassLevel += (nPaladinLevel -2);
nTurnLevel += (nPaladinLevel - 2);
}
//Flags for bonus turning types
int nElemental = GetHasFeat(FEAT_AIR_DOMAIN_POWER) + GetHasFeat(FEAT_EARTH_DOMAIN_POWER) + GetHasFeat(FEAT_FIRE_DOMAIN_POWER) + GetHasFeat(FEAT_WATER_DOMAIN_POWER);
int nVermin = GetHasFeat(FEAT_PLANT_DOMAIN_POWER);// + GetHasFeat(FEAT_ANIMAL_COMPANION);
int nConstructs = GetHasFeat(FEAT_DESTRUCTION_DOMAIN_POWER);
int nGoodOrEvilDomain = GetHasFeat(FEAT_GOOD_DOMAIN_POWER) + GetHasFeat(FEAT_EVIL_DOMAIN_POWER);
int nPlanar = GetHasFeat(854);
// ----- Custom Domains ----- //
int nChaos = GetHasFeat(1120);
int nLaw = GetHasFeat(1121);
int nOoze = GetHasFeat(1116);
int nReptile = GetHasFeat(1119);
int nSpider = GetHasFeat(1118);
// --- End Custom Domains --- //
//Flag for improved turning ability
int nSun = GetHasFeat(FEAT_SUN_DOMAIN_POWER);
//Make a turning check roll, modify if have the Sun Domain
int nChrMod = GetAbilityModifier(ABILITY_CHARISMA);
int nTurnCheck = d20() + nChrMod; //The roll to apply to the max HD of undead that can be turned --> nTurnLevel
int nTurnHD = d6(2) + nChrMod + nClassLevel; //The number of HD of undead that can be turned.
if(nSun == TRUE)
{
nTurnCheck += d4();
nTurnHD += d6();
}
//Determine the maximum HD of the undead that can be turned.
if(nTurnCheck = 1 && nTurnCheck = 4 && nTurnCheck = 7 && nTurnCheck = 10 && nTurnCheck = 13 && nTurnCheck = 16 && nTurnCheck = 19 && nTurnCheck = 22)
{
nTurnLevel += 4;
}
//Gets all creatures in a 20m radius around the caster and turns them or not. If the creatures
//HD are 1/2 or less of the nClassLevel then the creature is destroyed.
int nCnt = 1;
int nHD, nRacial, nHDCount, bValid, nDamage;
nHDCount = 0;
effect eVis = EffectVisualEffect(VFX_IMP_SUNSTRIKE);
effect eVisTurn = EffectVisualEffect(VFX_DUR_MIND_AFFECTING_FEAR);
effect eDamage;
effect eTurned = EffectTurned();
effect eDur = EffectVisualEffect(VFX_DUR_CESSATE_NEGATIVE);
effect eLink = EffectLinkEffects(eVisTurn, eTurned);
eLink = EffectLinkEffects(eLink, eDur);
//Get nearest enemy within 20m (60ft)
//Why are you using GetNearest instead of GetFirstObjectInShape
object oTarget = GetNearestCreature(CREATURE_TYPE_IS_ALIVE, TRUE , OBJECT_SELF, nCnt,CREATURE_TYPE_PERCEPTION , PERCEPTION_SEEN);
Posted by FallynFyre at 2010-07-15 07:47:03 Voted 10.00 on 07/15/10
Works well, nice addition.
Posted by MamaMaureen at 2010-07-15 07:46:52 Voted 10.00 on 07/15/10
New domains are very cool; I like there is no need for a hak. Keeps the server "new" and offers more incentive to play a cleric of some of the lesser known deities.
Posted by Saduj at 2010-07-12 19:12:59 Voted 10.00 on 07/27/12
Noticed I forgot to Vote :P
If nothing else, some generic icons could be used :)
If you put both files in the override, the new domains will be available to you when create a new character. This works on local modules in single player, or if a third party is hosting the game-they must have the files in their override as well.