Jump to content

How do I hook into workshop move/place mode to add or modify commands?


DancesWithLlamas

Recommended Posts

I've worked out how to rotate objects relative to the world axis instead of the potentially offset axis around which the setangle/getangle values rotate. If you go set the x or y angle on a piece, then rotate it around z, you'll see what I'm trying to fix.

 

In the Workshop mode, when moving or placing items, I would like to override the default rotation operations and add a command for cycling through the axis. The default rotation that operates on the angle z value, would be replaced with the scripting to rotate the object around the active axis while maintaining the other angles relative to the observer. Also, when turning, a held object retains its Z axis orientation relative to the player. I want to change this to retain the world Z axis instead of the potentially offset Z axis of the object.

 

From tracing through the tables in FO4Edit and looking at some decompiled scripts, I haven't been able to divine how to insert modifications into this specific area. Has anyone figured this out?

 

Thanks!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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