OOO just in time, starting on the interior on my first plane build! Appreciate all these guides!
@nOverxD3 жыл бұрын
Same dude ! Was looking on workshop for which one was the better one, I guess we will spend some times making ours now...
@danielkieran14273 жыл бұрын
I'll jump on this comment too 😂 I'm in the same situation as well. I'm starting a cockpit build soon.
@YogiTehBear3 жыл бұрын
Well, I can only hope your plane builds are going better than mine haha! I may have bitten off more than I can chew with this seaplane, as soon as there is a gust of wind I lose all control maybe I'm just a terrible pilot haha.
@danielkieran14273 жыл бұрын
The wind can be crazy😂 its a love hate sort of thing. Sea planes are epic though. Good luck👍
@cod_cape54833 жыл бұрын
Oh man! This is gonna be extremely helpful! Thanks!
@katasulu3 жыл бұрын
Been waiting for something like this, thanks!
@adan79493 жыл бұрын
I didn't notice this was a new video until I saw the comments, Hello MrNjersey!
@joy_01093 жыл бұрын
Wanted this tutorial for long, thanks for finally making it!!
@brodgers1233 жыл бұрын
Looking forward to the future episodes!
@Dextroia3 жыл бұрын
As always, awesome content!
@bacco04473 жыл бұрын
Hi, are you gonna do an hud tutorial? (like how to make the artificial orizon on an hud or something) Great video btw :D
@mathias63693 жыл бұрын
huds work the same as regular monitors so you can just use these tutorials
@bacco04473 жыл бұрын
@@mathias6369 oh, didnt know that, thank you
@NVTCGamesАй бұрын
I don’t know if it has changed, but I don’t think you need a composite connection to the screen for width and height finding?? Correct me if I’m wrong but in his basic data screen he finds width and height of screen without a composite connected
@listopad092 жыл бұрын
i have did Check For Errors, it said no errors I've got a bluescreen it says "tick error 3: attempt to call a nil value (field 'getnumber')"
@Bendigo12 жыл бұрын
That usually means a typo, nothing matches the parameters you put in.
@theofficiaIsteve3 ай бұрын
make sure its "getNumber" not "getnumber" you likely might have not put the parentheses on properly
@norgeek3 жыл бұрын
You don't need the Composite connection to get the Screen Size, the Video connection is enough!
@oprain3 жыл бұрын
항상 감사합니다.
@gargamel71273 жыл бұрын
function onTick() f_tilt = (input.getNumber(1)*4)*90 s_tilt = (input.getNumber(2)*4)*90 end function onDraw() w = screen.getWidth() h = screen.getHeight() rad = w+h/4 cx = w/2 cy = h/2 pitch = math.acos(f_tilt / 90) roll = math.rad(90 - s_tilt) x1 = cx + rad * math.cos(roll + pitch) y1 = cy + rad * math.sin(roll + pitch) x2 = cx + rad * math.cos(roll - pitch) y2 = cy + rad * math.sin(roll - pitch) screen.drawLine(x1, y1, x2, y2) end
@olssong79413 жыл бұрын
How do i make a circle instead? I'm trying to do a gunsight from the vietnam war era where there are 2 dots that represent roll, so no pitch
@larrysal88663 жыл бұрын
Try doing a full roll rotation and show how it looks, i believe it's a bit harder than this to correct that issue
@tymoteuszkazubski27553 жыл бұрын
Look up trigonometry on a sphere.
@mnpst53 жыл бұрын
Hi, first of all thank you for explaining this now, that's really nice. And secondly, will there be real pyhsics at some point, so that a plane can glide in the sky without falling directly out of the sky? Because that would be really nice, every time I land I slow down and all of a sudden I fall out of the sky. Rip
@MrNJersey3 жыл бұрын
Was discussed in the last Q&A :)
@CuriousMochii Жыл бұрын
This video is easy to follow but I would like to know where I can learn more about it -like in the first part of the video where we multiplied the tilt values by 4. TIA!
@profitgaming63125 ай бұрын
You mutiplied by 4 because the tilt sensor only reads from -0.25 to +0.25. So to get a value of -1 to +1 it was multiplied by 4.
@dannylopez18753 жыл бұрын
friend I need help with my helicopter I connect everything as it should but I do not understand why when I start it the rotations do not exceed 4.93 I don't know if the motor that I put in it has to do with it is a small motor or is it another factor.
@jamesjordan30423 жыл бұрын
hi sorry but i watched this and it made my line be on a angle. the line moved correctly but it was on a angle could anyone help as i have gone over this numerous times and compared it to mrnjerseys but cant seem to find the problem
@jakobusjohannes21953 жыл бұрын
uh, i did it i have basic programming knowledge but clueless on lua script. an error occurs (not detected by the checker but the screen displays an error msg when turning it on, it says that i was attempting to call the "screen.setcolor(100, 100, 100) on a nill value" Anyone have a clue what ive stacked up?
@jakobusjohannes21953 жыл бұрын
I FOUND IT!, make sure when doing the screen.setcolor MAKE SURE ITS A CAPITAL C for Color so > screen.setColor(100, 100, 100)
@MrNJersey3 жыл бұрын
Yes
@Tomartyr3 жыл бұрын
11:42 "Y2..K" The end is nigh.
@iantolambert56303 жыл бұрын
And also thanks for uploading.
@SweHam3 жыл бұрын
So, why is it that you have written "rad = w+h/4" did you mean to write "rad = (w+h)/4"? Cause what you wrote doesn't actually divide your number by 4. How it's written now you divide the hight by 4 and the width remains the same, is that correct or a mistake?
@MrNJersey3 жыл бұрын
Yah you should add the (), I will address this in the next part.
@SweHam3 жыл бұрын
@@MrNJersey Ok, figured that. A definite easy mistake to do while recording something as complex as code live. It's a really helpful tutorial either way. Glad to see that you're helping people get a first look into Lua 😊
@gargamel71273 жыл бұрын
It says on the screen that: 2: attempt to call a nil value (field `getnumber`
@MrNJersey3 жыл бұрын
getNumber
@gargamel71273 жыл бұрын
Thx
@Izz4cc2 жыл бұрын
@@gargamel7127 getLife would be a great function for my dear genshin impact players
@mathijssy5097 Жыл бұрын
Its not "Times by" but multiplied by
@sanane97903 жыл бұрын
Может быть настраиваемый авиагоризонт
@pepperoni43073 жыл бұрын
Will you be showing how we can add two seperate lines instead of a singular line?
@MrNJersey3 жыл бұрын
Eventually Yes, I guess you are refering to the pitch angle ladder?
@kasenibaraki37703 жыл бұрын
Thanks Jesus.
@krolon97863 жыл бұрын
naw, got asked for help by a new lua person doing a hud ladder for pitch, and I'm just angry when watching this after he told me he followed this tutorial, it's just mistakes tailored to work in your situation, there are way more reliable and robust ways of doing this stuff, especially on the trigonometry side like aight, you said you're not a pro at this but keep in mind that what you say literally influences hundreds of players that don't know lua and trigonometry and will take what they see in here as granted
@Bendigo12 жыл бұрын
The thing is, he makes a lot of videos about the game, if you search for videos about something in the game he is usually the only one who has made a video on the subject. Most people do not look up other methods like using discussions or googling it to find another way. It would be great if others made more videos about it with better ways of doing it to help others out. This is his way of doing it, it is not the only way and not always the best way to do it. I often watch his videos just to get an idea of what to do then use other sources to figure out how to improve it or find a better way to do it. I have started learning Lua and trig just because of this game... I am definitely not an expert on either but know how to learn how to figure out how to make something work.
@Tailfish2 жыл бұрын
This tutorial does not work. At least from when I exactly copied you, this does not work. When I turn the screen on, nothing comes up. I've spent an hour trying to find the problem but cant. I'm wondering if the devs have changed something. But, thank you for teaching me how to LUA anyway.
@Tailfish2 жыл бұрын
I have no errors detected in case you were wondering
@Bendigo12 жыл бұрын
@@Tailfish did you connect everything correctly and turn on and power the monitor?
@Tailfish2 жыл бұрын
@@Bendigo1 yes
@Bendigo12 жыл бұрын
@@Tailfish did you ever get it to work or give up on it?
@2ND-ID-REENACTOR19443 жыл бұрын
2nd
@iantolambert56303 жыл бұрын
Please can you try my stormworks creation: the Guardian X i sended this message last video too.
@Quantum-Bullet3 жыл бұрын
a red and blue super basic looking boats? lol no, only if it lands in the top 5 of the week..
@iantolambert56303 жыл бұрын
@@Quantum-Bullet Hey its my first workshop creation and It uses modular engines
@iantolambert56303 жыл бұрын
Also try my other creations my steam name is: Esperpritzie
@jimmyxrist28573 жыл бұрын
3nd
@coronapack3 жыл бұрын
been spending days watching your videos. these micro controllers and such are blowing my mind. now you doing scripting and i feel my brain matter oozing out my ears.... getting more doubtful about downloading and playing this game. looks sooooo complicated. like worse than EVE.
@sirjeffels40203 жыл бұрын
Bruh. Say sine (sin.) and cosine (cos.) correctly.