TheRetroCarrot Posted December 28, 2020 Share Posted December 28, 2020 Hello, I'm new to modding Skyrim and am looking to do a seemingly simple thing for VR. There's lots of mods that allow for collecting wood by striking trees, however Skyrim VR has issues with world weapon collision sound effects so it's disabled by default. I'm looking to make a mod that triggers a sound file when striking a tree in the game with a axe. The collisions themselves are still detected in VR, just not the sound effects. Does anyone have a general outline or idea of how I would go about doing this to start me down the right path? I can reverse engineer a lot of mod scripts easily enough, but it's hard for me to go through and see how they are activated or injected into the game. Thanks for any help provided. Link to comment Share on other sites More sharing options...
dylbill Posted December 28, 2020 Share Posted December 28, 2020 You probably want to use a script with the OnHit event. Here's a tutorial on how to do dynamic scripting with object references: https://www.creationkit.com/index.php? Scroll down to the Attaching Scripts to Objects section. It explains how to give the player firewood whenever you hit a tree. You can modify it to play a sound whenever you hit a tree. Link to comment Share on other sites More sharing options...
TheRetroCarrot Posted December 28, 2020 Author Share Posted December 28, 2020 Thanks, that looks like what I need. I already run a mod for the actual collection of firewood, just if I can't get a hold of the creator the the source code it's probably easier to just add a new script to the objects for sound only so this is perfect. Link to comment Share on other sites More sharing options...
dylbill Posted December 28, 2020 Share Posted December 28, 2020 No problem, happy modding! Link to comment Share on other sites More sharing options...
Recommended Posts