Ket's Radars


Adds 3 new tiers of Radars. Each tier with 3 different types of radars: standart, exploring and observing.

Content
a month ago
1.1 - 2.0
2.73K
Combat

g A performance issue

8 months ago

If too many radars are deployed, there will be a significant performance issue. I noticed that you modified ‘energy_usage’ in your code, but did not modify ‘energy_per_nearby_scan’. This will cause the radar to update a large area of the map every second, which is very resource-intensive. If the map is to be continuously illuminated, the value of ‘energy_per_nearby_scan’ needs to be at least 5 times greater than ‘energy_usage’, which translates to an update every 5 seconds (the limit is 7.4 times, but the map will noticeably darken). For example, if you set ‘energy_usage’ to 1.2MW, ‘energy_per_nearby_scan’ needs to be adjusted to 6MJ.

New response