Havok settling script not working properly.

Post » Tue Jun 19, 2012 9:13 am

I tweaked a couple of my vanilla player houses, hanging up items on the walls etc.
Using "Don't havok settle" and the script "defaultdisablehavokonload".

Seemed to work fine upon re-entering the house, but after returning to the house after some time away, several of the items had fallen down, some only slid half way down the walls.
They're still immovable, just out of place.
I'm not using an obscene amount of scripts or anything.

Any insight would be most appreciated! :bunny:
User avatar
Jay Baby
 
Posts: 3369
Joined: Sat Sep 15, 2007 12:43 pm

Post » Tue Jun 19, 2012 8:43 am

Have you set the properties for every object that have this script ? Everything on false (unchecked).

Looking at this script, the problem can be that havok run and move the object before the script run. Once one object is simmed, a lot of object near it can be simmed and you have a chain reaction, everything falls before the script can change anything.

EVENT onCellAttach()    if (beenSimmed == FALSE && Self.Is3DLoaded())        setMotionType(Motion_Keyframed, TRUE);         ;debug.trace("havok disabled on: " + self)    endifendEVENT

You should look if this part of the script is executed for your objects.
User avatar
oliver klosoff
 
Posts: 3436
Joined: Sun Nov 25, 2007 1:02 am

Post » Tue Jun 19, 2012 2:55 pm

Thanks for the response, I'm not as well versed in these things as I'd like, but I'll dig in to the bowels of the thing and see what I find.
User avatar
Soku Nyorah
 
Posts: 3413
Joined: Tue Oct 17, 2006 1:25 pm


Return to V - Skyrim