Search found 54 matches

Re: Problem with terrain layer-material blending ! [CRYENGINE 5.6.5]

This is not a bug, its a fundamental issue with how the terrain works. The level of blending you can do is directly tied to the resolution of the heightmap, which means that with a 1 to 1 size it will generate one square of geometry per heightmap pixel, which then allows you to blend 3 different mat...

Re: Which hash string function should I use in CryEngine?

For your use case i would recommend CalculateHash. Its a standard Crc32 implementation and should produce the same results as other crc32 hashes. I am using it as well for a similar purpose. If you are on ce 5.4 you can also use Crc32::Compute_CompileTime to generate hashes at compile time instead o...

Re: Const Char* in Struct Array

Its mainly the syntax and the updated serialization framework. Everything from now on is gonna use it (including entity properties for exampl) so it lends itself well. It also means you can easily map your data to a file without the need to manually cycle through xml nodes like you need to do with t...

Re: Const Char* in Struct Array

Or you could go with the even easier option of using json and the serialization api: #include <CrySerialization/IArchive.h> #include <CrySerialization/STL.h> #include <CrySerialization/CryStrings.h> struct SBuilding { string name = ""; float money = 0; float electricity = 0; float water = 0; void Se...

Go to advanced search