From the Depths - Breadboard Tutorial - Part 2

  Рет қаралды 6,111

Ohm is Futile

Ohm is Futile

Күн бұрын

Пікірлер: 55
@OhmIsFutile
@OhmIsFutile 4 жыл бұрын
Time stamps below! Also, my microphone decided to spare you guys from my rambling for a few seconds. I'll try to fix that for next time. 1:04 Preventing the AI from fighting commands 2:51 Generally important info 3:26 Simple roll control (and pitch) 6:12 Altitude control 8:20 Yaw Control (Point at enemy) 9:47 Breadboard PID breakdown 11:59 Inverting PIDs 12:46 Magic! 14:39 Sine wave breakdown 18:08 Pitching at enemy That's a lot of time stamps... better just watch the whole thing! :^)
@DeepInsideZettaiRyouiki
@DeepInsideZettaiRyouiki 4 жыл бұрын
I tried this...found proper way to make Hover and Yaw PID in Breadboard WITHOUT actual AI PID blocks connected, Pitch Roll and Strafe AI PID's as blocks are still needed and Thrust/Forward PID i found usless other than for platforms...i digress ...Setting Breadbord PID's for Pitch Roll and Strafe or Thrust for now i see no reason for if you still need those blocks. As for YAW and HOVER PID's ...Thing is to connect it all such way Breadboad don't fight AI and only those two Hcan be checked in Breadbord menu - Steering Point Info Bearing (last output) is where AI want to point (not where enemy is) ...and - Steering Point Info Altitude (3 output) on which altitude AI want to be (not on what altitued enemy is) ...Angle and Altitude from enemy i like to set in AI behaviours and let ACB switch them according to enemy volume (more volume = easier to hit, not always more scary) ...but even if i can switch Behaviour and Maneuver from Breadboard i don't have those settings like in ACB's ...and then again in ACB's i don't have Maneuvering switching which could be usefull for more complex builds. In the end... A CLUSTERFUCK ...and you need to use clusterfucked bypass solutions - has it charm first few times, but it really anoy me level of unpolishnes of FtD. So how to set it...without pictures: Altitude (Yes, you can add wobling and such like shown above if you want, i wont for clarity): Input Altitude ------------------------------------------> (in A) PID (out) -----------------------------------------------------------> Propulsion (Hover) Steering Point Info Altitude (3 output) ---> (In B) PID Yaw: Steering Point Info Bearing (last output) -------------> Multiply x(-1) ----------------> (in A) PID (out) -----------------------------------------------------------> Propulsion (Yaw) Steering Point Info Bearing (last output) -------------------------------------------------------> (In B) PID I also want to say i found such Breadbord AI PID SUPER accurate, i don't see diffirence from block ones. Using both allow to "save" one block of space in compact build...its not much, if Breadboard get expanded then we are talking, would like to see ALL ACB's options in here, let ACB to be simple for new players and Lua for experiments, most stream line builds shoul be set in Breadboard and AI. PEACE.
@afourz_z
@afourz_z 6 ай бұрын
Needs a full explanation (with examples) about all Math Evaluator functions. «Show documentation» button don`t explane nothing for non-Einsteins.(( Any ideas?))
@harnas1977x
@harnas1977x 4 жыл бұрын
With power of the loaf I will be UNSTOPPABLE!!! But seriously - top notch content, very fun and informative. Keep it coming!
@miniloserchamp1960
@miniloserchamp1960 4 жыл бұрын
Please continue making these videos, they are good quality and helpful
@OhmIsFutile
@OhmIsFutile 4 жыл бұрын
Thank you! I am currently playing with some ideas for the next video but it will probably be a quick guide on PIDs in which I try to make them more approachable in about 5 minutes. That said, ideas and suggestions are welcome.
@miniloserchamp1960
@miniloserchamp1960 4 жыл бұрын
Well I guess I could give you my preferred PID formula 0.5 250 0.5
@lucaya626
@lucaya626 4 жыл бұрын
Nice tutorial. The thing about the total timer and the sin() is quite smart, bc time goes on and on and the phase of sin changes as well, so you basically made some dort of random number generator, that feeds your altitude.👍
@Gonzakoable
@Gonzakoable 3 жыл бұрын
It's not a random number generator, it's just a way of mapping a linear number into one that oscillates. It's used a lot in graphics programming to create gpu based vfx
@Gebunator
@Gebunator 3 жыл бұрын
This two parter was hella useful even if I don't have use for most of the functions you showed, but it gave a good rundown on BB in overall to actually for me to do something with it. Sure, you can do most of the stuff with AI stuff and AI pids, but the values you use for behaviours/adjustments/etc tend to be rough suggestions instead of absolutes. With BB and non-AI pids you can set your craft to function EXACTLY how you want, not approximately how you want. It's a good thing to remember.
@kenyamagami6669
@kenyamagami6669 4 жыл бұрын
Really like your video. I've had my frustrations with AI controlled since it sometimes doesn't work or cannot make it work. And I'm limited on what I can do with GP-PID so my choices are Lua or breadboard and I don't like to code and learning another programming language so I go with the loaf.
@thealicemonster9217
@thealicemonster9217 4 жыл бұрын
Totally deserve more subscribers! Ty for the awesome info. Edit: Well I was thinking about that whole "More Subscribers" thing and posted info about your channel on Lathlands most recent FtD video as of the time of this message. I hope it helps! This was a great set of videos and I would love to see more in the near future
@OhmIsFutile
@OhmIsFutile 4 жыл бұрын
D'aw! Thank you! I like BorderWise though D:
@thealicemonster9217
@thealicemonster9217 4 жыл бұрын
@@OhmIsFutile Yeah, I realized that was not very tasteful so I changed it. I like BorderWise really well too it's just sometimes he makes stuff and doesn't really know what he is talking about and ends up being confusing. I was hoping that I was able to change my comment fast enough that nobody would be able to read it before I changed it. ... Ooh well. :)
@thealicemonster9217
@thealicemonster9217 4 жыл бұрын
@@OhmIsFutile I really can't wait till your next FTD video. Be it another tutorial or maybe the start of a play-through *wink wink nudge nudge*
@GreenAndSuited
@GreenAndSuited 3 жыл бұрын
Was tearing out my hair because my ASuWs who are supposed to fire at standoff ranges keeps closing in ~1km with the enemy... your tutorial fixed that though, so big thanks!
@typehere6689
@typehere6689 3 жыл бұрын
.....you need to be on Brilliant Skies' payroll. Your work may help greatly flatten the learning curve and thus potentially line their pockets more.
@mortiphago
@mortiphago 4 жыл бұрын
Amazing info, i've subscribed! Is there any way to interact with turrets or spinblocks using this? I'd like to make a turret point at an enemy but not shoot (which the local weapons controller does automatically) EDIT: nevermind, I can set the LWC to maximum fire rate of 0. This way it points at them but doesnt shoot.
@OhmIsFutile
@OhmIsFutile 4 жыл бұрын
Unfortunately, you cannot interact with turrets using breadboards. You can control spinblocks, but you'll need one for each axis as you will also be unable to control mantlets. Plus, you cannot easily tell which direction the enemy is traveling in so it will be impossible to lead shots. If that's something you're trying to do, lua will be better. I just like breadboards because they are more accessible to people who don't know code and are not interested in learning that just to play a game...
@albertwallace1461
@albertwallace1461 4 жыл бұрын
Encore!
@TheTzeestraten
@TheTzeestraten 4 жыл бұрын
Is there a way to store a variable on a breadboard? I want to be able to change the set point of a PID, for example be able to change the height of a hover vehicle.
@OhmIsFutile
@OhmIsFutile 4 жыл бұрын
You do not need to provide a reason. I've found uses for storing variables on the breadboard before. The short answer is yes, but it's awkward. There are no ways that are intended. I've seen a few floating around and I have my own but they are all quirky. You can use ACBs as "toggles" which would be the most reliable way I'd say. The way I do it is using the primary, secondary, and tertiary drive since those do not reset on their own. The breadboard looks like a loop but it actually stores the first non-zero value you put in. You can use a multiplier to store values ranging from 0 - 100 using that trick.
@OhmIsFutile
@OhmIsFutile 4 жыл бұрын
Here is a dropbox link to a simple blueprint. The thing is setup to hold whatever non-zero altitude you first set it to. For example, you could make planes or thrustercrafts that have the reset ACB on spawn, and your variable is the current altitude, then feed the altitude to a PID and suddenly your vehicle keeps whatever altitude you spawned it at. Link: www.dropbox.com/s/oi551r22sihdlow/Memory_breadboard.blueprint?dl=1
@TheTzeestraten
@TheTzeestraten 4 жыл бұрын
Wow thanks man I'm blown away by your immediate and comprehensive reply!
@OhmIsFutile
@OhmIsFutile 4 жыл бұрын
@@TheTzeestraten I may or may not have more free time given the current events and I may or may not have been in the game already so I may or may not have thrown something together super quick... maybe. Possibly insomnia, but I can neither confirm nor deny.
@MrJay_White
@MrJay_White 3 жыл бұрын
any chance of an update and continuation of this? apparently some of the functions have changed since this video. and with the launch new players like me could benefit from an update and continuation, since this is the clearest demonstration of breadboards on youtube i can find.
@OhmIsFutile
@OhmIsFutile 3 жыл бұрын
Yeah, I was planning on it even before the update came out. Kinda busy and uninspired these days though, but it's coming. Thanks for the kind words!
@walkingravenhart2498
@walkingravenhart2498 3 жыл бұрын
I recently decided to take a slice out of breadboards, these videos helped immensely, but left unanswered my initial question; I'm trying to piece together a breadboard to replace a fist full of ACB blocks that control a turret. For all the madness inherent, I'm building a Gatling style PAC. 4 to 6 barrels on a spinblock (all mounted onto the back of a turret) that fire as they come to an open port in the protective hull. From what I've seen, the breadboard doesn't seem to have weapon control authority or a way to sense or control where a specific spin-block is in it's position. I've overcome this with generous application of ACB's leading to a slightly clunky execution. Any advice you have would be appreciated and I hope the idea itself presents you with a fun challenge to overcome. Thanks in advance, WalkingRaven.
@OhmIsFutile
@OhmIsFutile 3 жыл бұрын
Well, you can use turrets with weapon controllers set to 0 RPMs to aim the whole thing. That should be reliable. As for firing while the openings are aligned, I'd have to check if the game resets spinblock alignment when a vehicle is pulled in and out of play... even if it doesn't, there is a way to reset it relatively reliably at the start and/or end of a fight through ACBs. Bread itself can't fire the weapons, but you can use ACBs to do the firing and bread to trigger the ACBs. You can also name the individual PAC firing pieces and then all that's left to do is mathing out how quickly your barrels are spinning to align it properly. That's quite doable imo. Hope this helped. If it didn't, I might actually use this as an idea for the bread loaves series. Taking suggestions and showing how it can be done might be a fun way to approach this.
@walkingravenhart2498
@walkingravenhart2498 3 жыл бұрын
@@OhmIsFutile That’s the finished process I went with as well. I actually have 2 functional systems; A set with 4 long range emitters that fires every 1.25 seconds (each set to a 5 second charge) and a smaller set up with short range emitters boasting 6 per second (6 set to 1 second charges). In the end I just set an ACB that semi-manually resets the assembly both on enemy spawn and death with a delay to conserve weapon power. If this can be used to inspire an episode, please feel free to do so. I look forward to the finished result. Thanks for getting back to me and best of luck in your own experiments.
@TheShadowDragon777
@TheShadowDragon777 Жыл бұрын
damnit ima have to hire the top mathematicians of the world to make my mobile suit prototype >~> at this rate they rather make a real one xD
@Klint_Izwudd
@Klint_Izwudd 3 жыл бұрын
I can't seem to get the bread PID to work even after setting the PID to none on the AI, the plane just flails around even with the same settings I gave the PID block. And the yaw being inverted just means it goes in a stright line away from the target if the bearing is negative
@OhmIsFutile
@OhmIsFutile 3 жыл бұрын
Some AIs cannot be entirely overridden on every axis unfortunately. The only way to be sure there will be no interference is to use the empty maneuver on the AI, but that also means you have to completely replace the AI. For planes, this can be particularly challenging.
@Klint_Izwudd
@Klint_Izwudd 3 жыл бұрын
@@OhmIsFutile well damn, there goes my hopes of making my drones smaller with only a little bread. Now I gotta learn how to bread an entire flight AI.
@DeepInsideZettaiRyouiki
@DeepInsideZettaiRyouiki 4 жыл бұрын
I tried this...found proper way to make Hover and Yaw PID in Breadboard WITHOUT actual AI PID blocks connected, Pitch Roll and Strafe AI PID's as blocks are still needed and Thrust/Forward PID i found usless other than for platforms...i digress ...Setting Breadbord PID's for Pitch Roll and Strafe or Thrust for now i see no reason for if you still need those blocks. As for YAW and HOVER PID's ...Thing is to connect it all such way Breadboad don't fight AI and only those two Hcan be checked in Breadbord menu - Steering Point Info Bearing (last output) is where AI want to point (not where enemy is) ...and - Steering Point Info Altitude (3 output) on which altitude AI want to be (not on what altitued enemy is) ...Angle and Altitude from enemy i like to set in AI behaviours and let ACB switch them according to enemy volume (more volume = easier to hit, not always more scary) ...but even if i can switch Behaviour and Maneuver from Breadboard i don't have those settings like in ACB's ...and then again in ACB's i don't have Maneuvering switching which could be usefull for more complex builds. In the end... A CLUSTERFUCK ...and you need to use clusterfucked bypass solutions - has it charm first few times, but it really anoy me level of unpolishnes of FtD. So how to set it...without pictures: Altitude (Yes, you can add wobling and such like shown above if you want, i wont for clarity): Input Altitude ------------------------------------------> (in A) PID (out) -----------------------------------------------------------> Propulsion (Hover) Steering Point Info Altitude (3 output) ---> (In B) PID Yaw: Steering Point Info Bearing (last output) -------------> Multiply x(-1) ----------------> (in A) PID (out) -----------------------------------------------------------> Propulsion (Yaw) Steering Point Info Bearing (last output) -------------------------------------------------------> (In B) PID I also want to say i found such Breadbord AI PID SUPER accurate, i don't see diffirence from block ones. Using both allow to "save" one block of space in compact build...its not much, if Breadboard get expanded then we are talking, would like to see ALL ACB's options in here, let ACB to be simple for new players and Lua for experiments, most stream line builds shoul be set in Breadboard and AI. PEACE.
@kenyamagami6669
@kenyamagami6669 4 жыл бұрын
So won't this contradict the AI if I have a different setting set on it? Or this control is purely separate on the AI behavior? And will ignore the AI just like a GP-PID
@OhmIsFutile
@OhmIsFutile 4 жыл бұрын
Breadboards are different from AI control, but they can fight, which is why the first part of the video is a way to prevent that fight. In fact, GP PIDs also do fight other forms of control. It can be very noticeable depending on how you set things up.
@kenyamagami6669
@kenyamagami6669 4 жыл бұрын
Oh I see, im also wondering if this will work on ship, dodging slow cram by going left and right. So I'll just have to set the input and outputs on yaw and have a limits say +30,-30 deg. And have a shorter frequency since ship are slower st turning.
@kenyamagami6669
@kenyamagami6669 4 жыл бұрын
Same also on propulsion my slowing up and slowing down
@OhmIsFutile
@OhmIsFutile 4 жыл бұрын
Yes, the sine wave trick from the video can be applied to any axis, including yaw and speed.
@kenyamagami6669
@kenyamagami6669 4 жыл бұрын
Hi I've made a simple yaw left and yaw Right using breadboard but it doesn't seems to be moving, because I believe the AI is fighting it from yawing so I disable my yaw in PID and realized the ship won't be able to turn on its own now. So is there a way to give the PID priroty while having AI still be able to yaw?
@OhmIsFutile
@OhmIsFutile 4 жыл бұрын
There's a few ways to go about it. The two simplest ones would be to either bypass the AI by using the steering point info to move your vehicle outside combat using the breadboard; or you can use ACBs to set the AI to weapons only in combat and enable movement out of combat.
@kenyamagami6669
@kenyamagami6669 4 жыл бұрын
@@OhmIsFutile at options 2, so if I want my ship to broadside and circles I also have to add that into the breadboard? Basically making my own combat movement AI.
@DasAnthra
@DasAnthra 4 жыл бұрын
Nice gibt me more😍
@DrenKillfree
@DrenKillfree 4 жыл бұрын
sneeky bugger
@OhmIsFutile
@OhmIsFutile 4 жыл бұрын
Dang, I was hoping no one would notice :^)
@typehere6689
@typehere6689 3 жыл бұрын
Some fields of humanities run on somewhat rigid logic, yes. ....so you may be fine. Maybe.
@akregonmejer5739
@akregonmejer5739 2 жыл бұрын
I have copied breadboard from yours hover tanks but i have problem craft with it is perfectly stable but all including yours from workshop are going away from checkpoint if order to move, In manually control they are turning in right way but if u order them to move they turn and run away:((
@akregonmejer5739
@akregonmejer5739 2 жыл бұрын
I GOT IT! all u need is yaw multiply * -1 afer PID
@kenyamagami6669
@kenyamagami6669 4 жыл бұрын
So if there's no enemy's it will set it's altitude as is? Since I didn't see you put a normal cruising altitude, or will it follow the altitude set on the AI
@kenyamagami6669
@kenyamagami6669 4 жыл бұрын
Oh I see so if it doesn't have an enemy it'll try to keep 125m above Altitude 0
@gepardmic6003
@gepardmic6003 3 жыл бұрын
Yeeh i was looking at it but it didnt seem easy to tell what happens. so i did lua :-). Good side of lua are easy to use, bad side From the depth hide the Name you need to specific function, or no tell what vector3 means compared to an other function but somehow not the same, see lua Minecraft are not = FTD load a target engine? Nope no info. this can make it more easy to a craft. 70% of my code time, is trying to understand what Dev. have typed. I:Engine or I:Motor no tell hmm. I once made a craft that balance by ID but damage block made it repair and did'nt work. So i had to specific target by coordinates at this time i spend 2 hours, banging the same problem from any angle, so it never happened. Dev. Jess even FBI seem easyer to get info from than FTD Lua Info. If you got there total list they named it will be 50% easyer. Short effect tell / sector yep fine. will 100% easyer (Get a dude to make it that like codes and explain, go ahead.)
@Unified-Gaming
@Unified-Gaming 4 жыл бұрын
Nice video and informative :) You should get more views - need help optimizing your videos for search?
@neurofiedyamato8763
@neurofiedyamato8763 3 жыл бұрын
Hey! I'm trying to get back in to FtD and I'm a bit stumped. i want to change the AI altitude but it's a fixed-wing and not a hovercraft or helicopter. So I want to actually change the altitude value for the behavior card and not simply control the propulsion. Problem is that I can't find any components that let me do that. ACBs can but I want the values to change based on the enemy's altitude and ACB's can't do that with any level of precision unless I use a lot of them which isn't practical to do so. Any ideas?
@OhmIsFutile
@OhmIsFutile 3 жыл бұрын
It's possible, I recommend going on discord either on the loafboard help channel of the official server or hop on to BorderWise's server and ask in community help.
From the Depths - Engine Tutorial
16:53
Ohm is Futile
Рет қаралды 6 М.
From the Depths - APS Shell Tutorial
25:19
Ohm is Futile
Рет қаралды 10 М.
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 21 МЛН
Стойкость Фёдора поразила всех!
00:58
МИНУС БАЛЛ
Рет қаралды 6 МЛН
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
AI Behaviour Rundown - From the Depths
43:16
BorderWise
Рет қаралды 12 М.
From the Depths - EMP: How to (but really, why?)
17:07
Ohm is Futile
Рет қаралды 2,2 М.
Breadboard Nukes! 🍞🧨🔥 From the Depths
14:23
BorderWise
Рет қаралды 5 М.
From the Depths - Laser Tutorial 101
23:28
Ohm is Futile
Рет қаралды 9 М.
Lua Missiles! | Intermediate Tutorial | From the Depths
23:36
Scott Wright
Рет қаралды 9 М.
From the Depths - Accuracy & Anti-Air Tutorial
24:56
Ohm is Futile
Рет қаралды 10 М.
From the Depths - Tips & Advice for Beginners
8:58
Ohm is Futile
Рет қаралды 8 М.
From the Depths - Laser Tutorial 102
17:35
Ohm is Futile
Рет қаралды 4,9 М.
From the Depths - Not Dying 101: Armour
17:04
Ohm is Futile
Рет қаралды 4,2 М.