Jump to content

Fallout 4 HAVOK Guide


ajs52698

Recommended Posts

Been doing some work on this as well. I found a Max plugin HavokMax, and the library that drives it: HavocLib. I've got a modified version of Anton's Skyrim scripts to export from Blender to JSON. So if I can just get Havoc lib to compile and link with my own code, I can read the JSON and generate HKX files using (hopefully) proven code.

 

Major hurdle at the moment is that CMake hates me. There are a doze different ways to configure a CMake build, almost all of which fail to compile at some point. The one that does compile, generates no output - which wouldn't be so bad, but it breaks if I try and compile for debug, so I can't debug into the library to see what needs doing.

 

Oh well, if it was easy, everyone would want to do it...

Edited by DocClox
Link to comment
Share on other sites

  • 3 weeks later...
  On 6/7/2021 at 4:48 PM, DocClox said:

Been doing some work on this as well. I found a Max plugin HavokMax, and the library that drives it: HavocLib. I've got a modified version of Anton's Skyrim scripts to export from Blender to JSON. So if I can just get Havoc lib to compile and link with my own code, I can read the JSON and generate HKX files using (hopefully) proven code.

 

Major hurdle at the moment is that CMake hates me. There are a doze different ways to configure a CMake build, almost all of which fail to compile at some point. The one that does compile, generates no output - which wouldn't be so bad, but it breaks if I try and compile for debug, so I can't debug into the library to see what needs doing.

 

Oh well, if it was easy, everyone would want to do it...

 

I cloned havoklib (the original one). Cloned submodules. Opened the repo with visual studio 2019 and was able to compile it with no issues. When I run it, it fails during a test procedure because of a missing skeleton test file I assume. Dunno where your problem accured exactly.

Link to comment
Share on other sites

  • 2 weeks later...

doing a string dump of the fallout4.exe as well as the creationkit.exe provides many things to do with havok and some useful information. I've done alot of animation and played abit with some of the other havok things. Mostly interested in doing behaviors and finding easier ways to make and edit them.
Found a list of of all the node types that fallout 4 has for havok though

 

  Reveal hidden contents


You can find many generators and info about them in the links already posted. The nodes that start with "BS" though are ones that Bethesda custom made for fallout however and not much documentation about them

Link to comment
Share on other sites

  • 2 weeks later...

Hi! Thanks for all the information here, it's super useful.
Is there an editor for behavior/hkx/xml files out there or even a text editor that would make the structure easier to follow for a code noob?
I've been using notepad++ and I'm struggling to properly edit the files.
I'm trying to merge two gun behavior files (Minigun FX and Laser Rifle behavior) but at the moment only the minigun events are playing.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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