(WIP)Setting up .NET for Visual Studio Code (Unturned)
Warning(also Note to self)
I can barely get modules working using VSC currently. So i will probably also make a subsequent one on Visual Studio. VSC is very buggy and really stubborn and doesn't want to work so this guide should not even be used atm. Until i figure out how to set it up perfectly this guide should be disregarded.
Preface
This assumes you know the basics of VS Code. The guide will still probably somewhat help even if you don't know but it is recommended to learn VSC first. Anyways, this guide is targeted towards setting VSC for Unturned.
- Setting up for .NET
- Download Visual Studio Code obviously..
- Download .NET Standard 2.1 or the lastest .NET Framework version(must be 4.6.1 or above)
- Download Visual Studio Code extensions
- NuGet Package Manager extension
- C# Devkit extension
- ilspy-vscode extension
- Open the Command Palette using
⇧⌘P, run.NET: New Projectand use the Console App template.
- Setting up the Workspace for Unturned
- Download NuGet packages
- Client Side modules
- RocketModFix.UnityEngine.Redist
- RocketModFix.Unturned.Redist
- Plugins(Verify if below works like just using template is enough? or needs to install more packages)
Use either a OpenMod or RocketMod template or manually download packages below(Only for RocketMod). You can copy the files directly or use a templater in your IDE.- RestoreMonarchy.RocketRedist or (Rocket.API, Rocket.Core, Rocket.Unturned, etc?)
- RestoreMonarchy.UnturnedRedist or (etc?)
- Client Side modules
- Set up Module files in your project folder (Only required when making modules)
- Download NuGet packages
Sources (sources in the guide itself is not listed):
NET version msg
(Unofficial) Unturned Docs 2018: Creating a module
JDance's Creating Modules Guide It is now deleted so it is all from my recollection(If he posts a new one or I find a similar one I might update it)
#client-modules #set-up