Skip to content

Commit ac51bb0

Browse files
committed
From scratch basics set up
1 parent 255577e commit ac51bb0

2 files changed

Lines changed: 48 additions & 0 deletions

File tree

MakingMods/Boilerplate.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ And wait for it to complete
1212
---end---
1313
---os:mac
1414
# PUT IN STUFF FOR VSCODE
15+
Create a new folder and open it with VSCode
16+
Open the extentions pannel (Ctrl+Shift+X)
17+
Search for C# Dev Kit and the .NET install tool (if you want a QOL Extention also install Indent-Rainbow)
1518
---end---
1619
---os:linux
1720
# PUT IN STUFF FOR JB Rider

MakingMods/FromScratch.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,47 @@
11
## Creating a project from scratch
22

3+
---os:windows
4+
### VS2022
5+
Open VS2022 and then press "Create a new project"
6+
Find C# Class Libary and clcik on it then press Next
7+
Name your project then press next again
8+
Set the Framework to .NET Standard 2.1 and click Create
9+
---end---
10+
---os:mac
11+
### VSCode
12+
Now press Ctrl-Shift-P and type: .NET: New Project
13+
Press enter and then wait for a sec then type Class Library and press enter
14+
Enter you mod name then press enter 3 times
15+
---end---
16+
---os:linux
17+
# Implement Rider
18+
---end---
19+
20+
Now that your project has been created its time for you to set up your .csproj
21+
22+
Doing this will make the mod dll to automatically go to where your ultrakill plugin folder is and skip moving the dll yourself.
23+
It will also reduce problems and klet you use more mechanics in C# that makes it simpler to do things.
24+
25+
### Important Note: (ModName) Will be what I use to reference whatever you called your mod!
26+
27+
Opening the .csproj
28+
---os:windows
29+
### VS2022
30+
Locate the "Solution Exlorer" On the right side of the screen if it isnt there you can open it by pressing (Ctrl+Alt+L)
31+
There are 3 Objects that should draw your attention,
32+
Class1.cs, This file holds your code
33+
Dependecies, This holds the dlls your project references such as unity and ultrakill
34+
(ModName), This will be above those 2 and its named what your mod is named, this is the .csproj we have been looking for
35+
Double click (ModName)
36+
---end---
37+
---os:mac
38+
### VSCode
39+
Locate the "Solution Exlorer" On the right side of the screen if it isnt there you can open it by pressing (Ctrl+Alt+L)
40+
There are 2 Objects that should draw your attention,
41+
Class1.cs, This file holds your code
42+
(ModName).csproj, this is the .csproj we have been looking for
43+
Double click (ModName).csproj
44+
---end---
45+
---os:linux
46+
# Implement Rider
47+
---end---

0 commit comments

Comments
 (0)