xNVSE plugin that allows you to edit and save scripts in GECK and update them live into the game without needing to restart it. You can also save scripts straight from a text editor into GECK. A nice utility to have for any mod maker of Fallout New Vegas.
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou must get permission to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 2.15
Compiled in Release mode instead of Debug mode, sorry for the bad performance in last version! It was an accident
Fix GECK crash if script sources were removed
Version 2.14
Fix issue where GECK would crash on compile errors if compiled from file and then compiled from file again
Version 2.13
Fix editing script from file when an error popup was displayed file would get overwritten
Fix editing script from file when file explorer browse window was open
Version 2.12
Allow multiple GECK instances to use hot reload
Add support for reloading xNVSE 6.1 lambdas
Fix saved script files from different mods applying to current active mod
Version 2.10
Added ini option "Force GECK to allow saving while script window and other dialog boxes are open"
Added ini option "Save the loaded esp/esm each time you save/compile a script"
Added ini option "Open the folder containing the scripts of the loaded esp/esm when opening a mod in GECK"
Version 2.9
Fix quest stage error message once and for all
Version 2.8
Fix exception (error message) when working with perks and quests and stages
Version 2.7
Fix crash when deleted scripts existed in esm/esp
Version 2.6
Move scripts folder from Data to Fallout New Vegas
Add more logging
Version 2.5
Fix crash in topics window
Version 2.4
Add automatic synchronization between GECK scripts and files (files update when GECK updates scripts)
Automatically generate script files from active mod if they don't exist in Scripts\ModName.esp\*.gek (to trigger: save any script in GECK)
Version 2.3
Add support for *.geck file extension alongside *.gek since apparently NP++ plugin uses that
Hot Reload lets you script the game "live". When you save a script in GECK, Hot Reload will transfer the compiled script data over from GECK to Fallout New Vegas and update the script so that you don't need to restart the game. Restarting the game is often a huge pain point and time consumer for mod makers of this game, and this mod was created to alleviate that.
How to use
Simply compile a script in GECK while the game is open and Hot Reload will automatically try to hotload the script.
Compile scripts on file save
You can now save and compile scripts without needing to open the script editor in GECK! When you save a script in GECK, Hot Reload will generate files for all of the scripts inside Fallout New Vegas\Scripts\ModName.esp\ that can be edited from any text editor and will be updated as soon as the files are changed. This effectively means you can script straight from Atom or Notepad++ without the need to copy and paste to GECK. Hot Reload can also generate script text files for you so that you don't need to copy them over from GECK (it's programmed to happen when you save any script in GECK).
Example: For a script with editor ID TestScript, start editing a file with path Fallout New Vegas\Scripts\TestMod.esp\TestScript.gek Another example: Fallout New Vegas\Scripts\TheFrontier.esm\TFWeaponScript.geck
It is strongly recommended that you have bScriptCompileWarningPopup=1 enabled in geckextender.ini when using this feature (MO2 likes to overwrite this file in the overwrite dir so you might need to edit it there).
Open any in-game reference in GECK
With the console command ToGECK, you can instantly open any in-game reference or base form in GECK.
Save files to disk in GECK without closing game
Now you can save files in GECK without closing the game. Note that this does not mean generalized hot reload support for things other than scripts, but just that an annoying limitation has been removed so that there's less chance of losing work as you can always save the .esp/.esm to disk.
Commands
GetGameHotReloaded- A command similar to GetGameLoaded that returns true once each time the script you are editing was hot reloaded. Useful for e.g. registering event handlers and other things you need to do only once. ToGECK- A console command that opens a selected in-game ref or base form in GECK. Requires GECK Extender 0.35. Video link. Usage: ref?.ToGECK baseform?