Mindustry

Mindustry

Not enough ratings
C.A.M.I. - Configurable Aerial Maintenance Intelligence
2
2
   
Award
Favorite
Favorited
Unfavorite
Tags: schematic
File Size
Posted
Updated
3.811 KB
12 Mar, 2022 @ 4:57am
12 Mar, 2022 @ 11:11pm
2 Change Notes ( view )

Subscribe to download
C.A.M.I. - Configurable Aerial Maintenance Intelligence

In 1 collection by Foxo
M.D.F. Automation
3 items
Description
The Configurable Aerial Maintenance Intelligence or CAMI for short is a processor block that will bring over any aerial units that have taken damage and send them to the nearest repair point.

So where's the configurable part I hear you ask, the bottom processor. It contains all the information you'll need so you can set the percentage of when each class of unit should retreat, which simply means you could have CAMI take over Flares so they retreat at the first sign of damage, while your Zeniths will fight to their last breaths.
Instructions are inside the configurable processor at the bottom underneath the memory block.

Things to note: CAMI works with other processors that work with unit "Flagging" rules, meaning she shouldn't be conflicted by other processors while carrying out her job, she takes utmost importance and will stop other processors from touching damaged units until they are fully healed, once they are fully healed, she will change their flag back to 0 for that unit to be used once again.

If you see any abnormal behaviour from aerial units, such as trying to move back and forth extremely quickly, you may be witnessing conflict between CAMI and another processor that does not run with "Flagging" rules.

If units run to the bottom left corner of the Area of operations, then CAMI is confused because there aren't any repair points.
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.