1. The Riftbreaker
  2. News

The Riftbreaker News

EXOR Mesh Exporter tutorial

Hello Riftbreakers!

In the roadmap that we published last week, we highlighted extended modding support as one of the major milestones that we want to achieve with The Riftbreaker in the nearest future. Today we are taking the first step towards reaching that goal. This article will teach you how to prepare 3D models to be imported into the game. We’ll show you the basic requirements a model needs to comply with and how to use our tailor-made EXOR Mesh Exporter plugin for Blender.

Please bear in mind that this article is not a modeling tutorial. You won’t learn how to create, sculpt and texture 3D models today. If you want to learn how to do those things, we encourage you to try out some free tutorials on YouTube or other video-sharing sites. It’s not as difficult as it might first seem, and it can be a great pastime activity. Plus, there is no entry barrier - Blender is free for home and commercial use. There are also plenty of ready-made models on the web that you can try importing into The Riftbreaker using this tutorial if you’re not into preparing models yourselves.

Another thing worth mentioning is that despite its name, the EXOR Mesh Exporter is not a tool used to extract 3D models from within the game. It is used to export models from blender in a format that contains only the information required by the game. Thanks to this software, we can reduce the disk space necessary for the game and the amount of data the engine has to read.

With this short introduction out of the way, let’s dive into it!

One of the tools that we use for creating 3D models for The Riftbreaker is Blender. It’s a great, open-source, and highly expandable tool. Almost all hard-surface models for the game (buildings and weapons, for example) are made using this software. As mighty as the program is, its functionality can be further expanded, making it an excellent platform for developers. Blender can export models to many different formats, but none are quite right for our game. That’s where the program’s open nature truly shines. We have created a custom plugin to export the models in a format optimal for the Schmetterling engine.

You can find the tool right here, on our GitHub.

We can confirm that the plugin works in Blender versions 2.93 and 3.1.2. It might also work with newer versions of the program, but it is not guaranteed. Follow the instructions in the included readme file to install and enable the plugin in Blender. Then, use the instructions in this article as a reference to avoid some of the most common problems.

Let’s kick things off with the simplest model you can encounter in the game - a static, indestructible prop, a rock, for example. You can download a blender file with one of our boulders to follow along right here.

  1. Create or open your ready-made 3D model.
  2. Set the scale of your model. By default, the size of the Blender grid is 1x1 meter. However, one building grid in The Riftbreaker has a size of 2x2 meters. This means that if you want your prop to fit within one in-game grid, it needs to be the size of 2x2 meters in Blender.

    The bases of these towers are 1x1 grids, which equals to 2x2 meters.
    A 2x2 model in Blender is a perfect match for our 1x1 grid.

  3. Triangulate your meshes. Follow these steps:


  4. Normalize all transforms. The scale needs to be set to 1 : 1 : 1, and the rotation to 0 : 0 : 0. The model also needs to be centered on the scene. Set the pivot point to 0.0.0. Then select your mesh, press ctrl + a, and click ‘All Transforms’.
  5. Prepare collisions for your model. Collision models in the Schmetterling Engine are usually convex shapes to simplify physics and make collision calculations easier.

    This video explains the difference between the two https://www.youtube.com/watch?v=NlHqdwTtcCY

    Collision models are prepared in Blender, just like visual models. To create a convex hull in Blender, select your mesh, go to edit mode (tab), select all your faces, and then open your search bar (F3 or space, depending on your settings), then use the search option to find Convex Hull and click it. It doesn’t have to be very precise - some clipping is perfectly fine, and the simpler the shape of your collision, the better.

    The model in our example blend file has a concave shape, so it has to be split into two convex collision shapes. Try to limit the number of collisions and their poly counts - the more convex hulls you include, the more performance-heavy your model will be.


    The exporter will use the names you applied to your models in Blender. Set a name for your model, for example - test_rock_01. The collisions for that model need to be named in a specific manner so that the game knows which collision belongs to any given model. You do that by adding a _cX suffix to the name like this: test_rock_01_cX, where X is the number of the collision convex. The first collision for that object gets the _c1 suffix, the second - _c2, and so on. What is essential - collision naming for each model starts from c1 and goes up!

  6. Prepare a UV map for your model. Here’s an excellent tutorial to get you started on that: https://www.youtube.com/watch?v=XeBUfMKKZDo
  7. Texture your model in any texturing software. We mainly use Substance Painter. We have a custom texture exporter plugin for this software as well - you can download it here. This plugin is confirmed to work with Substance Painter version 2019.3.3.

    Here are the Substance Painter export settings.

    If you would like to use any other program, here’s how to manually prepare textures to work in The Riftbreaker:
    • You can download the example set we prepared for you - the steps will be easier to follow.
    • Prepare a set of these textures: albedo, DirectX normal map, roughness, ambient occlusion, metallic, and - optionally - emissive and opacity. (folder 1_SeparateTextures in our example).
    • Combine the textures in graphics editing software that supports channel use, for example, Photoshop, Krita, or Gimp. Here’s the naming convention and the required channels:

      • texturename_albedo : Albedo on RGB channels, Opacity on the alpha channel
      • texturename_packed : AmbientOcclusion on R, Roughness on G, and Metallic on B.
      • You do not need to combine other textures.
    • At this point we should have 3 or 4 texture files for our model:: texturename_albedo, texturename_packed, texturename_normal, texturename_emissive (optional). You can find the example in the 2_ReadyForDDS folder in our example.
    • Open the combined textures using the NVIDIA Texture Tools Exporter.
    • Change the texture formats using the list at the top of the left panel. Follow these instructions for each texture type (screenshot FormatDDS.png).

      • albedo - BC3
      • normal - BC5u
      • packed - BC1
      • emissive - BC1
    • Click Save As. Choose the directory and the name for your texture. Remember the naming convention. Click save. Repeat for each of your textures.
  8. The finished product should look like our example in the 3_FinishedDDS folder.
  9. Export the model using the File > Export > EXOR Mesh Exporter option in Blender.
    Create the corresponding .ent file to see your model in the game. It’s best to use an existing .ent file from the game to make sure you have all the necessary components in there. If you want to add a new rock - just copy an existing one and change the parameters.

Naturally, this checklist only covers the necessary steps for static and indestructible props, but those are not the only models used in the game. We have uploaded examples of several other types to our Dropbox - destructible crystals, trees, cacti, a fully animated creature, as well as a tower set. We will cover how to prepare those models for export in due time. However, if you want to do some tinkering and reverse engineering - feel free to use those files as examples of adapting your models for use in The Riftbreaker mods.

If you have any additional questions or suggestions, feel free to let us know here in the comments or on our Discord - www.discord.gg/exorstudios. You can also create requests on our GitHub page. The Riftbreaker World Editor suite and the accompanying tools are going to be expanded over time, which is why your feedback is really valuable to us!

EXOR Studios

September 2022 Roadmap Update

Hello Riftbreakers!


We hope that you’ve enjoyed what the Metal Terror World Expansion has brought to The Riftbreaker so far. This release doesn’t mean we’re going to slow down, though. Far from it! Here’s an update to our development roadmap and a short presentation of our plans for the future.

A lot has happened already since the launch of The Riftbreaker. We have released a total of 18 updates, both big and small, leading us to where we are today. With the first two major items on our old list checked off, we can talk about the next one - which is online co-op. This is THE hot topic regarding The Riftbreaker. We have already published a detailed article about it, but we can reiterate some basics for a quick tl;dr. The multiplayer mode has been in development since the beginning of this year. While a part of our programming team has been helping with developing the first World Expansion, others started reworking underlying game systems to accommodate multiple players. As of right now, we can tell you the following:
  • We have the game running on multiple PCs connected over a network. There are still a lot of systems we have to port and lots of optimizations to be done.
  • The project is far from over, but the most important things are already in place.
  • The current implementation of co-op is really bare-bones and not ready for public scrutiny.
  • We have shifted more programmers to the multiplayer project.
  • We still don’t have any dates that we could announce in terms of when it’s going to be available for testing.

You can find the in-depth article about the development progress of the co-op mode right here: https://store.steampowered.com/news/app/780310/view/3381659291157676103

…but hey, that only takes up the work time of the programmers, so what are the rest of you going to do?

We are continuously working on improving the overall game experience and expanding the world of The Riftbreaker. You can still expect regular updates and patches from us. When it comes to the bigger picture, we have mapped out a few of the most important developmental milestones that we are working on in the general order that we expect them to be finished.



[h2]EXTENDED MODDING SUPPORT[/h2]

Allowing our players to freely mod The Riftbreaker has always been very important for us. Many of you have already tried the possibilities that the Schmetterling Engine and our World Editor Suite give you with amazing results. However, we agree that mod distribution through Discord and multiple external websites is not the optimal solution. Not only does it limit mod discoverability, but also leads to a multitude of problems after a game update makes a mod incompatible with the game.

We are working on integrating an in-game mod browser that will benefit both mod users and mod creators. Users will be able to discover the latest mods and download them with just a couple of clicks. The built-in mod manager will let them choose which mods they want to run and inform them about any incompatibilities or potential issues. Creators, on the other hand, will no longer have to wonder where to upload their mods. They will also be able to easily update their mods as the development of the game progresses.

We are also planning to make modding even easier for you. The Riftbreaker World Editor Suite is a set of tools that we used to create the game. It is already available for download either through the Steam Tools section or directly through our GitHub - https://github.com/exorstudios/riftbreaker-tools. Thanks to all the feedback we’ve got from you on these tools, we have been able to make major improvements to our editors, introducing a multitude of new functions, as well as stability and performance improvements. The Editor Suite will keep receiving updates, extending its capabilities even further. We are also planning to release our Blender plugins for exporting/importing custom 3D meshes into the game. And for those of you in need of some guidance - more tutorial videos are coming to our YouTube channel. Subscribe not to miss them!



[h2]EXTENDED STORY CAMPAIGN[/h2]

The Riftbreaker is the kind of game where you can spend hundreds of hours optimizing your bases, fighting alien hordes, and searching for the last possible resource deposit to mine out. Some players are happy to do just that, but there are also those who have signaled to us that there is not much to do after the main storyline is finished. We agree - there is a lot of room for improvement and expansion when it comes to the Story Campaign mode.

We are planning to introduce new, far-reaching campaign goals and a new system for generating additional randomized missions through the Orbital Scanner interface. We have received a lot of feedback stating that the Metal Terror campaign branch is much more varied and interesting than the base campaign. We’d love to bring the campaign missions to this level of quality or beyond.

Naturally, such missions would not be much fun if they didn’t pose any kind of challenge, and, let’s be honest, in the endgame, not many things could stand in the way of a fully powered Mr. Riggs. We are planning to continue rebalancing Campaign Mode difficulty, including a major difficulty management system rework. This does not mean we are going to make the game harder for everyone - you will still be able to enjoy the relaxed pace of the Campaign on lower difficulty levels, while long-time veterans should be able to enjoy a real challenge on the higher settings.

Such major changes to the Campaign structure are also a great opportunity to add more world-building elements to the storyline. We heard your feedback - we know it’s been lacking at some points. We would like to tell you more about the world of Galatea 37 as well as Ashley’s motivations for going there. What are the strange bioanomalies that are encountered around the planet? Why are there so many moons around the planet? What’s causing the strange magnetic field anomalies?...



[h2]WORLD EXPANSION II[/h2]

Finally, we are also working on a new World Expansion update. This time we will take you on a trip underneath Galatea’s surface in search of the source of an anomalous crystalline growth that keeps infecting the Galatean wildlife and posing a threat to your presence on the planet. The mission will be long and dangerous, but the plentiful rewards will more than make up for your efforts.

The World Expansion II will be released in the same formula as Metal Terror. Once the expansion is launched, all users will receive a free update, adding all the new technologies, weapons, buildings, and creatures into the game. You will be free to use them in Survival Mode, as well as in your own mods. The story part of the World Expansion will be available as an optional paid DLC.

This time we would like to take a less secretive approach to the development of the next World Expansion. We are working on new gameplay mechanics that we’d like to expand with our community through early playtesting on the experimental branch. We don’t have a release date for the new World Expansion at this time, but since the first one took about 6 months to develop, we expect this one to take a similar amount of time to finish. At this point, we can only share some early concept screenshots of the underground biome to give you a general feel of where we’re going:

https://store.steampowered.com/app/2108630/The_Riftbreaker__World_Expansion_II/

You can expect regular updates on our progress and all the new features that we’re planning to add. Be on the lookout for those in the future!




That wraps it up for today. Thank you for the continued support of The Riftbreaker! None of these things would be possible without your input and willingness to work with us to make the game better. We are very grateful for all your suggestions and feedback. Join us at www.discord.gg/exorstudios to always be on top of all things Riftbreaker.

Cheers,
EXOR Studios

Optimization and Maintenance Update

Hello Riftbreakers!

After a period of testing on the Experimental branch, we are releasing a new patch introducing a large number of improvements and optimizations to CPU performance and memory consumption. If you have noticed memory or CPU-related issues during gameplay, this might just be the patch for you. Naturally, the potential performance gain will depend on the gameplay situation, but we're optimistic about these changes. More optimizations to come!

[h3]The Riftbreaker - Optimization and Maintenance update, September 8th 2022. Binaries #580, Package #202 Changelog:[/h3]
[h2]Changes:[/h2]
  • Added custom minimap markers for meteors and comets of all varieties.
  • Arachnoid Boss' projectiles now leave an acid stain behind. It will damage and slow you down if you walk through it.
  • The game will now always display its version number if modified content is found. This will help us identify bugs caused by mods.

[h2]Fixes:[/h2]
  • Optimized memory usage reducing the overall memory footprint by about 500MB
  • Optimized frame buffer memory formats improve GPU performance by up to 10%
  • Introduced various optimization during map generation steps in order to optimize memory usage.
  • Many sound samples are now streamed to optimize memory consumption.
  • Added instance limits for monster idle sounds - to optimize memory consumption.
  • Fixed lights and other effects in various props - you can guess why.
  • Implemented Target Finder Throttling in drones. Thanks to this change, you should see a large CPU performance uplift in bases that utilize a large number of drones (repair towers, cultivators, minelayers, etc.). It should also fix gameplay 'hiccups'.
  • Optimized the UpdateEnvironment component of the TimeOfDay system. Depending on the circumstances, it can save up to 5ms of logic calculation time. In human terms - it can save you a lot of CPU performance!
  • Introduced extensive optimizations of the LuaSystem that can increase both stability and CPU performance.
  • Introduced a large number of small optimizations in various other game systems. Taken individually, the performance gains from them are negligible, but as a whole, they should free up a decent amount of resources for the game and make it run better as a result.
  • Fixed a memory leak in TerrainAffectorSystem that caused performance degradation when loading old save files.
  • Fixed an error that could potentially unlock research rewards before the relevant research item has been discovered.
  • Fixed building grouping errors in the new building menu screen.
  • Fixed an issue that could cause save file corruption if a player died after they completed a mission during the campaign.
  • Fixed an obscure crash that occurred while disassembling items.
  • Fixed collisions in small metallic crystals - they will no longer block Mr. Riggs' movement.
  • Sentry Gun and Sentinel Tower projectiles should now be able to hit the Metallic Valley alien towers.
  • Fixed a visual bug that prevented pipes from connecting to Geothermal Power Plants.
  • Fixed Phirian dash screen shake effect - the effect would affect the player's screen regardless of distance.
  • Fixed death effects for small units by lowering their scale - previously, the effect would cover up the entire unit.
  • Enemies should no longer be able to shoot their projectiles over tall buildings - we fixed their collision heights.
  • Fixed 'Resist All' function not always working properly.
  • Fixed drexolian_medium_03 tree - the TreeDesc now has a proper mesh name in it.
  • Fixed a couple of missing voiceover lines.


EXOR Studios

Conquer a planet - this time with beavers!

Hello Riftbreakers!


From time to time, we try to share with you a selection of games from other indie developers. The games we choose are usually similar to The Riftbreaker in some aspects - the genre, the setting, or the general ‘look and feel.’ The game we want to share with you today seems to be totally unrelated, but we think that despite the different setting, it might just be the right choice for you. Meet Timberborn - the first ever lumberpunk beaver city builder!



The action of Timberborn takes place long after mankind has done its job on Earth - they turned our beautiful planet into an almost dry and semi-inhabitable shell of its former glory. Luckily, one industrious species with a very particular set of skills has adapted very well to these new conditions - beavers. These ingenious little rodents have been honing their engineering skills for a long time and are now ready to take over the world. If they survive, naturally. Your job is to manage a colony of beavers and guide them to global domination. To do that, you will need to make use of a lot of skills, from city design, through economic planning, to water management.



Despite evolving into a highly intelligent and industrious species, beavers can’t escape their nature - they want to live near water and need it to survive. That is the first challenge your colony will face - the suitable living area near bodies of water is rather limited, and you won’t be able to grow your city forever. At least not horizontally. In Timberborn, you can create highly complex metropolises that grow upwards, not sideways! Stack buildings on top of one another, build walkways, platforms, and bridges. Crush that population density metric!



All the citizens of your new colony will need food and water to survive. Unfortunately, the Earth’s climate has changed a lot, and we only have two seasons now - dry and wet. Those names do not reveal the full scope of things, though. The dry season always brings a drought of catastrophic proportions and the wet season barely brings in enough water to sustain life. That is a problem since you need water to grow food and keep your beavers happy. However, if beavers are good at one thing, that is for sure building dams. In Timberborn, you will be able to construct highly complex systems of dams, canals, and reservoirs. Redirect the flow of entire rivers. Control the ebb and flow of water to irrigate your fields and keep your colony alive.



A beaver can sustain on food and water only for so long - they also need a way to enrich their daily lives in some other ways. Allow your beavers to express themselves by building monuments, decorating the streets and parks with statues and flowers, and allowing them to take part in social activities. A happy beaver is a productive beaver!



Oh, and have we mentioned they’re about to drop a huge update with robotic beavers?

If you enjoy The Riftbreaker you might appreciate the in-depth and relaxed colony management aspect of Timberborn. For a limited time, you can pick both these games up in a bundle at a 10% discount! And if you already own one of these games, you can also pick the other up, also at a discount.

https://store.steampowered.com/bundle/27433/Timberborn__The_Riftbreaker/

Give Timberborn a shot!
EXOR Studios

Optimization and Maintenance update - Experimental 2

Hello Riftbreakers!


We have just published a patch to the experimental branch of the game with a bunch of additional performance-related fixes. This also includes a potential fix for stuttering/hiccups in large bases with high numbers of drones. Give it a shot!

Since we haven’t fully finished testing this update yet. We strongly recommend you to back up your save files before moving onto the experimental branch.

How to join the experimental branch:
  1. create a backup copy of your save folder (Documents/The Riftbreaker)
  2. disable Steam Cloud save backup
  3. go to your Steam Library
  4. right-click on The Riftbreaker
  5. select 'Properties,’ then 'Betas,’ and use the following password: IknowWhatImDoing

After that, you will be able to choose 'experimental' from the drop-down menu. Download the update, play the game and let us know if you encounter any issues. We also have a channel on our Discord: #rb-experimental-feedback - we highly encourage you to join in and share your feedback.

[h3]The Riftbreaker - Optimization and Maintenance update, Experimental, September 7th 2022. Binaries #580, Package #202 Changelog:[/h3]
  • Implemented Target Finder Throttling in drones. Thanks to this change you should see a large CPU performance uplift in bases that utilize a large number of drones (repair towers, cultivators, minelayers etc.). It should also fix gameplay 'hiccups'.
  • Optimized the UpdateEnvironment component of the TimeOfDay system. Depending on the circumstances, it can save up to 5ms of logic calculation time. In human terms - it can save you a lot of CPU performance!
  • Introduced extensive optimizations of the LuaSystem that can increase both stability and CPU performance.
  • Introduced a large number of small optimizations in various other game systems. Taken individually, the performance gains from them are negligible, but as a whole they should free up a decent amount of resources for the game and make it run better as a result.
  • Fixed a memory leak in TerrainAffectorSystem that caused performance degradation when loading old save files.
  • Fixed an error that could potentially unlock research rewards before the relevant research item has been discovered.
  • Fixed building grouping errors in the new building menu screen.


EXOR Studios