Skip to playerSkip to main content
  • 6 hours ago
Simple to program, well once you understand how they work anyway. These robots can do simple building and digging. The programming interface is fairly straightforward and requires no code to use.

Download Luanti: https://www.luanti.org/downloads/

https://nathansalapat.com/luanti/visual-bots
https://nathansalapat.com/SocialMedia
https://nathansalapat.com/support-me
Transcript
00:00Welcome back to the WOD Team Mod Review.
00:03Today we are looking at the Visual Bots mod,
00:06which adds these cute little turtle guys.
00:11Visual Bots.
00:12I don't know if I can get to the front of him.
00:15That looks like a turtle to me, right?
00:16Green shell.
00:18I don't know about the peachy flesh-toned underbody,
00:22but as we can see, they're little robot guys.
00:25They run around.
00:26Now you can punch them with your empty hand,
00:28and that'll make them execute their code
00:32or punch them again, and they'll stop their code.
00:34Or if you right-click, there is a run button here.
00:38You can use as well. It does the same thing.
00:41If you want to dig it, you just need to not use an empty hand.
00:45You can hold anything in your hand to dig it.
00:49As you'll notice here, I can't dig it
00:50because it actually has some inventory.
00:53So it went around and it dug some items for me.
00:56So I need to harvest. Harvest might not be the other word.
00:58I need to take them out of its inventory.
01:01Okay.
01:02So now I'm going to go ahead and use this little guy.
01:05And I'm going to collect all of this wood here.
01:07So I'm just going to place it.
01:09And it looks in the direction that you are going when you place it.
01:14So because I was looking this way, that is the direction it'll consider forwards.
01:18Its little face will show forwards.
01:20And then I'll have the red arrow on top.
01:24This is erroring out.
01:27Let's go ahead and put the dig code back in and run that.
01:33Here we go.
01:34And now it'll go ahead and dig a bunch of nodes.
01:38And it'll keep going until it runs out of nodes to dig.
01:43Or until it runs out of instructions to dig nodes, I guess would be the more correct term.
01:47Because it'll continue forwards with nothing there.
01:52So I'll go ahead and take my wood out of there.
01:55And break it with this pickaxe.
01:58Really doesn't seem like that's any faster than using the stick.
02:02And just a quick note here.
02:05There are no craft items for this.
02:09So you do just have to go ahead and use the give command for vbots off.
02:14Which is pretty simple.
02:17Thanks for keeping the name nice and short.
02:19Now let's look at a few of the things we can do with this.
02:23So for starters, let's run over here.
02:28This looks like a good spot.
02:31No, actually no.
02:32Let's do this spot first.
02:33Because this will demonstrate something.
02:36And then while this one's running, we'll go ahead and do another.
02:41So we have this.
02:42We want this to go ahead and place some nodes.
02:45So we're going to go ahead.
02:47First we need to put some inventory in it.
02:49So I'll give it ten pieces of stone.
02:54And then we want to go ahead and build down.
02:57And we want to do that ten times.
02:58So I'll just do times five.
03:00Actually, no.
03:01I think I need to do it this way.
03:03Most likely.
03:04There we go.
03:06So that'll build down five times.
03:08Then it'll build down five times.
03:09Only because it only goes up to times nine.
03:11So if I wanted to do it ten times, you know, I'd have to do some math.
03:16So there we go.
03:17Let's go ahead and run this and observe.
03:24Oh, you know what?
03:25I kind of forgot a part of that.
03:28So we actually need to tell it to move forwards as well.
03:31So let's change this up here a little bit.
03:38Yeah, that's probably helpful.
03:40All right.
03:40So it will build down and then move forwards.
03:43And then it'll repeat that twice.
03:46Now, it can only build down if the space is open.
03:49So here, you know, there was grass below it.
03:53So it couldn't.
03:54Interestingly enough, it can't build in water either.
03:58So it's going to move out its ten nodes, but never place anything because it's in water.
04:03So if we come up here and do much the same, we're going to go ahead to its inventory, put
04:11in ten stone, and tell it to place down, move forwards, place down, move forwards.
04:18And go ahead and run this code.
04:21We'll see that it doesn't do anything there because...
04:26Oh, okay.
04:27Actually, there we go.
04:29Oh, that's...
04:33I'm sorry, little buddy.
04:35What are you doing?
04:37Why was nothing placed in either of these and only placed here?
04:41Did I put the code in wrong?
04:46Place a block, move, times five.
04:50Place a block, move, times five.
04:54What?
04:56Bud, what did you do?
05:00I have a feeling...
05:02I have a feeling I have made a classic blunder.
05:09So what we can see here...
05:12Let me just run out here to my poor little bot.
05:17It's moving five times, but it's only placing the block once.
05:23Most interesting, most interesting.
05:26Let me introduce you to...
05:28Should we call this sub-programs, I suppose?
05:31Let me introduce you to sub-programs.
05:34So we have the main program, sub-zero, which is the lion.
05:39And then we have the T-Rex, the goat, horse, parrots, parakeet, bear, and a rhinoceros.
05:49So let's go ahead and clear this, and come to the dinosaur T-Rex here.
05:54And we're going to tell the T-Rex we want to move forwards, and we want to build a block
05:59below.
06:00We still have inventory.
06:02Perfect.
06:03Then we're going to come to the dinosaur, the main routine.
06:06And we're going to say, hey, we want to run this sub-routine of the T-Rex.
06:11And we want to do that seven times because I have seven nodes left in inventory.
06:15We go ahead and run this, and if I did my things right, it should work this time.
06:26There we go.
06:27We should get seven pieces of stone placed.
06:30We have three.
06:31We have four.
06:32I am sinking.
06:36Let me maybe just place some stairs so I can get up on top of this.
06:42One, two, three, four, five, six.
06:45It's on top of the seventh right now.
06:47We'll go ahead and break this.
06:52Perfect, perfect.
06:53And then, you know what, I'll take Thovary has some inventory I have to clear first.
07:03The bots are all given names when you place them.
07:07So I suppose you can keep track of them in your inventory.
07:10It does make them non-stackable after they've been placed and have been given names.
07:15Although, actually, they don't tell you the name in inventory here, so that's not as helpful
07:22as I thought it was.
07:25All right, so now if we go ahead and place one of these here and one of them here, and
07:29we look at their inventories, they did lose all of their commands.
07:38And actually, their names look identical.
07:40Thamilavin?
07:41Thamilavin?
07:42Oh no, very similar, but slightly different.
07:45Now, if we don't want it to lose their commands, so say this time we want this to build down
07:53and move forwards in the T-Rex subroutine here.
08:00And then in the lion, we want to call the T-Rex, and we want to do that five times.
08:06But then we want to turn clockwise, move forwards once, turn clockwise, and this will make it
08:11run back to us.
08:13And then we'll do this times five.
08:17And of course, we could have made this slightly more efficient by doing a...
08:25No, actually, wait, if it's turning clockwise at the first, these need to be anti-clockwise
08:29or counterclockwise, as we would more commonly say.
08:34And then we're going to go ahead and do the T-Rex five more times.
08:39Yes, and I'll say we want to run this multiple times.
08:42We can go ahead and save this.
08:48Oh, okay, and then we just get the name of it.
08:50So then I could come over to this guy, and can I load?
08:54I can.
08:54I can load from the other one.
08:58So now, theoretically, both of these...
09:00Oh, you know, I didn't give them any inventory, though.
09:04Stop, please, stop, stop, please.
09:09I forgot, potentially, one of the most important aspects, the inventory.
09:14Let me just give you some notes to build with.
09:16There you go, little buddies.
09:18And let's watch these play some platforms for me.
09:32Oh, and here we have an issue.
09:35So it didn't place stone here because there's a plant.
09:39And the plant prevents it from placing because it's not air.
09:49Personally, I think it should be doing a check for Buildable 2 instead of just air, but why do I
09:57know?
10:01And we should...
10:02I'm not wearing headphones so I can hear it, but this should be making little error sounds, hopefully.
10:10Because when these guys can't place notes, it should be playing like a little chime, right?
10:17Thought I remembered hearing a little chime.
10:19Now, we can fix this.
10:23I forget how many times these things are supposed to run.
10:25Okay, we can fix this by going to our subroutine, and we have...
10:30We're placing a block and we're moving forwards.
10:32Well, let's go ahead and dig the node below first.
10:38There we go.
10:39Now, when I dig a node down, does that make the turtle move down?
10:44I'm not sure, but let's find out.
10:48Yes, it does.
10:49Okay, well, so this is going to get interesting.
10:53Because it's going to dig into the water.
10:58Okay.
11:03Okay.
11:05It's just going to keep digging downwards because it's never digging forwards.
11:10So, let's do a little work around here.
11:13So, that was almost what we needed, but not quite.
11:15So, let's change this.
11:17We're going to dig down, but then we are going to move up.
11:22So, we'll dig down.
11:24Oh, wait.
11:24That's the place down.
11:26Let's do the dig down first.
11:29We want to dig down.
11:30Then, actually, we probably want to move up.
11:32Then, place the block below.
11:34It says behind.
11:36But, I think that actually means below, because this would be behind.
11:40And then move forwards.
11:42Let's try it out.
11:45Still moving.
11:46Okay, but it jumped back up.
11:47Okay, that's good.
11:48That's good.
11:51All right.
11:53I guess maybe not the best of place to have really demoed that because there's not a plant there.
12:01Okay.
12:02Well, you know what?
12:02We can make this work.
12:05We'll go ahead and we'll throw some other items in here.
12:10Maybe some cobblestone.
12:14And if this works, we will end with a stone platform.
12:19And these nodes taken out.
12:23Right?
12:24Right?
12:25We have stone.
12:26Nice.
12:28All right.
12:29Swellimus.
12:30So, we can now make platforms.
12:33That means we could make a bridge across the water here.
12:36This also means we can mine.
12:40So, let's go ahead and quick build a little mining robot.
12:44Now, this little guy.
12:48Let's see.
12:49We could leave one spindle up in the center because that would be easiest, right?
12:53We're going to want to do a subroutine here.
12:55So, we'll go ahead to the T-Rex.
12:57We are going to dig down and then dig forwards four times.
13:06Let's do five times.
13:07And then after that, we're going to turn clockwise and dig forwards.
13:14Turn clockwise again.
13:17Dig forwards, dig forwards, dig forwards, dig forwards.
13:20Actually, you know what?
13:21I'm going to take that out.
13:23Move all of these over.
13:28And just to make things look a little neater, we're going to try this.
13:33So, we're just going to do a bunch of digging forward.
13:36Oh, wait.
13:36That's wrong.
13:37That's wrong.
13:38I need to move.
13:43There we go.
13:45Dig forwards.
13:46So, that's one, two, three, four, five, six.
13:49One, two, three, four, five.
13:52So, one more dig forwards.
13:55Then a turn in the opposite direction.
13:57A dig forwards.
13:57Another turn in the opposite direction.
13:59One, two, three, four, five, six.
14:04Okay.
14:04And then we need to turn the opposite direction.
14:06Dig forwards.
14:07Turn the opposite direction.
14:08One, two, three, four, five, six.
14:11And then we need to turn the other direction.
14:14Dig forward once.
14:15Dig in the other direction.
14:17And six.
14:18Okay.
14:18Well.
14:19So, we have the T-Rex subroutine.
14:21That'll do a four by six if my math is right.
14:25And then we're going to need to do, we're going to have to call the T-Rex.
14:31And then we're going to dig down.
14:34So, actually, let's make this different.
14:36So, we have T-Rex here.
14:37Let's go ahead onto the goat.
14:39Goat's going to call the T-Rex.
14:43And then it's going to dig down.
14:47Yeah, that looks right.
14:49So, then I can come here and call the goat.
14:52Do the goat nine times.
14:55I have no idea if this is going to do what we want.
14:59Okay.
15:00So, it's digging the nodes in front of it.
15:02So, it should be clearing out the space.
15:04I went to the wrong direction.
15:06I should have really turned the other way.
15:08This should harvest the grass.
15:10Sweet.
15:13Okay.
15:14It's going to try to harvest water.
15:15Which, I'm not sure what that's going to do.
15:20Because, you can't harvest water.
15:25Not by digging it, at least.
15:26You need a bucket.
15:27Which, it doesn't have a bucket.
15:29Mm-hmm.
15:32Well, dig away, my little minion.
15:35Dig away.
15:38I don't even know if I programmed this correctly.
15:40Okay, it went down.
15:45I definitely did not program this correctly.
15:50Because, no, it's going the other way.
15:52No!
15:53It's going to do every...
15:54Every section is going to be the wrong way.
15:58Oh, no.
16:01Faforadurr.
16:02Or, however I'm supposed to pronounce your name.
16:04My poor little bot.
16:05You're doing this all wrong.
16:08My fault.
16:09Entirely my fault.
16:11But, we could have used this.
16:13Oh.
16:17Sorry there, buddy.
16:18I don't know what was happening.
16:21What?
16:25What is going on?
16:32Huh?
16:34It's like I'm writing on top of it, but it's underneath me by a full node.
16:41I've never seen that happen before.
16:44Okay.
16:44Well, my mining operation...
16:49Bit of a failure, to be perfectly honest.
16:54Clearly, I miscalculated something there.
16:56But, not to worry.
16:57We can stop this.
16:59What did it collect?
17:00Some dirt and some plants.
17:01Well, thanks, bud.
17:04You're not really doing quite what I needed you to do.
17:09So, we're going to go ahead and just break you out of here.
17:14Because, clearly, I programmed something wrong.
17:18And, now, unfortunately, when I put this little guy back out...
17:23My glorious program, all gone!
17:26That's fine, because it didn't work.
17:29So, it's not too bad.
17:31But, we can change speed as well, which I suppose maybe we should have demoed, huh?
17:35So, let's go ahead and do a mode dig forwards.
17:40On the goat, sure, why not?
17:42Let's go ahead and do mode speed.
17:43Let's do that.
17:44Speed times 9.
17:46And, let's do goat times 9.
17:48Goat times 9.
17:49Goat times 9.
17:51Run this code.
17:52It should move pretty fast now, I think, right?
17:54Huh?
17:55Oh, yeah.
17:56Look at it, goat.
17:56It's zipping.
17:58Zipping.
18:00Oh.
18:00Oh, very interesting.
18:02I would have expected the grass to break.
18:07Oh, and we're riding on top of the robot again.
18:14To the point that we're stuck.
18:17That's interesting.
18:19I did not, did not see that happening.
18:24Okay, so theoretically this should have something like 30, it only has 13 dirt.
18:30But I told you 9, 9, and 9.
18:35Was there only that little that it removed?
18:37That should have been, well, maybe there was.
18:40Was that 27?
18:41Eh, maybe.
18:43It doesn't feel like it was, though.
18:46I think I've been scammed.
18:48Now, can we have this plant stuff?
18:50I don't think so.
18:53That would be interesting.
18:55Let's, let's just do a quick little test here.
18:58I think I have the tools needed to build a hoe.
19:01All right.
19:02So, bada bing, bada boom.
19:06I only have two seeds, but that's fine.
19:11Hey, little robot buddy.
19:12I'm going to need you to do a little test for me here, okay?
19:17So, let's come to the water's edge.
19:20Bada bing, bada boom.
19:22Let's throw the hoe in.
19:24Let's throw the seeds in.
19:26We're just going to have you move forwards a handful of times.
19:28I don't know if I need to...
19:33Should I tell it to dig?
19:40Sure, let's just try this.
19:42So, we'll do three moves, and then we'll do three digs.
19:46And just see what happens.
19:49Okay, so on the movements, it's moving.
19:53On the digs, it's digging.
19:56Digging air.
19:58All right, so let's clear all that out.
20:02And do a dig down?
20:04But that's going to make it actually dig down, I think.
20:10Let's just give it three and run.
20:12Let's see what happens.
20:13Okay, yep, it actually digs.
20:16So, we can't use this for...
20:21For planting crops.
20:24Or can we?
20:26All right, another idea.
20:30Hey, little buddy, I'm going to need you back here.
20:33If you wouldn't mind.
20:36I've had a new idea.
20:39Interested to see if you can help me out with this.
20:41Okay, so here's the new plan.
20:43I'm going to manually till the soil for you.
20:47Because I'm just that nice, you know?
20:49And then I'm going to put you to work.
20:51Because I'm not actually that nice.
20:54We're going to go ahead and tell you to put some wheat seeds down.
20:57And then we're going to do build down, move forwards, build down, move forwards, build down, move forwards.
21:03And we'll just do an extra for good measure.
21:06Let's go ahead and run and see what happens.
21:14Not really seeing the build down here.
21:19Okay, well, let's...
21:22It's not a wash yet.
21:24Let's try one more thing.
21:27Little buddy, if you wouldn't mind.
21:30I've got one last thing to try.
21:32So, let's start you on a little platform, huh?
21:36You're on a little platform now.
21:38We're going to go ahead and give you some seeds.
21:40And we're just going to ask you to build down, move forwards.
21:46And just do that a couple times.
21:48Will this work?
21:52Hmm.
21:55Okay.
21:57That's very interesting.
22:01So, clearly that doesn't work.
22:03So, we can't use you for tilling the soil or for planting the crops.
22:09But can you harvest the crops?
22:12Can you do that for me, at least, bud?
22:16All right.
22:17So, let's set one up here.
22:22Now, of course, I'm not going to have any actual crops ready to go.
22:27But I think we can do the next best thing and just do simulated crops by planting grass.
22:35And, of course, we already know that this does, in fact, work because we've done it.
22:43Maybe not intentionally, but we have done it.
22:45So, we're just going to pretend that all of this grass here is actually wheat or whatever crop we want.
22:53And we're going to go ahead and just do a bunch of dig forwards.
22:57And go.
23:01Harvest my crops, my little minion.
23:04And there he goes.
23:06Harvesting our crops.
23:08And we can go ahead and get our crops.
23:11And some wheat seeds, too.
23:13Very nice.
23:15Now, if only I could also plant the crops for us.
23:18Now, there is a move home.
23:20And I really don't know what that does because I haven't used it before.
23:23This was its home.
23:25We're going to go ahead and dig this dirt out and place some cobblers.
23:28So, that was its home.
23:30Is that just going to make it jump all the way back here?
23:33It does.
23:34Very interesting.
23:35And then any inventory it has, we have.
23:38Okay.
23:39So, that's actually very useful.
23:41Because then if you were doing something like this to harvest your crops,
23:47you would just have it come back to the initial position
23:51and redo the harvest every time it was ready to be harvested.
23:55Of course, you still have to manually do all the planting.
23:58But it will harvest for you and give you all the goods.
24:02So, hey, that's an option.
24:06That's kind of, I think, I don't know why I pulled up that.
24:09I wanted to pull up this.
24:10I kind of think that's really it.
24:11You can't do a random turn.
24:13I don't really know if it's random how you then continue anything past that.
24:21Unless you're just, like, letting it draw patterns on the ground, I suppose.
24:26By building stuff below it.
24:29Or maybe behind it.
24:30Or even above it.
24:34Just to see how it randomly turns.
24:36I don't know.
24:37Because we don't have, like, a random movement at all.
24:42So, you can have it travel a direction and then randomly turn.
24:45But you still have to pick how many more steps it takes before it does another random turn.
24:49If it had, like, a random multiplier, I could see the two of them used in conjunction.
24:56So, just kind of like a spirograph.
25:00You know, just draw random patterns.
25:02But, because it doesn't have that, the whole random pattern thing's a bit of a wash, I suppose.
25:11You can clearly do some pretty complicated procedures here.
25:16Seeing as how you do have all of these subroutines.
25:20Which, you can call other subroutines in them.
25:23And then you just have the main one here.
25:25I don't know if I can, let's just try this.
25:32Okay, yeah.
25:33So, you do have to have it in the Lion.
25:35That's your main program.
25:37If you put stuff in the others and then it's not called in the Lion, it's just ignored.
25:42So, that's good to know.
25:45Um, this has been a review of the Visual Bots mod.
25:50If you're interested in grabbing it, it is on the content database.
25:53You can download it with the in-game browser.
25:54Or, if you just want to download it with the links, I'll have all those on my website.
25:58Which will be linked down in the video description below.
26:01Thanks for watching, and I will see you next time.
26:04Are you looking for custom models to bring your mod to life?
26:07I can create static or animated meshes for your project.
26:10Or, maybe you need some help with code, textures, or voice talent.
26:14As it so happens, I'm in the freelance business.
26:17If it relates to Luanti, I'd be happy to try and help you out.
26:21Together, we can make the next great Luanti mod.
26:24Visit the link below to learn more and to view some of my previous work.
26:28Terms and conditions apply.
26:29See site for full details.
Comments

Recommended