Difference between revisions of "Atom Setup"
Jump to navigation
Jump to search
no edit summary
imported>Gawdl3y |
imported>Gawdl3y |
||
Line 13: | Line 13: | ||
Obtain the [https://github.com/noseglid/atom-build build] package the same way as above. Then, place the below text in a file called '''.atom-build.json''' (yes, with the leading dot!) in your Skyrim\Data\Scripts\Source directory. Change the paths if you need to (make sure to use double-backslashes). | Obtain the [https://github.com/noseglid/atom-build build] package the same way as above. Then, place the below text in a file called '''.atom-build.json''' (yes, with the leading dot!) in your Skyrim\Data\Scripts\Source directory. Change the paths if you need to (make sure to use double-backslashes). | ||
<pre>{ | <pre>{ | ||
"cmd": "C:\\Program Files (x86)\\Steam\\SteamApps\\common\\Skyrim\\ | "cmd": "Papyrus Compiler\\PapyrusCompiler.exe", | ||
"cwd": "C:\\Program Files (x86)\\Games\\Steam\\SteamApps\\common\\Skyrim\\", | |||
"sh": false, | "sh": false, | ||
"args": [ | "args": [ | ||
"{FILE_ACTIVE}", | "{FILE_ACTIVE}", | ||
"-import= | "-import=Data\\Scripts\\Source;Data\\Scripts\\Source\\Dawnguard;Data\\Scripts\\Source\\Dragonborn;Data\\Scripts\\Source\\Hearthfire", | ||
"-output= | "-output=Data\\Scripts", | ||
"-flags=TESV_Papyrus_Flags.flg" | "-flags=TESV_Papyrus_Flags.flg" | ||
], | ], | ||
"env": {} | "env": {} | ||
} | |||
}</pre> | }</pre> | ||
After placing the .atom-build.json file there, any of the scripts you open in Atom will be able to be compiled simply by pressing '''Ctrl-Alt-B'''. | After placing the .atom-build.json file there, any of the scripts you open in Atom will be able to be compiled simply by pressing '''Ctrl-Alt-B'''. |