Actor.pex

Post » Sat Nov 22, 2014 11:30 am

Okay, so while poking around some of the source papyrus scripts I read through the "actor" script. In the script was a line (or two) regarding head tracking functionality. So I have a few questions:

1. Does this script apply to the playable character, or is it only attached to NPC actors?

2. I could not find in the creation kit where this script was attached to any NPC or whatnot. (Is it even attached?) Is it more like a globally applied script hard coded by the engine?

3. Would it even effect the functionality of player head tracking? Seems weird the functionality still exists for NPC's, but the PC has it removed.

I miss how in Oblivion the PC would look at other actors and even express facial expressions (like sad, mad, fear, etc.) based on dispositions. It made the PC feel alive. I know there are mods that replicate this, but through complex scripting that for the most part can be game breaking if not done absolutely correctly.

EDIT: If this topic belongs in the Creation Kit sub-forum feel free to move it. :smile:

User avatar
Irmacuba
 
Posts: 3531
Joined: Sat Mar 31, 2007 2:54 am

Post » Sat Nov 22, 2014 8:19 am

From what I can tell, the headtracking is connected to the "IsNPC" attribute, but since the two mods that allow player headtracking use scripts, it might be possible that scripts are needed to force it on the player. The other possibility is that those mods only need to use scripts to limit the player headtracking to only working out of combat and other such things. You could try just adding the IsNPC tag to the Player character and see what happens :D

User avatar
oliver klosoff
 
Posts: 3436
Joined: Sun Nov 25, 2007 1:02 am

Post » Sat Nov 22, 2014 8:43 am

Wouldn't "IsNPC" just be something that returns 0 or 1 depending on whether the object is the NPC type? How would I set that attribute onto the player? I can't find anything for "IsNPC" on the Creation Kit wiki.

Okay, so now I found out (from a Japanese website) that I must use "player.SetAnimGraphVar IsNPC 1", but now I am curious as to the functionality of "SetAnimGraphVar". Once again, the CK wiki is useless. Last time I used the Construction Set wiki (for Oblivion) it was quite helpful. It had many dedicated webpages to individual functions with examples used.

User avatar
Jeff Tingler
 
Posts: 3609
Joined: Sat Oct 13, 2007 7:55 pm

Post » Sat Nov 22, 2014 11:41 am

Both the Creation Kit and Construction Set wikis are primarily maintained by other modders. The Oblivion community has had more time (and was more inclined) to update the wiki with information. Bethesda set up the CK wiki and added basic information for many things, but they've never been particularly interested in documenting the console commands.
User avatar
Katie Louise Ingram
 
Posts: 3437
Joined: Sat Nov 18, 2006 2:10 am


Return to V - Skyrim

cron