Hello survivors, the new version of the game is here (test version of course). Here I have worked significantly on optimization and in general on the trend of the game as such, it is important to note that while I was testing the game, I found some more flaws in the optimization, which will be corrected, also because I have not yet had time to write a validator version of the localization of the game, some items may not have their name. In short, what is it, the game had a serious optimization problem on 3 points:
1. A monstrous map with tons of AI and NPCs.
Yes, you can say that many games have large maps with a lot of AI, but this one stands out by the fact that all these animals interact with each other and lead an active life, my goal is to achieve that between the NPC and the player can be put an equal sign. What do I mean by life?
This is when 2 km away from all players a group of NPCs decided to attack another and have a firefight, or some NPC attacked by a pack of wolves and it all happens without the intervention of the player, thus creating a truly living world.
So here’s how I solved this problem, I divided the map into 4 areas between which you can move only through the cordon and special checkpoints thereby reducing the size of the map, as well as what allows me to fill them more subtly (For example, at the location of Huta now there are many tactical shelters).
2. A large number of trees. Solved it by dividing their number by two.
3. The most unusual, but it is SSAO, surprisingly, but if you turn it on and then turn it off it will still run in the background (most likely a shader error) thus consuming a significant amount of resources. Solved this by writing a more optimized shading algorithm. In general it came out like this list, I leave a link to download the new version here, thank you very much to those who read this to the end, congratulations, you are the 1% 🙂
Link: