Current version: BETA 0.9.0, NYR
I would like to extend my sincere thanks for purchasing the Smithy Procedural Asset Framework. If you have any issues or questions not covered in these documents, please contact me and I will do my best to resolve the problem as quickly as possible.
If you didn’t yet buy this asset, I hope that exploring this manual will convince you of its usefulness in your Unity workflow. If not, I hope it’s at least an enjoyable read and might give you a few new ideas for your own projects.
I plan to continue to develop and extend this system, and am constantly looking for feedback and ideas. If Smithy is missing something that you’d like to see please comment on the Unity Forums thread.
Thanks again, and if you create anything using Smithy, I’d love to take a look!
Using this Site
Nearly every control in the Smithy editor links back to this site. If at any time in the Unity editor you need more information, hold ALT and hover over an element. If it becomes highlighted (the cursor will also turn into a link pointer) click it, and a browser window will be opened to the relevant help page.
Otherwise, the site navigation is located at the top of the window, and in-page navigation is on the left-hand side of every page. Teal links can will lead you to further information about the topic.
Smithy is a tool that helps you create assets procedurally, rather than manually. Smithy works through a component called a Smithy Adapter. This adapter sits on a GameObject - any GameObject - and holds Nodes. Nodes are grouped into Plugs (they connect to other objects) and Sockets (they accept plugs). Nodes can sit anywhere in space relative to the GameObject's Transform, but Smithy is focused around adding nodes directly to object Meshes.
Nodes take a number of parameters, set in the adapter's custom inspector. These include where and how sockets and plugs link together.
In your code, you'll create Generator objects, you can pass these a GameObject with an Adapter. Smithy will find the socket nodes on that adapter, and select and instantiate objects that contain matching plug nodes. These plug objects are aligned and positioned with respect to the socket nodes (so nodes on mesh surfaces will seem to be physically connected together -- think LEGO).
This process happens recursively. Smithy checks newly instantiated objects for socket nodes, then generates plug objects for them as well, creating a GameObject hierarchy as simple or complex as you could want.
Smithy only manages the instantiation, parenting, and positioning of GameObjects (and, optionally, Materials). It doesn't interact with, or require, any other component. This means you can use Smithy to create object hierarchies with complex component behavior through scripts, other Asset utilities, and Unity's built-in component menu. Procedural AI behavior, game items, dynamic maps, vehicles, creatures, and anything else that can potentially be created by the computer, can be handled by Smithy.
Smithy is probably best explained by way of example, and there are a few thouroughly-explained demos in this documentation:
Demos and Tutorials
- To get started quickly, try the Quick-Start Guide
- The Strategy Game Tile Demo will teach you how to generate complex scenery that looks hand-made, using only a few meshes and textures. The tutorial focuses on how to prepare assets and Smithy Adapters, and how to use jitter and Material options for maximum effect.
- The FPS Arsenal Demo will teach you how to use Smithy and your own component scripts to create a Borderlands-style procedural gun generator for an FPS game. The tutorial focuses on how to design and implement custom component scripts so Smithy produces output that has the values and behavior you want.
- The RPG Hero example will teach you how to use Smithy in a more abstract way, and create 2D RPG characters with stats and fluff, as well as procedurally generated dialogue and quests. The tutorial focuses on using Smithy on GameObjects without meshes, and how to combine Smithy with other procedural generation techniques to give even more depth to procedurally created assets.
Installation and Setup
The Smithy Asset package can be downloaded from the Unity Asset Store and, from there, imported into an existing project. All files included in the package are required. Demo assets and examples can be downloaded from individual tutorial pages in this site.
|Unity Forums Thread||Asset Store Page||Report a Problem|