senkou kaitori posts
I joined 1 Week Gamejam
I made a Side-scrolling action game with Unity at 1Week Gamejam.You can play here, for free! -> https://unityroom.com/games/furu_sword
Structure of ModularPartDef
ModularPartDef is a Def that defines a part that can be attached to a modular weapon. It's written as follows; <defName>The name of the def. Required like any other Defs. <label>The name of the part displayed in the game. <description>Description of the part displayed on the gunsmith screen. <kind>Classification of the part. Enter the same as defined in CompModularParts. <path>File path of the part graphic. Write the path below the AssetBundle. <overrideAssetBundleName>File path of AssetBund...
New mod released!
https://steamcommunity.com/sharedfiles/filedetails/?id=2935666729↑SUBSCRIBE NOW↑
Structure of ThingDef for ModularWeapons add-on mod
This is a ThingDef in XML file of PDW addon. I've underlined the important points in red;A good way to get started is to copy-paste from the base game weapon XML, and modify some of it. If so, here's what you should change:1. Set parent of ThingDef to "BaseModularWeapon".2. Change <graphicData> node.<graphicClass> node MUST be "ModularWeapons.Graphic_Modular".<texPath> node specifies the path of the AssetBundle and the path of the default image (such as in the crafting sc...
File structures of ModularWeapons add-on
The file structure of "ModularWeapons - PDW Addon" is as follows;About folderThe About folder is like any other mod. Don't forget to add ModularWeapons mod into <modDependencies> in About.xml.AssetBundle folderPut the AsserBundle file created in the previous post, here. Hierarchy changes via LoadFolders.xml are not supported! Be careful.Textures folderPut a image file with the same name, same hierarchy as AsserBundle here. This folder supports LoadFolders.xml.Languages folderPut file...
How to create an AssetBundle for ModularWeapons
Gunsmith system of ModularWeapons requires specially formatted texture files. So we need AssetBundles to prepare it.Step1: Install Unity to your device.From here; https://unity3d.com/I recommend the same version of Unity as Rimworld, but it doesn't seem to have to be exactly the same version. I use 2019.1.14f1.Step2: Create a project and import assets.No needed to change any settings when creating a project.Then, import all texture files into Project window. Like this;Don't forget "B...





