If anyone uses this, please let me know if it works. I've had a report of the game crashing at a workbench with this installed. As I don't have VR I am unable to test this myself and can only verify that it works on regular FO4. That said, the NIF I used for the laser beam came from a mod that is compatible with VR, and the only new records I have added are some keywords and some OMODs, all of which are added through the patcher script which only fetches your existing weapon records. So I am unsure of what the cause may be, I just want to verify if the problem is unique to the user.
So the batch file doesn't really work for VR. To get FO4Edit to work with FOVR you HAVE to rename FO4Edit to FO4VREdit.
Can you rename the batch file so it will work with FO4VREdit instead?
EDIT: I did it Manually on my end by editing the batch file, but you might want to put up another version for people who aren't familiar with FO4Edit that much
Stickied. Won't be at my computer for awhile. I could add you to file permissions if you wanted to upload a fixed version, if not people will see this post and can correct it themselves.
Rats, I just discovered exactly this same thing. Wish I had read your comment first. Care to share the edited batch file? ruddy88 seems to have given permission to do so.
Just done this myself. Follow the instructions as normal, but edit the VRLaserSightsPatcher.bat file and use CTRL+F to search for any uses of "fo4edit" and replace all of those with "fo4VREdit". Then worked for me. Not really sure why a specifically vr mod has been made to only work on the flat version of xedit as its incompatible with fallout vr. But hope this helped!
hi there, awesome mod. works like a charm. sorry english is not my native lang
no VR user, pre-NG game, MO2 user (+500 mods, but no weapons. just vanilla and CC weapons), sseedit 4.1.5f and M8r Complex Sorter user. I just wanted to use the laser sight on all my vanilla weapons that I wanted, as an aesthetic thing it's kind of cool ))
0 issues.
just 2 things: disable the esp "M8r Complex Sorter user.esp" before running the script, and then re-run Complex Sorter In my case, in some weapons (Spanish version of the game) especially the CC, I then had to 'readjust' the 'combination' flags again with fo4edit, they were displaced in some cases (simple, random epic, etc.)
So that the laser sight is perfectly aligned in the center of the crosshair, both in first and third person, you also have to install the mod 'Auto Beam - True Laser Sights Framework'
It took me 5 minutes, the result is very worthwhile.
Would this mod ever be able to just be comprised and reformatted and redone to be installed just as a regular one click instal type of mod with its required dependencies as in other mods? Seems a bit extra to get this one going.
Hello everyone I hope today someone else is interested in this. Today I installed VR_LaseSights_VanillaNoScrip through FallOut4 vr mod organizer, which launches mads good overhaul and made a laser sight on the workbench!!! Jesus Christ, this is very useful especially in optical sights, God bless you, the creator of this mod!
really struggling to get the scripts version to work. Been through the bat file and have edited correctly, also downloaded again to make sure all files are correct. When i use the patcher i get an error when closing down after patching that i cant rename the saved file. Is this important, and if so, how would i go about allowing the program to save or change a save? Many thanks.
Hi from 2024, this works like a dream. My aim improved dramatically once I finally got it working. I tried it on my 10mm pistol for testing and I shot everything I lined up on the shelf. The ideal way to aim in VR for me.
For anyone who wants this to work with Vortex, here is how you do it. 1. Download VR_LaserSights_ESP from main files and install with Vortex mod manager. 2. Download VR_LaserSights_SCRIPT from main files. 3. Make sure to extract FO4Edit and the VR_LaserSights_SCRIPT to your main Fallout VR directory. 4. In your game folder rename FO4Edit.exe to FO4VREdit.exe 5. In your game folder right click on VRLaserSightsPatcher.bat and click 'edit" then once the batch file is opened changed any reference of "FO4Edit.exe" to "FO4VREdit.exe' Save the file and close it. 6. Open up Vortex and make sure your Fallout VR is being managed, then go to the dashboard (top left button) and scroll down to tools. 7. Click the "+" button under tools and click "new". 8. Name the new tool anything you want and hit the folder icon under "target", select VRLaserSightsPatcher.bat for the target in your game folder. 9. Save your new tool then run it inside Vortex. 10. When FO4VREdit.exe is running hit ok and let the script work its magic. Once it is done, close the program and do a little dance, because you are done!
In addition to this for this in VR, be sure to rename all mentions of the "FO4edit.exe" in the bat file to "FO4vrEdit.exe" instead to make sure the files work. AGAIN, like Jondagamkd said above, be sure to rename your FO4Edit to FO4vrEDIT in order for xedit to even work on the VR version in the first place.
You can also just copy the below code over the bat file. I got it to work with this.
@echo off set hasXedit=0 set hasScriptFile=0 set hasMXPF==0 set hasMTEFunctions==0 set hasRequiredFiles==0 IF EXIST "FO4vrEdit.exe" set hasXedit=1 IF EXIST "Edit Scripts\R88_VRLaserSights_AutoScript.pas" set hasScriptFile=1 IF EXIST "Edit Scripts\lib\mxpf.pas" set hasMXPF=1 IF EXIST "Edit Scripts\lib\mteFunctions.pas" set hasMTEFunctions=1 echo::: "Ruddy88's VR Laser Sight Patcher" echo : echo : echo ::: Checking for required files ::: echo : IF %hasXedit%==1 ( echo : FO4vrEdit found ) ELSE ( echo : WARNING: FO4vrEdit.exe not found ) IF %hasScriptFile%==1 ( echo : R88_VRLaserSights_AutoScript.pas found ) ELSE ( echo : WARNING: R88_VRLaserSights_AutoScript.pas not found ) IF %hasMXPF%==1 ( echo : mxpf.pas found ) ELSE ( echo : WARNING: mxpf.pas not found ) IF %hasMTEFunctions%==1 ( echo : mteFunctions.pas found ) ELSE ( echo : WARNING: mteFunctions.pas not found ) IF %hasXedit%==1 IF %hasScriptFile%==1 IF %hasMXPF%==1 IF %hasMTEFunctions%==1 set hasRequiredFiles=1 IF %hasRequiredFiles%==1 ( echo : echo : %choice% ) ELSE ( echo : echo : echo : Required files not found. Terminating process. echo : echo : pause exit ) :choice set /P c=::: All required files installed. Would you like to run VR Laser Sight Patcher? [Y/N]? if /I "%c%" EQU "Y" goto :runPatch if /I "%c%" EQU "N" goto :exitPatch goto :choice :runPatch start FO4vrEdit.exe -nobuildrefs -script:"R88_VRLaserSights_AutoScript.pas" :exitPatch exit
D'après ce que je crois lire, je ne peux activer et me servir de ce mod, vu que j'installe mes mods manuellement, c'est ça ? De toute façon, même la version facultative ne fonctionne pas pour moi.
Ive followed the guide on MO2 installation down to the tee, changed the FO4Edit references to FO4VREdit, manually activated the script in FOVREdit with associated mods loaded. Script executed as expected.
I have my active VRLasersights.esp at the bottom and it lists all masters that all appear to contain some sort of weapon, all my weapon packs etc, everything seems nominal.
Yet no weapons appear to allow a lasersight attachment at the workbench, even the vanilla ones? Gonna try a few things, any advice please share :D
Tried with the noscript version and it works as expected. All vanilla weapons have the sight available in the workbench.
I suspect the patcher is not patching properly the correct data.
Ive tried lots of things now. Patching the no script ESP, comparing the patch vs the noscript esp... I just cant figure out why it doesnt show up. All the weapon records seem to have the appropriate added data when examined in fovredit. Everything looks legit.
45 comments
That said, the NIF I used for the laser beam came from a mod that is compatible with VR, and the only new records I have added are some keywords and some OMODs, all of which are added through the patcher script which only fetches your existing weapon records.
So I am unsure of what the cause may be, I just want to verify if the problem is unique to the user.
Can you rename the batch file so it will work with FO4VREdit instead?
EDIT: I did it Manually on my end by editing the batch file, but you might want to put up another version for people who aren't familiar with FO4Edit that much
Won't be at my computer for awhile. I could add you to file permissions if you wanted to upload a fixed version, if not people will see this post and can correct it themselves.
no VR user, pre-NG game, MO2 user (+500 mods, but no weapons. just vanilla and CC weapons), sseedit 4.1.5f and M8r Complex Sorter user. I just wanted to use the laser sight on all my vanilla weapons that I wanted, as an aesthetic thing it's kind of cool ))
0 issues.
just 2 things:
disable the esp "M8r Complex Sorter user.esp" before running the script, and then re-run Complex Sorter
In my case, in some weapons (Spanish version of the game) especially the CC, I then had to 'readjust' the 'combination' flags again with fo4edit, they were displaced in some cases (simple, random epic, etc.)
So that the laser sight is perfectly aligned in the center of the crosshair, both in first and third person, you also have to install the mod 'Auto Beam - True Laser Sights Framework'
It took me 5 minutes, the result is very worthwhile.
Thank you very much for sharing it
I hope today someone else is interested in this.
Today I installed VR_LaseSights_VanillaNoScrip through FallOut4 vr mod organizer, which launches mads good overhaul and made a laser sight on the workbench!!! Jesus Christ, this is very useful especially in optical sights, God bless you, the creator of this mod!
Thank you, Ruddy88. Endorsed.
1. Download VR_LaserSights_ESP from main files and install with Vortex mod manager.
2. Download VR_LaserSights_SCRIPT from main files.
3. Make sure to extract FO4Edit and the VR_LaserSights_SCRIPT to your main Fallout VR directory.
4. In your game folder rename FO4Edit.exe to FO4VREdit.exe
5. In your game folder right click on VRLaserSightsPatcher.bat and click 'edit" then once the batch file is opened changed any reference of "FO4Edit.exe" to "FO4VREdit.exe' Save the file and close it.
6. Open up Vortex and make sure your Fallout VR is being managed, then go to the dashboard (top left button) and scroll down to tools.
7. Click the "+" button under tools and click "new".
8. Name the new tool anything you want and hit the folder icon under "target", select VRLaserSightsPatcher.bat for the target in your game folder.
9. Save your new tool then run it inside Vortex.
10. When FO4VREdit.exe is running hit ok and let the script work its magic. Once it is done, close the program and do a little dance, because you are done!
You can also just copy the below code over the bat file. I got it to work with this.
@echo off
set hasXedit=0
set hasScriptFile=0
set hasMXPF==0
set hasMTEFunctions==0
set hasRequiredFiles==0
IF EXIST "FO4vrEdit.exe" set hasXedit=1
IF EXIST "Edit Scripts\R88_VRLaserSights_AutoScript.pas" set hasScriptFile=1
IF EXIST "Edit Scripts\lib\mxpf.pas" set hasMXPF=1
IF EXIST "Edit Scripts\lib\mteFunctions.pas" set hasMTEFunctions=1
echo::: "Ruddy88's VR Laser Sight Patcher"
echo :
echo :
echo ::: Checking for required files :::
echo :
IF %hasXedit%==1 (
echo : FO4vrEdit found
) ELSE (
echo : WARNING: FO4vrEdit.exe not found
)
IF %hasScriptFile%==1 (
echo : R88_VRLaserSights_AutoScript.pas found
) ELSE (
echo : WARNING: R88_VRLaserSights_AutoScript.pas not found
)
IF %hasMXPF%==1 (
echo : mxpf.pas found
) ELSE (
echo : WARNING: mxpf.pas not found
)
IF %hasMTEFunctions%==1 (
echo : mteFunctions.pas found
) ELSE (
echo : WARNING: mteFunctions.pas not found
)
IF %hasXedit%==1 IF %hasScriptFile%==1 IF %hasMXPF%==1 IF %hasMTEFunctions%==1 set hasRequiredFiles=1
IF %hasRequiredFiles%==1 (
echo :
echo :
%choice%
) ELSE (
echo :
echo :
echo : Required files not found. Terminating process.
echo :
echo :
pause
exit
)
:choice
set /P c=::: All required files installed. Would you like to run VR Laser Sight Patcher? [Y/N]?
if /I "%c%" EQU "Y" goto :runPatch
if /I "%c%" EQU "N" goto :exitPatch
goto :choice
:runPatch
start FO4vrEdit.exe -nobuildrefs -script:"R88_VRLaserSights_AutoScript.pas"
:exitPatch
exit
Ive followed the guide on MO2 installation down to the tee, changed the FO4Edit references to FO4VREdit, manually activated the script in FOVREdit with associated mods loaded. Script executed as expected.
I have my active VRLasersights.esp at the bottom and it lists all masters that all appear to contain some sort of weapon, all my weapon packs etc, everything seems nominal.
Yet no weapons appear to allow a lasersight attachment at the workbench, even the vanilla ones?
Gonna try a few things, any advice please share :D
Thanks for this mod in advance!
I suspect the patcher is not patching properly the correct data.
Ive tried lots of things now. Patching the no script ESP, comparing the patch vs the noscript esp... I just cant figure out why it doesnt show up. All the weapon records seem to have the appropriate added data when examined in fovredit. Everything looks legit.