Space Engineers

Space Engineers

UPDATED Grid Block Limiter
15 kommentarer
Ebonhand 1. juni kl. 18:47 
Can you provide some examples of how to use the config file for groups and whatnot? There is vague mention of it but no real instructions for the formatting of the cfg file.
jonn19  [ophavsmand] 14. maj 2022 kl. 17:34 
Ouch, and sorry about the slow reply. Big changes to the engine like the Warfare and subsequent updates, obviously impact mods heavily often requiring complete rewrites. Unfortunately I no longer have time to tweak or update any of my SE mods; in fact I'm on a complete SE break. As always, 100% of my work is totally free to share/change/republish, any other author whose content is inside my mods should be consulted separately. Hope the community is still enjoying the game and modders can benefit from my dodgy work!

For most of the questions you have, the best advice I can give you is to test. The question about "points value" of turrets is certainly possible, but again a rewrite would be needed.
Bi0HazardXIII 6. feb. 2022 kl. 11:35 
4.) With the new Warfare Update, all turrets.    
      filled with ammo will explode. You
      mention that if the block limit (in this
      case turrets) is exceeded, the newest
      welded/merged turret block that is piped
      to ammo will begin taking damage (5-10
     delay possibly).

   A. Will the turret explode because of your.
        mod?
                                     OR

   B. Will the turret block simply be deleted?

Again, thank you for taking the time to assist me with these questions.
Bi0HazardXIII 6. feb. 2022 kl. 11:34 
I just had some quick questions regarding you mod, I would greatly appreciate your assistance with this.

1.) Does the Mod check subgrids?
(Ex. Custom turrets)
2.) Can I configure it to have different Max
values for Large grid vs Small grid limits?
3.) Is it possible to incorporate a custom.
"MAX Point" value/system for a grid?
(In this case turrets&static weapons,
Large&Small)
-So when players add weapons, it tallys.
up the points based off the type and
total weapons they choose. Allowing
players to have multiple combinations
based off points, instead of just "Max
Allowed of specified block."
jonn19  [ophavsmand] 31. jan. 2022 kl. 18:46 
HI McGiver. They say anything is possible with enough time and money... unfortunately I lack time right now so although money is irrelevant, I'm not able to make changes. Actually I'm on a hiatus from SE, sorry. But as with all my mods, anyone is welcome to make any changes/recycle however you like.
McGiver 8. jan. 2022 kl. 23:33 
anyway to atach Grid limits to "core block" it maybe cause some divergency of ships i can explain if you have time
[RS] Bartas 24. apr. 2020 kl. 5:32 
Thanks for the tip. I already knew that but with zillions of subbed mods and over 60 used on my server it is a pain in the a$$ to check it one by one. Guess no solution is perfect. BlockLimiter plugin can list those but some are omitted and as I said it causes more problems that it solves.

What would be lovely is the possibility to bypass the limits by server admin - would make my (and all admins) live much easier :)
jonn19  [ophavsmand] 22. apr. 2020 kl. 21:20 
Awesome Bartas, glad it works. The code iterates through all grids one at a time, and only 5 per second, to keep the runtime as low as possible (reduce impact on simspeed) so that's why it's not instant damage. I have found all mods used download into the C:\Program Files (x86)/Steam/steamapps/workshop/content/244850 folder, if you look at the mod reference (e.g. this one's 2016859498, it's in the URL above) you will be able to go into the folder and hopefully find a CubeBlock.sbc or similar, to discover the blockpairname.
[RS] Bartas 21. apr. 2020 kl. 23:20 
It works now. Somehow it only took the first block pairname I limited and ignored the rest. Noticed it takes about 5-10 seconds before blocks are actually damaged but it is OK.
In general it works really well and I'd rather use this that Torch plugin which causes many problems. If only I could get modded blocks pairnames in a reliable way I would be in high heaven.
jonn19  [ophavsmand] 21. apr. 2020 kl. 22:29 
Hi Bartas, unsure what GridManager.cfg is. You'll find the config file BlockLimits.cfg in your save folder/Storage/2016859498_IndustrialAutomaton/ directory. In order to increase the flexibility I had to change the file type totally, I'm sorry, so it might need reconfiguration. I tested it working in SP, vanilla DS and Torch DS so please let me know if you still find issues.
[RS] Bartas 20. apr. 2020 kl. 10:50 
is GridManager.cfg file part of this mod? Coz it seems like it stopped working after update
jonn19  [ophavsmand] 20. apr. 2020 kl. 4:41 
Updated config file with the new version. I've included code to read the old file info and migrate it to the new BlockLimits.xml file, but it will only bring over blockpairnames not types I'm sorry. It's a one-time-pain for ongoing-gain thing.
[RS] Bartas 18. apr. 2020 kl. 6:43 
nvm found it
[RS] Bartas 18. apr. 2020 kl. 6:42 
what is the name of config file? cannot find it on my server
jonn19  [ophavsmand] 14. apr. 2020 kl. 4:30 
Latest update moved location of config file into save folder/Storage. If you have an existing world with the config in the old location it should migrate automatically without losing settings.