Make a model in Blender or any tool that exports glTF, FBX or OBJ, and Studio writes it into the game's own files. You can replace a mesh the game already has, or, on RF Online, add a new item or creature built from one that exists.
All of it happens on the Files tab of the model viewer, and all of it goes into the project: Install puts it in the game. See Projects and Install. To import a prop onto a map instead, see Importing models and building maps.
Start from the game's own rig
Studio matches your model's bones to the game's by name. The easiest way to get them right is to start from the model you are replacing:
- Open the model and choose Export .glb on the Files tab.
- Open the
.glbin Blender, change the mesh, and keep the armature and its bone names. - Export to
.glb,.gltf,.fbxor.objand import it.
A model exported, edited and imported this way comes back on the same corners and bones it left on.
Replacing a mesh
For RF Online and Gate to Heavens models. Under Import a model on the Files tab:
- Under Replace, pick which of the model's mesh files your model takes the place of.
- Set the scale, in game units per unit of your file. 1 suits a model exported from Studio.
- RF Online only: switch on Empty nodes become helper nodes to keep empty points in your scene (such as
effect1orP01) as the helper points effects and held weapons attach to. - Choose Import a model (.glb, .gltf, .fbx, .obj)… and pick the file.
The mesh and its textures are saved into the project, and the model reloads wearing them.
- A skinned mesh binds by bone name, or by the nearest parent named for a bone, with up to four bones for each vertex. A joint that matches no bone stops the import and names the joint.
- A mesh with no skin rides the nearest bone it is named for, the way a held weapon does.
- RF Online: each textured material is saved as the game's own texture, beside the mesh.
- Gate to Heavens: the part draws with one texture, the first textured material in your scene, sized to a power of two. Corners no bone claims take the bones of the original part's nearest corner, so the parts you did not touch animate as before.
A new item (RF Online)
On Dragonborn, Age of Patron, 1.5 and Golden Age, a model can become a new item in the game instead of replacing one. Open a weapon or shield, or a character wearing the armour or cloak you want to start from, and the Files tab shows Import as a new item:
- Type the Item name.
- Choose the button for the kind of item: Import as a new weapon like, followed by the mesh it starts from, and the same for a shield, each armour slot and a cloak. There is one for each kind the open model holds or wears.
- Pick your model file.
The scale and Empty nodes become helper nodes under Import a model apply to a new item or creature too. The Inventory icon choice in the same section sets the new item's icon; see The inventory icon.
Studio copies the item that draws that mesh into a new item with codes of its own, and writes the mesh, its textures and the client's item and name tables into the project. Armour and cloaks get one mesh for each body the item fits, each bound to that body's skeleton. The new item is listed in the Models panel at once, under its name.
- Leave the name empty and the item is named after the one it copies, with "(custom)" after it.
- A second import reads the project's tables, so you can add as many items as you like before installing.
- Starting body parts and costume weapons cannot be copied.
Costumes (RF Online 1.5)
On 1.5, open a costume armour piece, shield or cloak and the button makes a new costume of that kind, in the client's costume tables. Other versions have no costumes, so the button is not offered there.
The inventory icon (RF Online)
A new item gets its own picture in the inventory. Before you import, pick one of:
- Render a new icon (the default): Studio draws the new item on its own, an armour piece or cloak without a body, from a front three-quarter view on a transparent background, crops it and scales it to the icon's size.
- Keep the cloned icon: the item shows the icon of the item it copies.
- Image file…: a picture of your own (
.png,.jpg,.bmp,.tgaor.dds), chosen with Choose the icon image….
Studio puts the picture in a free cell of the client's icon sheet for that kind of item, or adds a row of cells when the sheet is full, and points the new item at it. The client keeps a copy of the sheet for each language it ships; every copy gets the same picture. Check says which cell it would use.
Changing the icon afterwards
With a new item from the project open, the Files tab shows Inventory icon:
- Re-render the icon of … draws it again, after you have changed the model or its textures.
- Use an image file for the icon of … takes a picture of your own.
Both show the picture over a dark inventory slot first. Write this icon into item.spr writes it, Check says where it would go, and Discard drops it. An item that still shares the cloned item's cell is moved to a free cell of its own, so the original item keeps its icon.
A recolor variant (RF Online)
A recolor variant is a new item that is a copy of a weapon, shield, armour piece or cloak in other colors. On the same versions as a new item:
- Open the piece, or a character wearing it, and go to the Files tab.
- Type the new Item name under Import as a new item.
- Under Recolor variant, choose Make a recolor variant….
- Pick the piece from the list, and set Hue shift, Saturation, Brightness and Contrast. The model shows the new colors as you move the sliders.
- Choose Create the variant of …, or Check first to see what it would write.
Studio copies the item into a new item, as an import does, with copies of the piece's own meshes for each body that wears it and new texture files holding the recolored pictures in the originals' formats. The new item's icon is rendered from it, and its server row is added in Game data as for any new item (below).
Reset the sliders puts the colors back, and Close and restore the model's colours leaves without making anything.
A new creature (RF Online)
On the same versions, open a monster and the Files tab shows Import as a new creature:
- Type the Monster name.
- Choose Import as a new creature (.glb, .gltf, .fbx, .obj)… and pick your model.
The creature becomes a new monster, copied from the one you have open, and is listed in the Models panel at once.
- A rigged scene keeps its own skeleton and animations when it is animated or its bones are not the open monster's. Name each animation after the action it plays, as the open monster's animation list shows them (for example
WARATTACK, orATTACK; case, spaces and punctuation do not matter). An action none of your animations is named for gets a still pose, and the import warns you which. - An animation longer than about 13.6 seconds is cut there, with a warning: the game's clips can hold no more.
- Any other scene, one with no animation whose bones carry the open monster's bone names or that has no rig at all, binds to that monster's skeleton and copies its animations.
To give the new creature a glow, see Giving an item or monster a glow.
The server's row
A new item or creature needs a row in your server's game data too. With Game data open on a project copy of your server's data, the import adds that row there as a pending edit, in one undo step. Save it in Game data, then Install writes both halves.
Without a project copy open, the import writes the client's files only, and the toast says so.
When your server's table holds more rows than the client's, Studio first copies the extra rows into the client's table, so the new item lands on the same row in both. It reads them from Game data, so in that case it refuses the import while Game data has unsaved edits. Save or undo them first.
Check before you import
Check, beside every new item and new creature button, asks for your model file and runs the whole import without writing anything. The Files tab then lists what it would do: the name and codes, the row it copies, every file it would write, any warnings, and the server row Game data would add, or why it would refuse it. Clear hides the list.
After an import
- Compare the model with the game's own copy using Compare with the original.
- Edit its textures with Editing skins and hot reload, Painting on the model or the texture editor.
- Change its meshes on the Edit tab or in Blender.
- Choose Install to put everything into the game and the server.
Icon and variant limits
- No game client has been run yet with an edited icon sheet or with a sheet that has grown a row. Check an icon in the game before you rely on it.
- The rendered icon shows the item at rest, without its effects or glow.
- While you move a variant's sliders, a texture another open tab also shows changes there too, until you close the variant.
- A body that has no mesh of its own in the copied item is refused when making a variant.
- Gate to Heavens and World of Kung Fu have no new items, so they have no icons or variants here.