Mindustry logic turret campaign attack! Must need logic. Logic example and use case of a radar.

Поділитися
Вставка
  • Опубліковано 24 лис 2024

КОМЕНТАРІ • 137

  • @MadaraUchihaSecondRikudo
    @MadaraUchihaSecondRikudo 3 роки тому +25

    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.

    • @toniphamvan210
      @toniphamvan210 Рік тому

      @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

    • @TheLinksOfficial
      @TheLinksOfficial Рік тому

      Sorry I’m late, how do I fulfil my role as a constant?

    • @brlinf06398
      @brlinf06398 Місяць тому

      I**** THAT WILL MAKE YOUR PC BURN, IT WASTES SO MUCH PERFORMANCE

  • @theharryx1984
    @theharryx1984 3 роки тому +40

    You're helping so much im trying to capture the extremes sectors great video

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому +1

      Literally don't even know what that is since I spend so much time making these concepts ¯\_(ツ)_/¯

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому +2

      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

    • @christophermerritte3176
      @christophermerritte3176 3 роки тому

      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

    • @ceilinglight1413
      @ceilinglight1413 3 роки тому

      @@SCHEMATIC does it work on mobile

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      @@ceilinglight1413 I mean...it should do

  • @--Midnight
    @--Midnight 3 роки тому +33

    Schematic ~ uploads at 4am
    Me ~ "righto looks like we're waking up early today"

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому +7

      I actually had a real lol here. thanks bro

    • @Friredragon
      @Friredragon 3 роки тому

      Lol

    • @Friredragon
      @Friredragon 3 роки тому

      @@SCHEMATIC then i read the reply XD

  • @SCHEMATIC
    @SCHEMATIC  3 роки тому +11

    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

    • @theharryx1984
      @theharryx1984 3 роки тому

      You should put the schematic in the description cuz if we dont sort the comments its invisible

    • @rushiewashie
      @rushiewashie 3 роки тому +3

      or pin it at least so it doesn't get lost

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому +2

      @@rushiewashie I didn't even know you could pin, I am literally a youtuber boomer now

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      @@theharryx1984 ohhh, right wait just found out I can pin comments so I will always pin them now, sorry youtuber boomer here

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому +2

      I have never youtubed before, You might be getting my face mixed up with chris hemsworth

  • @muhammadfitri6531
    @muhammadfitri6531 2 роки тому +7

    thanks brother. simple thank you is not enough to describe how great your contribution to the community

  • @kubek3345
    @kubek3345 3 роки тому +7

    this little if jump makes a great difference. Good finding

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому +1

      Yeah took a while to think how to fix this and it was that simple

  • @charlesdaugherty321
    @charlesdaugherty321 3 роки тому +5

    Nice...
    Love games with simple programming languages like this. Reminds me of the FFXII Gambit system almost.

  • @rushiewashie
    @rushiewashie 3 роки тому +7

    Wow
    I have nothing to say but amazing and thank you
    Hope this helps with the algorithm

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      good day to u sir. thanks

  • @hthemaster1
    @hthemaster1 3 роки тому +5

    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 :)

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      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

    • @hthemaster1
      @hthemaster1 3 роки тому

      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

    • @hthemaster1
      @hthemaster1 3 роки тому

      You only will need to link every turret that you want and it will work fine

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      @@hthemaster1 I am going to have a look at this now, thanks bro

    • @hthemaster1
      @hthemaster1 3 роки тому

      @@SCHEMATIC ok i had fun doing it :)

  • @cyborgste
    @cyborgste 3 роки тому +1

    Fantastic, you and the mindustry discord has been helping me learn how to do logic. Great vid again man!

  • @xsuperneroxb4046
    @xsuperneroxb4046 3 роки тому +1

    from this point ,you are definetively one of my favorite youtuber :D thanks for your effort in your videos and schematics

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому +1

      Wow, thanks! putting the pressure on me haha

    • @xsuperneroxb4046
      @xsuperneroxb4046 3 роки тому

      @@SCHEMATIC you are welcome!

  • @jhn5363
    @jhn5363 3 роки тому +2

    Give this man a reward.

  • @BlackCat-gh8fr
    @BlackCat-gh8fr 3 роки тому

    You have the best mindustry tutorials I've found on youtube! Keep it up, great work!

  • @zmaster1481
    @zmaster1481 3 роки тому +1

    Haha love your sense of humor keep up the great workd

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      I am always serious. Never funny

  • @amman272
    @amman272 3 роки тому +2

    This guy deserve lot more subscribers 🔥🔥

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому +2

      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

    • @amman272
      @amman272 3 роки тому +1

      @@SCHEMATIC well atleast this game has loyal fan base:D

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому +2

      @@amman272 yeah everyone is a bro

  • @bakupcpu
    @bakupcpu 3 роки тому +1

    Another great idea! Love it! Thanks for sharing!

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому +1

      You are so welcome!

    • @bakupcpu
      @bakupcpu 3 роки тому

      @@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

  • @sn0wchyld
    @sn0wchyld 3 роки тому

    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.

  • @lovelya72
    @lovelya72 3 роки тому

    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!

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      Glad you like them! we getting there bro

  • @adcdo
    @adcdo 2 роки тому

    Mindustry logic turret campaign attack! Must need logic. Logic example and use case of a radar. Melhor comando de torres

  • @johnnypixel5411
    @johnnypixel5411 3 роки тому

    Crux finally learned how to use mender spam

  • @UnwantedParasite1
    @UnwantedParasite1 Рік тому

    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 @

  • @jefferson2111
    @jefferson2111 3 роки тому

    Bruhh respect you're doing gods work here,
    Thanks for that

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому +1

      I’m trying bro! Thanks

  • @梅原健司-h7i
    @梅原健司-h7i 3 роки тому +1

    #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!

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      Yeah I know what the hell, it came out buggy, youtube removing that part atm anyway. thanks bro

  • @endermenj4382
    @endermenj4382 3 роки тому +3

    🤔 As I didn't think about it

  • @MathewSan_
    @MathewSan_ 3 роки тому +1

    Great tutorial 👍🏻

  • @Tank-ik8vo
    @Tank-ik8vo 3 роки тому +1

    Sadly it didn't get to 20 000 likes
    "Pain"

  • @ghanshyamrupaliya4067
    @ghanshyamrupaliya4067 3 роки тому +1

    You can use get link command to control all unit without using different comand for each unit

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      Yeah that works as well but just trying to cover all different ways to do stuff. Good tip buddy!

  • @euanmorse
    @euanmorse 3 роки тому +1

    Give me those glasses. I liked your video.

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      I need the 20k likes in 24hr bro

  • @jimholthaus9009
    @jimholthaus9009 3 роки тому +1

    Your stuff is epic

  • @LivinH3ll
    @LivinH3ll 3 роки тому

    Damn son! This is gold right here!

  • @oceanmannn
    @oceanmannn 3 роки тому

    Wow, this is great gameplay, i should subscribe to this channel. Maybe leave a like here for his almighty intelligent

  • @chrisduplooy4639
    @chrisduplooy4639 3 роки тому +1

    I like da PEW logic

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому +1

      Damn that should of been my thumbnail

  • @funandsports9890
    @funandsports9890 3 роки тому

    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?

  • @Rogan.Insight
    @Rogan.Insight 3 роки тому

    I want those glasses

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      Boooo. They are only for me

  • @tunggulpermonowicaksono8848
    @tunggulpermonowicaksono8848 3 роки тому

    Can you add another logic?? Or maybe a list of logic result?? Sory to asking you so much...

  • @emmanuelcornelio488
    @emmanuelcornelio488 3 роки тому

    simply thanks

  • @ZackyBonkPH
    @ZackyBonkPH 3 роки тому +1

    I GRAB THAT GLASSES OVO

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      back off (ツ)_/¯

    • @ZackyBonkPH
      @ZackyBonkPH 3 роки тому

      @@SCHEMATIC *cries*

    • @ZackyBonkPH
      @ZackyBonkPH 3 роки тому

      @@SCHEMATIC Cancell Shematic his mean fjdhfjxxj
      (JKJK UR A GREAT GUY FJJFJFFNFN)

  • @sonatonuryaslicam6835
    @sonatonuryaslicam6835 3 роки тому

    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!!!

  • @k3rm173
    @k3rm173 3 роки тому +1

    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

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому +1

      Yeah the dude below did this for us
      bXNjaAF4nAF3AYj+AAIAAgIABG5hbWUAD0NvbnRyb2wgdHVycmV0cwALZGVzY3JpcHRpb24AAAEAD2xvZ2ljLXByb2Nlc3NvcgAAAAEAAAAAAA4AAAEreJxVkE1uwjAQhQdaApj2AN35CPmFsGPTG3TRLi3iQtrUCXYikZNXVX/cCXiMUBQp35vnl3keAcCnkS0vech2sq1K9c7bTutBYloUQvOmEr3UXKj+9BalaYXaSrJFzsCMVKbW/EgHNmZf1+0z6f21/kL6ia5npdqxt+6j4TmXh05UzvMqKiPZtlatrklzSxwx/iyErG64KApsVPLoHBPxShrztBfq8YDqZmhpGFZ/gKkum6aSGUxgRBDZLwgIlvYPxgQrNN0Q5HCLj4O1/cWImQsI7Q/MPEXWwtxTjHHMU4K+sacUFphPlKEv8LTEjEvKaph4yvHfC09rnNwRxSEEWIEogqn99hTDHHcjSoANeztKMQM8ZXCPDV3ZBAf+gtLhRghi/Jz8Ay3BtkQAw0ammw==

  • @victorylion610
    @victorylion610 3 роки тому +1

    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

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому +1

      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

    • @victorylion610
      @victorylion610 3 роки тому +1

      @@SCHEMATIC ty

    • @greywar777
      @greywar777 3 роки тому +1

      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.

    • @christophermerritte3176
      @christophermerritte3176 3 роки тому

      @@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.

    • @christophermerritte3176
      @christophermerritte3176 3 роки тому

      @@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
    @JimmyChow42069 3 роки тому +1

    Schematic not in comments sad

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      its weirdly hidden, click sort by newest and you will see it

    • @JimmyChow42069
      @JimmyChow42069 3 роки тому

      @@SCHEMATIC will you discord server

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      @@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?

    • @Crosss31
      @Crosss31 3 роки тому +1

      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

  • @bluenight317
    @bluenight317 3 роки тому

    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)

  • @guifunoure
    @guifunoure 3 роки тому

    It's possible to use "radar" on the mass driver? Give more range and dont use so much resources

  • @SolathPrime
    @SolathPrime 3 роки тому

    Interesting

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      🤔

    • @SolathPrime
      @SolathPrime 3 роки тому

      @@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

  • @invulnera7863
    @invulnera7863 3 роки тому +1

    nice one but when we are on mobile....
    what do we do?

    • @michaelwatt4605
      @michaelwatt4605 3 роки тому

      Same thing? I have some thing like that and it works

    • @invulnera7863
      @invulnera7863 3 роки тому

      Oh.
      Because i try it many tomes and it doesn't work

  • @kiliandrilltzsch8272
    @kiliandrilltzsch8272 3 роки тому

    *998 k till 1 milion

  • @HistoireDuViolet
    @HistoireDuViolet 2 роки тому

    What if there are 2 or more players, what behaviour does it have in that case?

  • @gastropuppet6228
    @gastropuppet6228 3 роки тому

    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.

  • @khlorghaal
    @khlorghaal 3 роки тому

    8 minutes is not a short, you could condense this to 1-2m

  • @packkets
    @packkets 3 роки тому +1

    i liked the video pls send glasses

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому +1

      video didn't get enough likes ¯\_(ツ)_/¯

  • @jadHalabi
    @jadHalabi 3 роки тому

    Hype

  • @Singularity-1717
    @Singularity-1717 3 роки тому

    Logic link pls ^^

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      Yeah I will make a new video on that for people who don't know how to

    • @Singularity-1717
      @Singularity-1717 3 роки тому

      @@SCHEMATIC how to upload builleds to google as a downolad link ?

  • @xelxpepx
    @xelxpepx Рік тому

    if you reach 20k subs you eat an egg

  • @johntkiller8456
    @johntkiller8456 3 роки тому

    How tf do you want 20k when your most popular video has 13k views

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      cos i don't want to give away my glasses

    • @johntkiller8456
      @johntkiller8456 3 роки тому

      @@SCHEMATIC why ?

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      @@johntkiller8456 because they are swag

    • @johntkiller8456
      @johntkiller8456 3 роки тому

      @@SCHEMATIC are we not swag enough?

    • @SCHEMATIC
      @SCHEMATIC  3 роки тому

      @@johntkiller8456 not until you wear them

  • @brlinf06398
    @brlinf06398 Місяць тому

    i hate noobs