As an improvement: The @links constant will tell you how many blocks are linked to the processor, you can then loop using jumps and use the "get link" instruction to dynamically control every linked structure, without having to edit the code every time you link a new structure.
@links (total amount of linked buildings, for example if you have 5 links, the value of @links will be 4 since link index begins at 0) helps to simplify many logic instructions using lots of links
the schematic is literally in the comments bro...wait its weirdly hidden, click sort by newest and you will see. I have enough logic to keep dark out I am not scared
Actually logic blocks arent really needed in campaign.they are for playing with in sandbox. I have beaten a few eradications and extremes without logic blocks entirely so not really needed.the one real use you have for logic is feeding your unit factories using monos to do so. That be it tho
Here is the schematic bros radar player any any distance ripple1 1 radar sensor x radar @shootX sensor y radar @shootY sensor shooting radar @shooting jump 6 equal shooting true end control shoot ripple1 x y shooting 0 control shoot lancer1 x y shooting 0
Logic!!! Edit: I noticed that you used control in every turret that you linked, it would be more useful and user friendly if you make a loop over every link and set the first link as radar, I'll try this now and share the schematic :)
Yeah There is def other ways to do this but I am trying to make this logic friendly and basic for people who don't fully understand, do paste what you have come up with thou plsss thanks
Here is, even is more useful because every turret also as a radar! bXNjaAF4nAF3AYj+AAIAAgIABG5hbWUAD0NvbnRyb2wgdHVycmV0cwALZGVzY3JpcHRpb24AAAEAD2xvZ2ljLXByb2Nlc3NvcgAAAAEAAAAAAA4AAAEreJxVkE1uwjAQhQdaApj2AN35CPmFsGPTG3TRLi3iQtrUCXYikZNXVX/cCXiMUBQp35vnl3keAcCnkS0vech2sq1K9c7bTutBYloUQvOmEr3UXKj+9BalaYXaSrJFzsCMVKbW/EgHNmZf1+0z6f21/kL6ia5npdqxt+6j4TmXh05UzvMqKiPZtlatrklzSxwx/iyErG64KApsVPLoHBPxShrztBfq8YDqZmhpGFZ/gKkum6aSGUxgRBDZLwgIlvYPxgQrNN0Q5HCLj4O1/cWImQsI7Q/MPEXWwtxTjHHMU4K+sacUFphPlKEv8LTEjEvKaph4yvHfC09rnNwRxSEEWIEogqn99hTDHHcjSoANeztKMQM8ZXCPDV3ZBAf+gtLhRghi/Jz8Ay3BtkQAw0ammw== Edit: improved
@@SCHEMATIC So I played a bit with the code and... this is what i have now. You can test it to see if you like it! Cheer set i 0 getlink a i radar player any any distance a 1 result sensor x result @shootX sensor y result @shootY sensor s result @shooting jump 8 equal s false control shoot a x y s 0 op add i i 1 jump 1 lessThanEq i @links
you could add some code to itterate through link#s, then it doesn't matter if theres 1 or 5, ripples, lancers etc... will just itterate through every linked block.
Whoa thanks, this is a gentle introduction to logics. So far I felt ashamed not diving into logics as a software programmer :D No way to label units so the logic would control all of them with no change to the code?
wonderful video, clean and easy to understand. quick question: How can I make multiple turrests with logic so that all my foreshadows shoots the strongest? keep up the good work!!!
Is there anyway the "Get link" could be used so if you dont have time to copy and/or write the code to include all the turrets you can. instead just link them and start shooting
Yeah the dude below did this for us bXNjaAF4nAF3AYj+AAIAAgIABG5hbWUAD0NvbnRyb2wgdHVycmV0cwALZGVzY3JpcHRpb24AAAEAD2xvZ2ljLXByb2Nlc3NvcgAAAAEAAAAAAA4AAAEreJxVkE1uwjAQhQdaApj2AN35CPmFsGPTG3TRLi3iQtrUCXYikZNXVX/cCXiMUBQp35vnl3keAcCnkS0vech2sq1K9c7bTutBYloUQvOmEr3UXKj+9BalaYXaSrJFzsCMVKbW/EgHNmZf1+0z6f21/kL6ia5npdqxt+6j4TmXh05UzvMqKiPZtlatrklzSxwx/iyErG64KApsVPLoHBPxShrztBfq8YDqZmhpGFZ/gKkum6aSGUxgRBDZLwgIlvYPxgQrNN0Q5HCLj4O1/cWImQsI7Q/MPEXWwtxTjHHMU4K+sacUFphPlKEv8LTEjEvKaph4yvHfC09rnNwRxSEEWIEogqn99hTDHHcjSoANeztKMQM8ZXCPDV3ZBAf+gtLhRghi/Jz8Ay3BtkQAw0ammw==
every time i cap an enemy sector with thorium it seems there is a sector next to it with a core invading, do you have any tips for this sort of situation? are their any thorium sectors without enemy cores sitting next to them? could you provide a guide or bot factory schematic for capping attack sectors, it seems to be the one game mode that I'm bad at ty for the helpful vids btw
I havnt actually had much time to play campaign so I’m not much help for that yet :(. One thing I do use thou is plastanium mixed with pyratite belts to feed ripples. They will destroy an enemies defences SO well
Ive created a massive storage base in salt flats. I have 100's of vaults connected to unloaders, then launchers. I can launch up to 4k of materials a minute by pausing, and jumping back and forth to choose materials to launch. You can also launch from there if the vaults are full, and your base is. If you design your own launch base by using a schematic of one then you can come in vastly more capable. But it takes some planning.
@@victorylion610 you must crush those enemy bases using units. You will need the capable tier that can handle the job like a high threat needs t3 units for example. Master units and take those bases out to make your sectors safe. Ill warn u now tho.....be prepared to die in nuke production and impact0078 because those 2 sectors have eradication and extreme level threat sectors pouncing at you very frequently. I suggest just capping those 2 sectors to unlock the research and thats it. Come back later on when u have unlocked t4 and t5 units and decimate said sectors.
@@greywar777 i did the same thing dude but i did it in multiple sectors.i speed blitzed clean through all t4 unit research and the t5 unit reconstructor all in one go because i had over 300k each resource saved up on top of my cores which are all nucleuses with 8 vaults around them. And yes,i even went all the way back to ground zero and transformed all the other sectors into megastorages as well. Fistbump because we thought of the same thing.
@@JimmyChow42069 People keep asking me this. I like didnt expect to somehow make a youtube channel, I just threw up some videos for people to learn. However this is somehow gaining traction which I still find weird. I don't even have discord. SO... like why would you want to join my discord channel? This is like market research for me. So this just an easy way for us all to talk then make videos together or something?
@@SCHEMATIC I'm interested of the L-code Cause I didn't think of ig that way I thought it would be another useless tutorial about how to make controlled defense system that once you get away of it stopes
I’m at 00:53 and all I see is basic coding knowledge. I thank you for taking the time to show others how useless their time was used. Please continue to show everyone how to think for them damn selves.
As an improvement: The @links constant will tell you how many blocks are linked to the processor, you can then loop using jumps and use the "get link" instruction to dynamically control every linked structure, without having to edit the code every time you link a new structure.
@links (total amount of linked buildings, for example if you have 5 links, the value of @links will be 4 since link index begins at 0) helps to simplify many logic instructions using lots of links
Sorry I’m late, how do I fulfil my role as a constant?
I**** THAT WILL MAKE YOUR PC BURN, IT WASTES SO MUCH PERFORMANCE
You're helping so much im trying to capture the extremes sectors great video
Literally don't even know what that is since I spend so much time making these concepts ¯\_(ツ)_/¯
the schematic is literally in the comments bro...wait its weirdly hidden, click sort by newest and you will see. I have enough logic to keep dark out I am not scared
Actually logic blocks arent really needed in campaign.they are for playing with in sandbox. I have beaten a few eradications and extremes without logic blocks entirely so not really needed.the one real use you have for logic is feeding your unit factories using monos to do so. That be it tho
@@SCHEMATIC does it work on mobile
@@ceilinglight1413 I mean...it should do
Schematic ~ uploads at 4am
Me ~ "righto looks like we're waking up early today"
I actually had a real lol here. thanks bro
Lol
@@SCHEMATIC then i read the reply XD
Here is the schematic bros
radar player any any distance ripple1 1 radar
sensor x radar @shootX
sensor y radar @shootY
sensor shooting radar @shooting
jump 6 equal shooting true
end
control shoot ripple1 x y shooting 0
control shoot lancer1 x y shooting 0
You should put the schematic in the description cuz if we dont sort the comments its invisible
or pin it at least so it doesn't get lost
@@rushiewashie I didn't even know you could pin, I am literally a youtuber boomer now
@@theharryx1984 ohhh, right wait just found out I can pin comments so I will always pin them now, sorry youtuber boomer here
I have never youtubed before, You might be getting my face mixed up with chris hemsworth
thanks brother. simple thank you is not enough to describe how great your contribution to the community
Thanks buddy
this little if jump makes a great difference. Good finding
Yeah took a while to think how to fix this and it was that simple
Nice...
Love games with simple programming languages like this. Reminds me of the FFXII Gambit system almost.
Wow
I have nothing to say but amazing and thank you
Hope this helps with the algorithm
good day to u sir. thanks
Logic!!!
Edit: I noticed that you used control in every turret that you linked, it would be more useful and user friendly if you make a loop over every link and set the first link as radar, I'll try this now and share the schematic :)
Yeah There is def other ways to do this but I am trying to make this logic friendly and basic for people who don't fully understand, do paste what you have come up with thou plsss thanks
Here is, even is more useful because every turret also as a radar!
bXNjaAF4nAF3AYj+AAIAAgIABG5hbWUAD0NvbnRyb2wgdHVycmV0cwALZGVzY3JpcHRpb24AAAEAD2xvZ2ljLXByb2Nlc3NvcgAAAAEAAAAAAA4AAAEreJxVkE1uwjAQhQdaApj2AN35CPmFsGPTG3TRLi3iQtrUCXYikZNXVX/cCXiMUBQp35vnl3keAcCnkS0vech2sq1K9c7bTutBYloUQvOmEr3UXKj+9BalaYXaSrJFzsCMVKbW/EgHNmZf1+0z6f21/kL6ia5npdqxt+6j4TmXh05UzvMqKiPZtlatrklzSxwx/iyErG64KApsVPLoHBPxShrztBfq8YDqZmhpGFZ/gKkum6aSGUxgRBDZLwgIlvYPxgQrNN0Q5HCLj4O1/cWImQsI7Q/MPEXWwtxTjHHMU4K+sacUFphPlKEv8LTEjEvKaph4yvHfC09rnNwRxSEEWIEogqn99hTDHHcjSoANeztKMQM8ZXCPDV3ZBAf+gtLhRghi/Jz8Ay3BtkQAw0ammw==
Edit: improved
You only will need to link every turret that you want and it will work fine
@@hthemaster1 I am going to have a look at this now, thanks bro
@@SCHEMATIC ok i had fun doing it :)
Fantastic, you and the mindustry discord has been helping me learn how to do logic. Great vid again man!
Thank you again DR!
from this point ,you are definetively one of my favorite youtuber :D thanks for your effort in your videos and schematics
Wow, thanks! putting the pressure on me haha
@@SCHEMATIC you are welcome!
Give this man a reward.
You have the best mindustry tutorials I've found on youtube! Keep it up, great work!
Haha love your sense of humor keep up the great workd
I am always serious. Never funny
This guy deserve lot more subscribers 🔥🔥
Small game never going to be big. I need to like make youtube money and build a real alpha spaceship or something to get more subs
@@SCHEMATIC well atleast this game has loyal fan base:D
@@amman272 yeah everyone is a bro
Another great idea! Love it! Thanks for sharing!
You are so welcome!
@@SCHEMATIC So I played a bit with the code and... this is what i have now. You can test it to see if you like it! Cheer
set i 0
getlink a i
radar player any any distance a 1 result
sensor x result @shootX
sensor y result @shootY
sensor s result @shooting
jump 8 equal s false
control shoot a x y s 0
op add i i 1
jump 1 lessThanEq i @links
you could add some code to itterate through link#s, then it doesn't matter if theres 1 or 5, ripples, lancers etc... will just itterate through every linked block.
Thanks for the video! Your videos are way better than these "Logic Showcase" videos that don't share their schematics. You really deserve more subs!
Glad you like them! we getting there bro
Mindustry logic turret campaign attack! Must need logic. Logic example and use case of a radar. Melhor comando de torres
Crux finally learned how to use mender spam
Bro thank you for this! Thru this, i learned how to also bind it to units and thise units whould also shoot the same olace you shot @
Bruhh respect you're doing gods work here,
Thanks for that
I’m trying bro! Thanks
#Dark matter ate the end of the clip#
I wasn't very sure until I saw it in the video, which sensor won't override the turret but control will. Thanks!
Yeah I know what the hell, it came out buggy, youtube removing that part atm anyway. thanks bro
🤔 As I didn't think about it
truth🤔
Great tutorial 👍🏻
Thank you matteo
Sadly it didn't get to 20 000 likes
"Pain"
You can use get link command to control all unit without using different comand for each unit
Yeah that works as well but just trying to cover all different ways to do stuff. Good tip buddy!
Give me those glasses. I liked your video.
I need the 20k likes in 24hr bro
Your stuff is epic
Thanks bro
Damn son! This is gold right here!
Wow, this is great gameplay, i should subscribe to this channel. Maybe leave a like here for his almighty intelligent
I like da PEW logic
Damn that should of been my thumbnail
Whoa thanks, this is a gentle introduction to logics.
So far I felt ashamed not diving into logics as a software programmer :D
No way to label units so the logic would control all of them with no change to the code?
I want those glasses
Boooo. They are only for me
Can you add another logic?? Or maybe a list of logic result?? Sory to asking you so much...
simply thanks
I GRAB THAT GLASSES OVO
back off (ツ)_/¯
@@SCHEMATIC *cries*
@@SCHEMATIC Cancell Shematic his mean fjdhfjxxj
(JKJK UR A GREAT GUY FJJFJFFNFN)
wonderful video, clean and easy to understand. quick question: How can I make multiple turrests with logic so that all my foreshadows shoots the strongest?
keep up the good work!!!
Is there anyway the "Get link" could be used so if you dont have time to copy and/or write the code to include all the turrets you can.
instead just link them and start shooting
Yeah the dude below did this for us
bXNjaAF4nAF3AYj+AAIAAgIABG5hbWUAD0NvbnRyb2wgdHVycmV0cwALZGVzY3JpcHRpb24AAAEAD2xvZ2ljLXByb2Nlc3NvcgAAAAEAAAAAAA4AAAEreJxVkE1uwjAQhQdaApj2AN35CPmFsGPTG3TRLi3iQtrUCXYikZNXVX/cCXiMUBQp35vnl3keAcCnkS0vech2sq1K9c7bTutBYloUQvOmEr3UXKj+9BalaYXaSrJFzsCMVKbW/EgHNmZf1+0z6f21/kL6ia5npdqxt+6j4TmXh05UzvMqKiPZtlatrklzSxwx/iyErG64KApsVPLoHBPxShrztBfq8YDqZmhpGFZ/gKkum6aSGUxgRBDZLwgIlvYPxgQrNN0Q5HCLj4O1/cWImQsI7Q/MPEXWwtxTjHHMU4K+sacUFphPlKEv8LTEjEvKaph4yvHfC09rnNwRxSEEWIEogqn99hTDHHcjSoANeztKMQM8ZXCPDV3ZBAf+gtLhRghi/Jz8Ay3BtkQAw0ammw==
every time i cap an enemy sector with thorium it seems there is a sector next to it with a core invading, do you have any tips for this sort of situation? are their any thorium sectors without enemy cores sitting next to them? could you provide a guide or bot factory schematic for capping attack sectors, it seems to be the one game mode that I'm bad at
ty for the helpful vids btw
I havnt actually had much time to play campaign so I’m not much help for that yet :(.
One thing I do use thou is plastanium mixed with pyratite belts to feed ripples. They will destroy an enemies defences SO well
@@SCHEMATIC ty
Ive created a massive storage base in salt flats. I have 100's of vaults connected to unloaders, then launchers. I can launch up to 4k of materials a minute by pausing, and jumping back and forth to choose materials to launch.
You can also launch from there if the vaults are full, and your base is. If you design your own launch base by using a schematic of one then you can come in vastly more capable. But it takes some planning.
@@victorylion610 you must crush those enemy bases using units. You will need the capable tier that can handle the job like a high threat needs t3 units for example. Master units and take those bases out to make your sectors safe. Ill warn u now tho.....be prepared to die in nuke production and impact0078 because those 2 sectors have eradication and extreme level threat sectors pouncing at you very frequently. I suggest just capping those 2 sectors to unlock the research and thats it. Come back later on when u have unlocked t4 and t5 units and decimate said sectors.
@@greywar777 i did the same thing dude but i did it in multiple sectors.i speed blitzed clean through all t4 unit research and the t5 unit reconstructor all in one go because i had over 300k each resource saved up on top of my cores which are all nucleuses with 8 vaults around them. And yes,i even went all the way back to ground zero and transformed all the other sectors into megastorages as well. Fistbump because we thought of the same thing.
Schematic not in comments sad
its weirdly hidden, click sort by newest and you will see it
@@SCHEMATIC will you discord server
@@JimmyChow42069 People keep asking me this. I like didnt expect to somehow make a youtube channel, I just threw up some videos for people to learn. However this is somehow gaining traction which I still find weird. I don't even have discord. SO... like why would you want to join my discord channel? This is like market research for me. So this just an easy way for us all to talk then make videos together or something?
I am one of the people who keep asking him ,__,
and congrat, you reached 1 million :D
let's have a party with a thousand cakes, lots of soda and music
It's not working for me for some reason( it shoots but doesn't go-to auto shoot when I'm not in area or not shooting myself)
It's possible to use "radar" on the mass driver? Give more range and dont use so much resources
Interesting
🤔
@@SCHEMATIC
I'm interested of the L-code
Cause I didn't think of ig that way
I thought it would be another useless tutorial about how to make controlled defense system that once you get away of it stopes
nice one but when we are on mobile....
what do we do?
Same thing? I have some thing like that and it works
Oh.
Because i try it many tomes and it doesn't work
*998 k till 1 milion
What if there are 2 or more players, what behaviour does it have in that case?
I’m at 00:53 and all I see is basic coding knowledge. I thank you for taking the time to show others how useless their time was used. Please continue to show everyone how to think for them damn selves.
8 minutes is not a short, you could condense this to 1-2m
i liked the video pls send glasses
video didn't get enough likes ¯\_(ツ)_/¯
Hype
Logic link pls ^^
Yeah I will make a new video on that for people who don't know how to
@@SCHEMATIC how to upload builleds to google as a downolad link ?
if you reach 20k subs you eat an egg
How tf do you want 20k when your most popular video has 13k views
cos i don't want to give away my glasses
@@SCHEMATIC why ?
@@johntkiller8456 because they are swag
@@SCHEMATIC are we not swag enough?
@@johntkiller8456 not until you wear them
i hate noobs