[RELZ] Skyrim Behavior Organizer

Post » Tue Jul 16, 2013 3:43 pm

http://skyrim.nexusmods.com/mods/38376//?
VERSION: 1.0
#####################################################################################################
WHAT IS THIS?
#####################################################################################################
This is an application that operates on the XML format behavior files for Skyrim that can be generated by hkxcmd.
It organizes the XML code in those files to improve their readability. It accomplishes this by:
- Removing the comments.
- Organizing the code from top to bottom.
- Grouping certain types of objects together in an expandable/collapsible section of code.
- Labeling all events, variables, states and objects by their names.
- Nesting the grouped objects to logically to produce a hierarchical tree of nodes, where each node represents a set of grouped objects.
- Labeling each nested node by name and type of its top level object.
####################################################################################################
WHY IS IT USEFUL?
####################################################################################################
If you want to add NEW animations to Skyrim NOT replace existing ones, you need to edit Skyrim's behavior files.
To edit Skyrim's behavior files you need to understand them first. Unfortunately, even after converting the Havok
packed binary files (hkx) to XML using hkxcmd the files are still VERY difficult to follow.
This application attempts to organize the data in a similar way the Havok Behavior Tool displays the file information in it's asset view.
This allows one to follow the program flow and makes it easier to understand how animations are selected and played by the game.
This tool also makes it easier to understand the purpose of animation variables and helps the user distinguish between 'trigger' events
(used as a parameter for SendAnimationEvent()) and 'listening' events (used as a parameter for RegisterForAnimationEvent()).
###############################################################################################
WANT TO LEARN MORE ABOUT BEHAVIOR? HERE ARE SOME USEFUL LINKS.
###############################################################################################
Free version of thehttp://forum.cgpersia.com/f13/havok-tools-sdk-3533/ (this is the only way to get any documentation on behavior).
http://www.youtube.com/watch?v=sclYyTiqRrw (useful for explaining the basics of how behavior works).
http://skyrim.nexusmods.com/mods/1797/? (you WILL need this to convert the behavior files to XML).
http://skyrim.nexusmods.com/mods/32113/? (great tool that condenses the files and has other features my tool doesn't).
###############################################################################################
REQUIREMENTS.
###############################################################################################
The target Behavior files HAVE to have been converted to XML using hkxcmd.
A text editor like http://notepad-plus-plus.org/download/v6.4.2.html ideally with a 'fold all' option and syntax highlighting.
###############################################################################################
HOW TO USE.
###############################################################################################
1: Download manually.
2: Extract contents of the download to the directory which contains your XML format behavior files.
3: Run the application. You will be prompted to enter the name of the behavior file you want to copy and organize.
Enter the name of the file minus the extension.
4: The output file will have _SBO_OUT appended to it and will be situated in the same directory as the application.
5: You will be asked if you want to convert another file. Push 'y' and then 'enter' to generate another file or
push 'n' and then 'enter' to exit the application.
6: If the entered file is not found you will be given the option to try again or exit.
##############################################################################################
PERMISSION NOTES.
##############################################################################################
THIS FILE IS MINE!!!
You cannot upload this file anywhere else without my permission.
You cannot modify and upload this file anywhere else without my permission.
If you break either of these rules, I will be VERY angry. And I will PM you, TELLING you how angry I am with you.
##############################################################################################
FUTURE WORK
##############################################################################################
Add option to condense the output behavior file.
##############################################################################################
CREDITS.
##############################################################################################
Figment aka TheHologram for his invaluable hkxcmd.
Saidenstorm for his link to HBT 6.6.0, I would not of been able to create this tool without this.
Fore for his pioneering work on behavior and his very useful Condense Behavior tool.
Bethesda for Skyrim and providing the Creation Kit free of charge.
User avatar
Laura Ellaby
 
Posts: 3355
Joined: Sun Jul 02, 2006 9:59 am

Post » Tue Jul 16, 2013 12:37 am

Awesome. I'll download it as soon as Nexus becomes normal again.

User avatar
Gemma Archer
 
Posts: 3492
Joined: Sun Jul 16, 2006 12:02 am

Post » Tue Jul 16, 2013 12:26 am

COOL BEANS!

I will be looking at this tonight. I am not an animator but any window into the game inner workings can be enlightening to all moders.

Thanks for the new window! :nod:

User avatar
Ilona Neumann
 
Posts: 3308
Joined: Sat Aug 19, 2006 3:30 am


Return to V - Skyrim