Wall3t
March 7, 2018, 3:35am
1
I posted what i think is the closest i could find to the set appearance line in perhaps someone could help point this in the right direction.
Id like to know if anyone uses this system:
https://neverwintervault.org/project/nwn1/script/orsv51-olanders-realistic-systems
I’ve been using it for over a year now but ran into a problem with both the base test module and my own where the summons appear as an basic dwarf model. What is this and why do they keep showing up this way?
I don’t remember what that does for summonses although at one point I looked through it. But it sounds like it’s using an uninitialized variable for the appearance being set for the summon. I’d try to find the modified summons code and look for a
SetCreatureAppearanceType call. Then you can see what the system is expecting.
Wall3t
March 7, 2018, 4:35pm
3
I know that there is documentation and a tutorial, but the problem is it only vaguely mentions summons and simply what it is that olander used.
There was a mention of a specific script file (i think) but that file is not included in his temp script folder, or in the test module either (my guess is the documentation is outdated)
kamal
March 7, 2018, 8:32pm
4
If a SetAppearance fails, it defaults to the first appearance, which is dwarf.
Wall3t
March 8, 2018, 6:26am
5
so first and foremost thanks for all the replies so far. however I haven’t been able locate the setapperance line anywhere would anyone have a clue where i could search for it? ive looked into the core summon files that Olander modified (nothing) the spellhook (nothing) and nothing struck out as a possible appearance changer script
its very weird, ive used this system before and NEVER had this problem before…
Wall3t
March 8, 2018, 6:56am
6
So sorry ahead of time if this looks messy or really big. This is the closest i could find regarding summons in the test module:
case SPELL_SUMMON_CREATURE_I:
case SPELL_SUMMON_CREATURE_II:
case SPELL_SUMMON_CREATURE_III:
case SPELL_SUMMON_CREATURE_IV:
case SPELL_SUMMON_CREATURE_V:
case SPELL_SUMMON_CREATURE_VI:
case SPELL_SUMMON_CREATURE_VII:
case SPELL_SUMMON_CREATURE_VIII:
case SPELL_SUMMON_CREATURE_IX:
{
//Module Config
if(GetLocalInt(oMod,"ISUM") != 1) break;
//Only For Players.
if(!GetIsPC(OBJECT_SELF)) break;
// Creature constants
string sSummon = "";
//Racial
int nRace = GetRacialType(OBJECT_SELF);
string sSubRace = GetSubRace(OBJECT_SELF);
//Dwarf
if(nRace == RACIAL_TYPE_DWARF)
{
if(nSpell==SPELL_SUMMON_CREATURE_I){sSummon = "sum_darbalest";}
else if(nSpell==SPELL_SUMMON_CREATURE_II){sSummon = "sum_darbalest";}
else if(nSpell==SPELL_SUMMON_CREATURE_III){sSummon = "sum_darbalest";}
else if(nSpell==SPELL_SUMMON_CREATURE_IV){sSummon = "sum_dbattlerager";}
else if(nSpell==SPELL_SUMMON_CREATURE_V){sSummon = "sum_dbattlerager";}
else if(nSpell==SPELL_SUMMON_CREATURE_VI){sSummon = "sum_dbattlerager";}
else if(nSpell==SPELL_SUMMON_CREATURE_VII){sSummon = "sum_dstalwart";}
else if(nSpell==SPELL_SUMMON_CREATURE_VIII){sSummon = "sum_dstalwart";}
else {sSummon = "sum_dstalwart";}
}
//Silvan
else if(sSubRace == "Silvan Edhel")
{
if(nSpell==SPELL_SUMMON_CREATURE_I){sSummon = "sum_silvanbowman";}
else if(nSpell==SPELL_SUMMON_CREATURE_II){sSummon = "sum_silvanbowman";}
else if(nSpell==SPELL_SUMMON_CREATURE_III){sSummon = "sum_silvanbowman";}
else if(nSpell==SPELL_SUMMON_CREATURE_IV){sSummon = "sum_silvanbowman";}
else if(nSpell==SPELL_SUMMON_CREATURE_V){sSummon = "sum_silvanbowman";}
else if(nSpell==SPELL_SUMMON_CREATURE_VI){sSummon = "sum_silvanbowman";}
else if(nSpell==SPELL_SUMMON_CREATURE_VII){sSummon = "sum_silvanbowman";}
else if(nSpell==SPELL_SUMMON_CREATURE_VIII){sSummon = "sum_silvanmage";}
else {sSummon = "sum_silvanmage";}
}
//Sindar
else if(sSubRace == "Sindar Edhel")
{
if(nSpell==SPELL_SUMMON_CREATURE_I){sSummon = "sum_imladrisarch";}
else if(nSpell==SPELL_SUMMON_CREATURE_II){sSummon = "sum_imladrisarch";}
else if(nSpell==SPELL_SUMMON_CREATURE_III){sSummon = "sum_imladrisarch";}
else if(nSpell==SPELL_SUMMON_CREATURE_IV){sSummon = "sum_imladriswarr";}
else if(nSpell==SPELL_SUMMON_CREATURE_V){sSummon = "sum_imladriswarr";}
else if(nSpell==SPELL_SUMMON_CREATURE_VI){sSummon = "sum_imladriswarr";}
else if(nSpell==SPELL_SUMMON_CREATURE_VII){sSummon = "sum_forvenarcher";}
else if(nSpell==SPELL_SUMMON_CREATURE_VIII){sSummon = "sum_forvenarcher";}
else {sSummon = "sum_sindarmage";}
}
//Arthedain
if(sSubRace == "Arthedain")
{
if(nSpell==SPELL_SUMMON_CREATURE_I){sSummon = "sum_arthedainarc";}
else if(nSpell==SPELL_SUMMON_CREATURE_II){sSummon = "sum_arthedainarc";}
else if(nSpell==SPELL_SUMMON_CREATURE_III){sSummon = "sum_arthedainarc";}
else if(nSpell==SPELL_SUMMON_CREATURE_IV){sSummon = "sum_arthedainfoo";}
else if(nSpell==SPELL_SUMMON_CREATURE_V){sSummon = "sum_arthedainfoo";}
else if(nSpell==SPELL_SUMMON_CREATURE_VI){sSummon = "sum_arthedainfoo";}
else if(nSpell==SPELL_SUMMON_CREATURE_VII){sSummon = "sum_arthedainsol";}
else if(nSpell==SPELL_SUMMON_CREATURE_VIII){sSummon = "sum_arthedainsol";}
else {sSummon = "sum_arthedainsol";}
}
//Dunedain
if(sSubRace == "Dunedain")
{
if(nSpell==SPELL_SUMMON_CREATURE_I){sSummon = "sum_arthedainarc";}
else if(nSpell==SPELL_SUMMON_CREATURE_II){sSummon = "sum_arthedainarc";}
else if(nSpell==SPELL_SUMMON_CREATURE_III){sSummon = "sum_arthedainarc";}
else if(nSpell==SPELL_SUMMON_CREATURE_IV){sSummon = "sum_arthedainfoo";}
else if(nSpell==SPELL_SUMMON_CREATURE_V){sSummon = "sum_arthedainfoo";}
else if(nSpell==SPELL_SUMMON_CREATURE_VI){sSummon = "sum_arthedainfoo";}
else if(nSpell==SPELL_SUMMON_CREATURE_VII){sSummon = "sum_arthedainsol";}
else if(nSpell==SPELL_SUMMON_CREATURE_VIII){sSummon = "sum_arthedainsol";}
else {sSummon = "sum_arthedainsol";}
}
//Dunlending
if(sSubRace == "Dunlending")
{
if(nSpell==SPELL_SUMMON_CREATURE_I){sSummon = "me_summdun1";}
else if(nSpell==SPELL_SUMMON_CREATURE_II){sSummon = "me_summdun1";}
else if(nSpell==SPELL_SUMMON_CREATURE_III){sSummon = "me_summdun2";}
else if(nSpell==SPELL_SUMMON_CREATURE_IV){sSummon = "me_summdun2";}
else if(nSpell==SPELL_SUMMON_CREATURE_V){sSummon = "me_summdun2";}
else if(nSpell==SPELL_SUMMON_CREATURE_VI){sSummon = "me_summdun3";}
else if(nSpell==SPELL_SUMMON_CREATURE_VII){sSummon = "me_summdun3";}
else if(nSpell==SPELL_SUMMON_CREATURE_VIII){sSummon = "me_summdun4";}
else {sSummon = "me_summdun4";}
}
//Gondorian
if(sSubRace == "Gondorian")
{
if(nSpell==SPELL_SUMMON_CREATURE_I){sSummon = "me_summgondor1";}
else if(nSpell==SPELL_SUMMON_CREATURE_II){sSummon = "me_summgondor1";}
else if(nSpell==SPELL_SUMMON_CREATURE_III){sSummon = "me_summgondor2";}
else if(nSpell==SPELL_SUMMON_CREATURE_IV){sSummon = "me_summgondor2";}
else if(nSpell==SPELL_SUMMON_CREATURE_V){sSummon = "me_summgondor2";}
else if(nSpell==SPELL_SUMMON_CREATURE_VI){sSummon = "me_summgondor3";}
else if(nSpell==SPELL_SUMMON_CREATURE_VII){sSummon = "me_summgondor3";}
else if(nSpell==SPELL_SUMMON_CREATURE_VIII){sSummon = "me_summgondor4";}
else {sSummon = "me_summgondor4";}
}
//Northman
if(sSubRace == "Northman")
{
if(nSpell==SPELL_SUMMON_CREATURE_I){sSummon = "me_summnorth1";}
else if(nSpell==SPELL_SUMMON_CREATURE_II){sSummon = "me_summnorth1";}
else if(nSpell==SPELL_SUMMON_CREATURE_III){sSummon = "me_summnorth2";}
else if(nSpell==SPELL_SUMMON_CREATURE_IV){sSummon = "me_summnorth2";}
else if(nSpell==SPELL_SUMMON_CREATURE_V){sSummon = "me_summnorth2";}
else if(nSpell==SPELL_SUMMON_CREATURE_VI){sSummon = "me_summnorth3";}
else if(nSpell==SPELL_SUMMON_CREATURE_VII){sSummon = "me_summnorth3";}
else if(nSpell==SPELL_SUMMON_CREATURE_VIII){sSummon = "me_summnorth4";}
else {sSummon = "me_summnorth4";}
}
//Woses
if(sSubRace == "Woses")
{
if(nSpell==SPELL_SUMMON_CREATURE_I){sSummon = "sum_wildwolf";}
else if(nSpell==SPELL_SUMMON_CREATURE_II){sSummon = "sum_wildwolf";}
else if(nSpell==SPELL_SUMMON_CREATURE_III){sSummon = "sum_forestboar";}
else if(nSpell==SPELL_SUMMON_CREATURE_IV){sSummon = "sum_forestboar";}
else if(nSpell==SPELL_SUMMON_CREATURE_V){sSummon = "sum_cougar";}
else if(nSpell==SPELL_SUMMON_CREATURE_VI){sSummon = "sum_cougar";}
else if(nSpell==SPELL_SUMMON_CREATURE_VII){sSummon = "sum_grizzlybear";}
else if(nSpell==SPELL_SUMMON_CREATURE_VIII){sSummon = "sum_grizzlybear";}
else {sSummon = "sum_legendbear";}
}
//Hobbit
if(sSubRace == "Hobbit")
{
if(nSpell==SPELL_SUMMON_CREATURE_I){sSummon = "sum_shiretguard";}
else if(nSpell==SPELL_SUMMON_CREATURE_II){sSummon = "sum_shiretguard";}
else if(nSpell==SPELL_SUMMON_CREATURE_III){sSummon = "sum_shirechief";}
else if(nSpell==SPELL_SUMMON_CREATURE_IV){sSummon = "sum_shirechief";}
else if(nSpell==SPELL_SUMMON_CREATURE_V){sSummon = "sum_shirepaladin";}
else if(nSpell==SPELL_SUMMON_CREATURE_VI){sSummon = "sum_shirepaladin";}
else if(nSpell==SPELL_SUMMON_CREATURE_VII){sSummon = "sum_shirepaladin";}
else if(nSpell==SPELL_SUMMON_CREATURE_VIII){sSummon = "sum_shireinvento";}
else {sSummon = "sum_shireinvento";}
}
/*
//Template
if(sSubRace == "SubRace Name")
{
if(nSpell==SPELL_SUMMON_CREATURE_I){sSummon = "sum_resref";}
else if(nSpell==SPELL_SUMMON_CREATURE_II){sSummon = "sum_resref";}
else if(nSpell==SPELL_SUMMON_CREATURE_III){sSummon = "sum_resref";}
else if(nSpell==SPELL_SUMMON_CREATURE_IV){sSummon = "sum_resref";}
else if(nSpell==SPELL_SUMMON_CREATURE_V){sSummon = "sum_resref";}
else if(nSpell==SPELL_SUMMON_CREATURE_VI){sSummon = "sum_resref";}
else if(nSpell==SPELL_SUMMON_CREATURE_VII){sSummon = "sum_resref";}
else if(nSpell==SPELL_SUMMON_CREATURE_VIII){sSummon = "sum_resref";}
else {sSummon = "sum_resref";}
}
*/
// Creature duration (Rounds/Level, 3 Min, 10 Max)
if(nCasterLevel < 3) nCasterLevel = 3;
//if(nCasterLevel > 10) nCasterLevel = 10;
fDuration = RoundsToSeconds(nCasterLevel);
int nMetaMagic = GetMetaMagicFeat();
if(nMetaMagic == METAMAGIC_EXTEND)
{
fDuration*=2;
}
// Create Summon and Visual Effect
eEffect1=EffectSummonCreature(sSummon);
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY,eEffect2,lTarget);
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY,eEffect1,lTarget,fDuration);
SetModuleOverrideSpellScriptFinished();
break;
}
Wall3t
March 8, 2018, 9:26pm
7
Well i tried making the creatures listed in the lists. either i didnt match up to the subrace requirements (if there are any, which documentation doesn’t really say) or ORS is just broken as shit (and yes i am using 1.69, no overrides)
I’m at my wits end trying to figure this out all week and nothing is coming up. Ive tried replacing it, nothing, ive tried recreating listed summons, nothing, ive tried looking it up in documentation and tutorials, nothing, I’m going to start thinking this system is just fucking broken.
Kindly tone down your language. I understand your frustration but this is a public forum that minors can observe and certain words will not be tolerated.
Flagged.
TR
3 Likes
Do you have those blueprints in your module? I notice there is no default if none of the subraces match either. You might try setting the sSummons to something you know you have right at the top just to see if that works.
I found ORS to be good in some places, less good in other. It’s a huge pile of various systems stitched together. I took the parts I liked and rewrote then and skipped the parts I didn’t like, but that takes work…
Wall3t
March 9, 2018, 11:23pm
10
thats what im doing now i’m giving up on ORS in favour of another thats similar. the summon system is game breaking, and set me back months. I can’t deal with that and im just going to rip what i want and take my own assets and leave it.
Wall3t
March 9, 2018, 11:24pm
11
oh also no the blueprints are not in teh module ive tried recreating them myself and turns up as a blank dwarf model, so its defiantly not whatever i posted.