Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

I am using the translator to express myself better, but this map can help improve the performance of your server and your fps by up to 40%, Police Station on a normal computer makes 60 fps, on this custom map it does 145 fps .Maybe it's a simple solution to the problem.

I've also renamed the topic to properly reflect on what this thread is; it's not a miraculous way to "improve server FPS", so please do not advertise it as such. This is an official map optimized and stripped down to the bare essentials.

That said, I'd love to see a pack of these available to the low-spec players out there.

just so you know, instead of having to edit the background out of each and every map you have through the map editor, you could just write a script that removes all the background objects during gameplay

just so you know, instead of having to edit the background out of each and every map you have through the map editor, you could just write a script that removes all the background objects during gameplay

► Show Spoiler

You kinda saved this topic here though
Can you send the code here? Shoulda post it on Steam too, surely that'd be useful for some people (like this guy right here)

0 x

♫ I won't walk into the gates of hell just yetThough it's where I belong ♪

just so you know, instead of having to edit the background out of each and every map you have through the map editor, you could just write a script that removes all the background objects during gameplay

I've also renamed the topic to properly reflect on what this thread is; it's not a miraculous way to "improve server FPS", so please do not advertise it as such. This is an official map optimized and stripped down to the bare essentials.

That said, I'd love to see a pack of these available to the low-spec players out there.

I understand you men, sorry but I did tests, in several brazilian servers, players that used to open server with lag for 4 people, can open for 4 or 6 people with quality, besides improving fps it also improves the quality of the server. Test my map in your server, or with your friends server.

I would like to point out that this solution is worth in most of the scenarios but not in everyone, since it processes every background tile in a single loop session, consider using async calls or coroutines for your method, we cannot know for sure that the amount of Bg tiles inside a map will always be negligible, some mapmakers use a big amount of them for foliage/organic scenery, trying to remove all of them at one fell swoop every time the map is loaded may cause an initial lag spike.

Keep in mind that all background tiles can be interacted with via the ScriptAPI or other triggers/markers in the map. For the most part I think it's OK to simply remove all tiles starting with "Bg" if you really need to but some maps might break so keep that in mind.

For best result I suggest you create a series of "Low-detail" maps and share in the Steam Workshop for others to download.
After that create a custom map rotation list over all "Low-detail" VS maps and select that list when hosting a game and you're all set!