Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Any chance of using this?
https://steamhost.cn/steamcommunity_com/workshop/filedetails/?id=2969455858
Or something else to make this more optimized?
Just seems bonkers to me to check every loaded square for only a few locations, or am I misunderstanding things?
I can look into it, but from my understanding events simply fire off, regardless if anything is listening for that event or not. What this mod is doing is simply hooking into the event for loading squares. When a square is loaded it calls the function that adds the propane tank. Granted, this does mean the function is being called every square load, but if the square in question isn't one we want to modify it simply continues on without doing anything else. That is to say that the overhead should be minimal, and may not actually improve by using the library you linked, but it's possible it could improve performance in some way I suppose.
Are you noticing any performance impacts with the mod installed? I didn't see any myself.
That's the point I was trying to make before. :)
Removing mods that rely on the event firing will not stop the event from firing. As long as the mods using the event are doing something simple, such as checking tile coordinates at the loaded square, then it shouldn't cause any real stress on the game.
If someone is crunching prime numbers on each tile load, that's a different story.
For the part that the event always fires, I knew. The part I wasn't sure about and why I did what I did was mods using the event in any way. My programming knowledge is that of a toddler so I simple calculations are cheap generally, but with PZ I have no idea what the consequences are lol. I ran with the Barricaded World mod last playthrough, to devastating results performance wise. From traveling and hitting the loading cones, to cars waiting for you to be inside of them with another car before deciding to load (or not at all), but even after removing most of the mods that use that event, I still see the car issue, but not the cone issue. I guess the major result for perf issues is the loading cones while traveling, and the vehicle issue is vanilla.