Owlcat.Templates
1.4.2
Additional Details
Packages earlier than 1.8.x used .NET Framework 4.7.2. Since the community moved on to .NET Framework 4.8.1 since then it is advised to update for templates which have that Target Framework.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet new install Owlcat.Templates::1.4.2
This package contains a .NET Template Package you can call from the shell/command line.
Existing Template:
rtmod
- UnityModManager Template for Warhammer 40,000: Rogue Traderrtmodworkshop
- UnityModManager Template for Warhammer 40,000: Rogue Trader. Adds a publishing task which will directly publish to Steam Workshop.wrathmod
- UnityModManager Template for Pathfinder: Wrath of the Righteouskmmod
- UnityModManager Template for Pathfinder: Kingmaker
Requirements
- .NET SDK Either have .NET 6 or 7 SDK. If you have .NET 8 installed you need to run the following once before you can use the template (if you don't run this with .NET 8 SDK installed you'll get a NullReferenceException when running donet new):
dotnet new globaljson --sdk-version 7.0.100 --roll-forward minor
- The target game needs to be installed. The game must've been started once (for a Player.log file).
- Wrath: Have UnityModManager applied to the game.
Usage
- Open command prompt in directory which should contain project directory
dotnet new --install Owlcat.Templates
dotnet new <TemplateName> -n <ModID> -D "<Mod Name>"
(Replace the <value> placeholder with actual values)- Press y to confirm action (necessary to find Steam Installation Directory)
- Build resulting project once to publicize
- Restart your IDE to rebuild cache if there are still red underlines
After that you should working setup for a UnityModManager mod which:
- automatically installs the mod when building
- has the correct path and already references a few assemblies (and even pubclizies three of them where I know it's often needed)
- has Hotreloading as an option by default; it's in both Release and Debug builds since I haven't found a way to ship Compiler Conditionals.
-
.NETFramework 4.7.2
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.