------------------------------------------------------------------------------------------------------
Description
------------------------------------------------------------------------------------------------------
In this video, I'll be showing how to make use of the Starfield Papyrus plugin to edit and compile scripts using Visual Basic Code. This will require the installation of some plugins and a custom setup for a workspace and config files.
I also have a written version of this guide available as it can be tricky to follow.
UPDATE: Check the pinned comment for the older vscode extension file as Bethesda's latest version doesn't seem to work correctly.
------------------------------------------------------------------------------------------------------
Links
------------------------------------------------------------------------------------------------------
VS Code Download: https://code.visualstudio.com/
VS Code Extension 1.6.2: https://drive.google.com/file/d/11KfB...
Written Guide: https://darkfox127.notion.site/Starfi...
Redawt Guide: https://forums.nexusmods.com/topic/13...
------------------------------------------------------------------------------------------------------
Workspace Code
------------------------------------------------------------------------------------------------------
{
"folders": [
{
"path": "G:/Steam/steamapps/common/Starfield/Data/Scripts/Source"
},
{
"path": "."
}
],
"settings": {
"papyrus.version": "starfield"
}
}
------------------------------------------------------------------------------------------------------
Tasks JSON Code
------------------------------------------------------------------------------------------------------
{
// See https://go.microsoft.com/fwlink/?Link...
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Papyrus Compile",
"type": "process",
"command": "G:\\Steam\\steamapps\\common\\Starfield\\Tools\\Papyrus Compiler\\PapyrusCompiler.exe",
"args": ["${file}", "-i=G:\\Steam\\steamapps\\common\\Starfield\\Data\\Scripts", "-f=G:\\Steam\\steamapps\\common\\Starfield\\Data\\Scripts\\Source\\Starfield_Papyrus_Flags.flg", "-o=${command:extension.commandvariable.file.fileDirname1Up}"],
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
------------------------------------------------------------------------------------------------------
Credits
------------------------------------------------------------------------------------------------------
A huge thanks to Redawt and simsim899 for the information and resources for piecing this together.
------------------------------------------------------------------------------------------------------
Time Stamps
------------------------------------------------------------------------------------------------------
0:00 - Intro
1:15 - Script Extraction
3:31 - VS Code Installation
4:14 - Papyrus Extension Installation
4:43 - Workspace Creation
5:05 - Workspace Configuration
6:10 - Papyrus Extension Configuration
6:38 - Command Variable Extension
6:59 - JSON Tasks File Creation
8:10 - New Script Creation
9:00 - Vanilla Script Edits
9:29 - Editing in External Editor
10:51 - Outro
------------------------------------------------------------------------------------------------------
Community & Support
------------------------------------------------------------------------------------------------------
/ darkfox127
https://www.darkfox127.co.uk/contact
/ discord
On this page of the site you can watch the video online Starfield Creation Kit | Scripting in Visual Studio Code with a duration of hours minute second in good quality, which was uploaded by the user Darkfox127 30 June 2024, share the link with friends and acquaintances, this video has already been watched 3,924 times on youtube and it was liked by 164 viewers. Enjoy your viewing!