Topics - ai_enabled

Currently, we don't officially support modding for CryoFall, however many people are interested in how the game built (as all the gameplay-related code and even UI code are shipped in an open source form with the game) so we've decided to share required files to allow opening the game open source part ("Core") with Visual Studio 2017 (Windows only) - so it's possible to edit C# and XAML (UI) code with auto-complete and other features, debug and even make small mods.

Download CustomProjectSystems.zip and extract it into %LocalAppData% folder. After extracting, please ensure that C:\Users\YOUR_USERNAME\AppData\Local\CustomProjectSystems contains the subfolder AtomicTorch.GameEngine.ModProject.

After that, you can open the game solution file with VS2017. It's located in <game folder>\Core\Core.cpk\.

A few important notes:

The CryoFall custom game engine (called Renkei) supports live reloading of C# & XAML code (as well as all the visual and audio assets) so it's not necessary to restart the game to observe the changes!

XAML Designer is not supported (though it can work sometimes, slowly and glitchy) and it's recommended to disable it (Visual Studio Options, XAML designer, uncheck "Enable XAML Designer").

If you want to debug your code with breakpoints, please go to Visual Studio Options, Debugging, uncheck "Require source files to exactly match the original version" (because the game includes C# compiler which performs some code-generation and so resulting C# files do not match the original C# files - but it's not a problem for step-by-step debugging as the C# code lines kept intact).

The character faces should always be as visible as possible. For example, if the game was top-down we would never be able to see the characters faces, and in isometric view, players would only see really small faces without much details and without much customization).

All the clothing and equipment should be visible on the character (and it shouldn't be simple recoloring or texture swaps).

It should be relatively easy to add new content into the game - including faces, clothing, equipment, etc. Let me reiterate - it must be so easy that even modders who are not artists should be able to throw something together in Paint.

It should be relatively easy to animate characters.

The resulting assets file sizes should be reasonably compact.

We've considered three approaches to characters art during the pre-production:

1. All characters made completely in 3D:This will require modeling of the characters, clothing, equipment and even hair. In some cases, it will be possible to reuse the models and just redraw textures, however drawing textures in unwrapped view is hard.The projection will be 3D isometric or similar and players will not see much of the details in face styles and equipment.Animating 3D models is also really hard and requires special (quite complex for novice modders) applications.It's hard to match the style of other (2D) art in the game - buildings, terrain, etc.And it's plainly difficult to integrate 3D rendering with 2D rendering from the programming point of view.Good thing - it allows more views/directions and smoother transitions between them.Conclusion: doesn't satisfy several important requirements

2. Prerendered 3D characters exported as 2D spritesheets (like old-school RPGs and some newer indie games)Obviously, it has all the drawbacks of the previous solution PLUS it doesn't satisfy size requirements as it will require hell lot of images (many frames multiplied on many views multiplied on many different clothes and equipment).

3. Use 2D character art with front and back views only (+ mirroring)This is the chosen solution, completely satisfying all our requirements!The only drawback is that the amount of views/directions is very limited, but it's an acceptable compromise - we've tried hard to keep it looking stylized and fun.With this solution, it's very easy to add new content into the game. You just need to draw a bunch of sprites to add a completely unique face style, clothing or equipment item into the game. You can even use Paint, but we recommend using Photoshop and our special Photoshop template and export scripts (which we will make available later). The game itself is able to automatically reload ANY changed image file and so you can draw-save-try-redraw-save as long as you want and check how it looks in the game.

So, is that it?No! Our animation engine actually allows for much smoother animations and sprite mesh deformations, so you can expect much better animations in the future when we can set aside couple of months specifically for this task. We will come back to that in a year or so and hopefully make our character system even better.

As you know, we're going for vacation before Steam release.But work didn't stop and we will do some other tasks, for which we usually don't have time.Now we want you to have a look on the shiny new Steam Mod Uploading tool and tell us what do you think about it.

Screen #1 - Mod selection (you can drop a file or whole mod folder and Tool will create a header for it and pack it into the .MPK-file)

Currently it's Windows-only (XP/7/8/10), but of course we will port it on Linux and Mac if we get big community using these platforms. It's not too hard, as the tool is developed taking into account Linux & Mac systems.