Mindustry

Mindustry

C.A.M.I. - Configurable Aerial Maintenance Intelligence
16 Comments
Nova 6 Nov, 2022 @ 1:37am 
On a side note, the Nova tree up to Vela is capable of flight. If it's not there yet, maybe add those units for the sake of convenience?
Foxo  [author] 5 Nov, 2022 @ 5:41pm 
Sadly not, units do not path when given a move to command, so it will just end up making ground units walk into walls as they try and go to the closest point, it would work on certain maps where they are completely open or in situations where your units will always be within line of sight of a repair point, namely when you have a front line next to a enemy drop zone. I can VERY easily make one for ground units however if you still want one... also note that this system will be pretty useless due to the new command system that is either out or only out in the beta because processors cannot touch units you are commanding and flagging units is extremely wonky.
Trader 5 Nov, 2022 @ 10:15am 
Is there one of these for ground units?
Nova 20 Jun, 2022 @ 3:48am 
Not bad, but may I suggest to - if there are no repair points - just surround CAMI as a fallback? It's what I would've done.
Foxo  [author] 19 Mar, 2022 @ 7:51pm 
Thank you, I am planning to make a LOT more logic based schematics in the future, but it's hard for me to come up with ideas right now as I need to get further along in the campaign for any opportunities for logic based needs to arise. I've got a few in the works right now that I'm debating if they are helpful and something I would use.
xeno 18 Mar, 2022 @ 9:12am 
yo this really works well! i hope you'll make more processors type works.
Foxo  [author] 15 Mar, 2022 @ 10:20pm 
Ah! My hollowed out heart... it can't take compliments... Thank you
Thundermagnet 15 Mar, 2022 @ 10:09pm 
Well, I am glad you built one. It means you learned something! And- you did it right. You are actually the first person I have seen do that. So props to you. :) Have an award!
Foxo  [author] 15 Mar, 2022 @ 7:42pm 
Oh, there's Unit healers on the workshop? I just couldn't find any so I spent a whole day staring at my screen trying to figure out how to make things bind to units... and then once I was done... i realised testing with the enemy Ai building stuff is a bad idea as they built a lancer turret next to my processor in a place that held no significance what so ever and they instantly shot the prototype that I didn't make a copy of so i had to restart from scratch... I wouldn't have bothered learning how to code if i knew you had built one.
Thundermagnet 15 Mar, 2022 @ 7:28pm 
*squints suspiciously*
This seems highly similar to my healing device I posted a month ago...

That being said, glad to see you saw the same problem I did and came up with your own solution! It has always annoyed me how people make bad unit healers that just send units for healing but don't check flags and don't check to make sure they are fully healed before releasing them.

Props to you.
Foxo  [author] 15 Mar, 2022 @ 7:20pm 
I-i don't know how to really respond... I was really expecting someone to tell me my little C.A.M.I. wasn't working properly, instead I got complimented about my profile choice... Thanks for putting a smile on my face, your little profile pic is pretty cute too.
sunRay 15 Mar, 2022 @ 6:57pm 
Cute profile picture
Foxo  [author] 15 Mar, 2022 @ 8:03am 
No worries, make sure to come back and give any more thoughts if anything pops up, I'll happily answer and/or fix the issue.
index 15 Mar, 2022 @ 7:39am 
yeah it's all good, checked all the logic blocks and no print messages were left, it's just me being weird about things again..
Foxo  [author] 15 Mar, 2022 @ 7:13am 
Well, the jump statement bypasses all the print messages, so the code never actually runs over them... plus that is only for the configurable part of the system, that bottom processor only tells the other systems what value they should use, which means even if that code only ran once to shove values into the memory block, the other processors would still work at peak efficiency... as efficient as a micro processor would run of course... and EVEN then, it takes a few milliseconds to check if it actually has to do anything with the unit in the first place before trying to do a bunch of shenanigans.

If it was one of the top more vital processors that actually do things, I would certainly put a message block down, thank you for your concerns anyway.

Unless i left print messages in the top processors, then that was purely just a mistake while I was trying to make this goddamn code because it didn't exist anywhere else.
index 15 Mar, 2022 @ 2:51am 
having print messages in the logic block just to explain how it works is a bad idea in my opinion, if there are a lot of units the processor will run a lot slower, e.g 200+ or more units of each type, maybe add a message block next to the processors ?