DancesWithLlamas Posted January 22, 2016 Share Posted January 22, 2016 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 More sharing options...
TheTalkieToaster Posted January 22, 2016 Share Posted January 22, 2016 It's not done via scripts, it's part of the engine. You can't alter it....unless you do some shenanigans when F4SE comes out and we can catch/block keypresses. Getting the reference of the object being placed, blocking the rotate buttons and catching their use to apply your own rotation would do it. Link to comment Share on other sites More sharing options...
Recommended Posts