Jump to content

Modding help - how to pass animations to actors?


trabeated

Recommended Posts

Hi,

I would like to pass animations and coordinates to actors via scriptdragon and/or skse, however, I have been having a terrible time finding out what functions to call and what values to pass them. I am aware that the general method is to use AI scripting - this won't work for my use case.

It seems as though some functions such as "showanim" have been removed, so I'm not even sure how to find out the names of animations to send.

I would really, really appreciate it if someone could link me to a source that explains all of this to me or, better yet, has examples. I have looked at the sexlab framework code some, but I'm not entirely sure where the section is that handles this hooking.

Thanks

Link to comment

Hi,

 

I would like to pass animations and coordinates to actors via scriptdragon and/or skse, however, I have been having a terrible time finding out what functions to call and what values to pass them. I am aware that the general method is to use AI scripting - this won't work for my use case.

 

It seems as though some functions such as "showanim" have been removed, so I'm not even sure how to find out the names of animations to send.

 

I would really, really appreciate it if someone could link me to a source that explains all of this to me or, better yet, has examples. I have looked at the sexlab framework code some, but I'm not entirely sure where the section is that handles this hooking.

 

Thanks

You seem to be coming here from another game which uses a different scripting language. Think of the new environment as a "The names have been changed to protect the innocent" type situation, you need to look at the reference material for Papyrus

 

http://www.creationkit.com/Papyrus_Introduction

and

http://www.creationkit.com/Category:Papyrus

 

 

This page is central:

 

http://www.creationkit.com/Category:Script_Objects

 

and this page has the reference you asked for

 

http://www.creationkit.com/ObjectReference_Script

Link to comment

Thanks! I came across those pages, but I couldn't tell if they were worth spending much time on.

A limitation I have is that I need to work in c++; my project is very intensive, and papyrus has limitations that make it inadequate, and I'm using c++ libraries. ScriptDragon and skse are supposed to allow access to papyrus functions, but I've had trouble finding a good reference of c++ functions maps to papyrus functions, or example code.

What I want to be able to do is:

- get current animation information

- write an extension that if I press a button such as numpad2 the currently selected actor will execute that animation

- if I press numpad3 I want the selected actor to start walking forward - or ideally in a direction I can specify

Once I learn how to do these things I'll be pretty well set for a while.

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use