Perm. mounted after logging off
#1
Posté 03 septembre 2010 - 01:35
#2
Posté 03 septembre 2010 - 02:00
//::///////////////////////////////////////////////
//:: Default On Enter for Module
//:: x3_mod_def_enter
//:: Copyright © 2008 Bioware Corp.
//:://////////////////////////////////////////////
/*
This script adds the horse menus to the PCs.
*/
//:://////////////////////////////////////////////
//:: Created By: Deva B. Winblood
//:: Created On: Dec 30th, 2007
//:: Last Update: April 21th, 2008
//:://////////////////////////////////////////////
#include "x3_inc_horse"
void main()
{
object oPC=GetEnteringObject();
ExecuteScript("x3_mod_pre_enter",OBJECT_SELF); // Override for other skin systems
if ((GetIsPC(oPC)||GetIsDM(oPC))&&!GetHasFeat(FEAT_HORSE_MENU,oPC))
{ // add horse menu
HorseAddHorseMenu(oPC);
if (GetLocalInt(GetModule(),"X3_ENABLE_MOUNT_DB"))
{ // restore PC horse status from database
DelayCommand(2.0,HorseReloadFromDatabase(oPC,X3_HORSE_DATABASE));
} // restore PC horse status from database
} // add horse menu
if (GetIsPC(oPC))
{ // more details
// restore appearance in case you export your character in mounted form, etc.
if (!GetSkinInt(oPC,"bX3_IS_MOUNTED")) HorseIfNotDefaultAppearanceChange(oPC);
// pre-cache horse animations for player as attaching a tail to the model
HorsePreloadAnimations(oPC);
DelayCommand(3.0,HorseRestoreHenchmenLocations(oPC));
} // more details
}
#3
Posté 03 septembre 2010 - 06:06
is this a problem you have heard of? Funny how I cant find any other instances of this issue.
#4
Posté 03 septembre 2010 - 06:28
#5
Posté 03 septembre 2010 - 07:03
Thanks for the info guys.
#6
Posté 03 septembre 2010 - 12:02
Modifié par Genisys, 03 septembre 2010 - 12:04 .
#7
Posté 03 septembre 2010 - 12:09
#8
Posté 03 septembre 2010 - 05:22
Geojedi73's
it works great but is limited....
#9
Posté 03 septembre 2010 - 05:39
Here is a link from the old forums.
Quote: by Brian Chung
It's client side loading of 13+mb of horse animations. Since the NWN client by default only caches like 16mb in resources, so whenever a horse appears, it causes a momentary stutter as the client has to clear out the resource cache, then load the animation data off the HD. The standard humanoid animations cause no hiccup because you're almost always guaranteed to have it in memory being a PC so it's always loaded.
You can up the amount by changing the nwnplayer.ini setting under [Game Options] and adding "Max Memory Usage=32". Up to a max of 64mb, beyond that there wasn't much performance benefit according to some tests we did internally. So there might be a small initial pause on the first horse load, but afterwards it might not be as bad even if you transition areas.
http://nwn.bioware.c...641180&forum=42
Modifié par TSMDude, 03 septembre 2010 - 05:39 .
#10
Posté 03 septembre 2010 - 06:34
seventh_son wrote...
I hope I am in the right section, I am having troubles that I cant seem to find any info on. I was using the CEP 2.3 and patch 1.69 ridable horses, You know the horses that are build into the toolset with those updates. well I found quickly that when a player logs off mounted or nwn crashes while mounted the player is from that point on Perma. mounted and cant be fixed... is there a way to fix this? has anyone else run into this issue..?
We had a problem a while back with a user crashing out while mounted and came back in floating in the air like they were on a horse... but no horse. It turned out to be a phenotype/tail problem. If this is what you are seeing, and the above things don't fix it, let me know and I'll dig up the fix for it (which also goes in the OnEnter script).
#11
Posté 03 septembre 2010 - 11:02
#12
Posté 03 septembre 2010 - 11:11
#13
Posté 05 septembre 2010 - 03:58





Retour en haut






