Owlcat.Templates 1.4.2

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 Trader
  • rtmodworkshop - 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 Righteous
  • kmmod - 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.

Version Downloads Last updated
1.4.2 80 4/23/2024
1.3.4 78 4/23/2024
1.2.2 530 12/3/2023
1.1.4 322 11/25/2023