Skip to content
Menu
SteamAH
  • Cheat
  • Guide
  • Tips
  • Game Lists
  • Privacy Policy
SteamAH

Unity of Command II: Modding Guide

Posted on November 14, 2019

Here is a guide on how to create mods and upload them to the Steam Workshop.

This guide is sections describing different types of mods will be added over time.

First and foremost, locate the game’s Steam install folder.
In it, you’ll find the prep.exe script. This is the main modding tool, and is used to build and upload mods.

Secondly, locate the game’s AppData folder at %localappdata%/.uoc2/.
The _packages directory located here is where all your mods will be stored locally.

Unity of Command II: Modding Guide
The game consumes mods in the form of packages. A package is a directory containing some assets. In the game’s installation folder is the base package (_packages/base).
This package contains all of the assets that the game ships with.
Mods are packages that share the directory structure of the base, but change some files in it.

Each section of this guide describes how to create a specific type of mod.

Enjoy personalizing your Unity of Command II experience!

Editing the game’s configuration files

Creating a mod

Unity of Command II uses YAML configuration files for almost everything.
These files define things like the camera, AI behavior, game rules and much more!
Most of them can be found in the base package at _packages/base/config.

Let’s create a new camera mod! First, create a new package in AppData _packages. I’m calling mine camera_mod.

Unity of Command II: Modding Guide
Now, create constants.patch.yml in the camera_mod folder with the same directory structure as in the base package.

Unity of Command II: Modding Guide
constants.yml contains a lot of data, but we can modify only some of it.
For example in the camera mod, I’ve only edited some of the zoom values.Unity of Command II: Modding Guide
The camera mod we’ve crated allows for some pretty epic zoom outs!
Unity of Command II: Modding Guide

Uploading to Steam Workshop

To upload the mod, run the steam_ws_upload command with the prep script in the game’s install directory.

./prep.exe steam_ws_upload {package_name} –title=”Item title” –description=”The item’s description” –visibility=0

The {package_name} is the name of the mod’s package directory. So it would be camera_mod for the above example.
The –visibility kwarg can be 0 (public), 1 (friends only) or 2 (private).
Adding a thumb.jpg to the mod’s package directory will set it as the mod’s thumbnail.
When updating the mod the –title, –description and –visibility kwargs aren’t required.

READ:  Unity of Command II: Save File Location

MORE GAME GUIDES FOR YOU

Related Posts:

  • Portal 2: How to Upload a Hammer Map to the Workshop
  • Dark Deception: Save Game Guide
  • Battle Royale Tycoon: How to Creat VIP Mods
  • Wolfenstein Youngblood: All Concept Package Locations
  • Life is Feudal: Forest Village – How to Create Modded Maps

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Loop Hero Cheat Sheet Guide
  • College Kings Complete Walkthrough Guide
  • College Kings All Unsensored Scenes [v0.7.3]
  • Tale of Immortal Beginner’s Guide for English-Speaking Players (鬼谷八荒)
  • Loop Hero Complete Warrior Guide
©2021 SteamAH | Powered by SuperbThemes & WordPress

Welcome to SteamAH!

We'd like to use cookies to help analyse, improve and personalise our service to you. Using cookies we are able to provide better contextual advertising (which pays to run this website) and share anonymised statistics with our partners and potential clients.

You can find out more in our Privacy Policy and customise your settings below.

Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.

Click below to consent to the use of the cookie technology provided by vi (video intelligence AG) to personalize content and advertising. For more info please access vi's website.

Show purposesShow vendors
Privacy settings