Stormworks Lua Radar Tutorial

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024

Комментарии • 279

  • @MrNJersey
    @MrNJersey  3 года назад +6

    NEW TUTORIAL HERE: ruclips.net/video/UCKz78md1_E/видео.html

    • @dcvendex4166
      @dcvendex4166 3 года назад

      its set to private and we cant view it

    • @MrNJersey
      @MrNJersey  3 года назад +1

      @@dcvendex4166 it’s being released tomorrow

    • @dcvendex4166
      @dcvendex4166 3 года назад

      @@MrNJersey awesome thanks

    • @SirHeavon
      @SirHeavon 3 года назад +1

      Still shows private for some reason

    • @LitNotFig
      @LitNotFig 2 года назад +2

      @@MrNJersey Its still private

  • @RaystormTheWise
    @RaystormTheWise 4 года назад +194

    With this radar I can finally find my dad who went to get cigars.

    • @Jake-qr7bt
      @Jake-qr7bt 4 года назад +10

      dont forget radar cant see under water so make some sonar too

    • @kristophia7310
      @kristophia7310 3 года назад +3

      make sure to have plenty of rocket fuel

    • @seangilmore_
      @seangilmore_ 3 года назад

      Someone tell him bc I’m gonna hurt his feelings

    • @kristophia7310
      @kristophia7310 3 года назад

      @@seangilmore_ Shhh he might hear us

    • @user-yx7ot1jz9t
      @user-yx7ot1jz9t 3 года назад +2

      Fun fact: all the dads that go missing to go get cigarettes, cigars, or milk, go to a farm in Minnesota with all the pets that ran away from you.

  • @markkravchenko3409
    @markkravchenko3409 4 года назад +105

    Instead of 6.28 in the function, you should probably write "2pi".

    • @lifeisonlyoptional2215
      @lifeisonlyoptional2215 4 года назад +8

      Radians, oh boy

    • @alanowa123
      @alanowa123 3 года назад +6

      at this resolution it really does not matter

    • @robotdude4377
      @robotdude4377 3 года назад +4

      Why not ''tau''?

    • @bomoonen7453
      @bomoonen7453 3 года назад +4

      @@alanowa123 it wil i tink. Ye per rotation it doesn't matter but the amount that he is of on 2pi is gonna stack up after a wile and the radar will be of

    • @alanowa123
      @alanowa123 3 года назад

      @@bomoonen7453 game engine itself is only accurate so much. It can't calculate pi every time it has to do something, so im sure even in code its 3.14.... and not pi.

  • @Hawilldan
    @Hawilldan 4 года назад +48

    i suggest to add your finished script on the desc or coment pined. it will really helpfull

    • @mobius1504
      @mobius1504 3 года назад

      dude for real lol typing it out as the video goes along isnt ideal

  • @keybchet9986
    @keybchet9986 4 года назад +47

    I have a suggestion for Halloween, it’s basically stormworks with volcanic eruption theme. The sky is dark because of the volcanic ashes, will result low visibility. You won’t be able to fly aviation crafts in certain height because of ashes, there will be more lightning,waves,tsunami and megalodons because of volcanic eruptions. The trees will catch fire more often, rocks will hail from the sky, high temperature might lead to death at beginning, but gradually it will become colder and result hypothermia. You will need to save multiple people:
    Billy n bob: brothers with muscles and brains who runs jank airline
    MrNjJersey: chief engineer of islands
    Lord Oscar von spammals: rich man who loves to collect steam ship with bridddge wings
    Frantic n endoskull: local coastguard somehow has tanks missile and bombers.
    Spycake: pirate with a legend of catching a megalodon

    • @jameson1239
      @jameson1239 4 года назад +4

      There is a stormworks discoed you need to send it to them

    • @mrgibbs2088
      @mrgibbs2088 4 года назад +2

      I love how you added spammals

  • @Muzzleflash1990
    @Muzzleflash1990 4 года назад +8

    Nice tutorial. One warning though. 2*pi is 6.283185 etc.... and not 6.28. That means your input to the Lua script has an error of 0.00319=0.18 degrees. Though that error is multiplied for each revolution, so after an hour of running it will be almost 90 degrees behind. Fortunately the fix should be easy: do the fmod to get rotiation in the range of 0-1 before you multiply to prevent accumulating the error.

    • @ChrisVTitus
      @ChrisVTitus 4 года назад +1

      Wouldn't putting "x*(2*pi)" in the function block instead of "(x*6.28)" also fix this issue?

    • @Rodzynus
      @Rodzynus 4 года назад +2

      @@ChrisVTitus Pi is an irrational number so even the one provided by game or lua will be just an approximation, albeit really good approximation for the purpose. Still the mentioned method of using fmod together with using 2*pi instead of 6.28 would virtually remove the error and prevent any accumulation.

    • @605nkr
      @605nkr 3 года назад

      @@Rodzynus I used a counter and some blocks and equations to be able to make it rotate using the facing input for the radar instead of a robotic pivot. It is basically the opposite of an equation I used to change the input from the compass sensor into a magnetic bearing.

  • @a_lonelydino6791
    @a_lonelydino6791 4 года назад +37

    Don’t mind me just a reminder where I left off 10:49

  • @3nigma.3nc
    @3nigma.3nc 4 года назад +35

    Good tutorial but your math is WAAAAY incorrect. Not sure what you got going on there but you're desired range setting will not display targets at the appropriate locations in relation to the source. The correct adjustment for displaying on a 64x64 screen is (32 / desired range) * target distance. Then you plug this new distance value into the w/2 + distance * math.cos(r) equation and same for the sin equation.

    • @evrolicious
      @evrolicious 4 года назад +1

      THANK YOU. i was going crazy trying to figure this out.

    • @lordraven1991
      @lordraven1991 4 года назад

      So wait, what is the line code again? And where do I put this line in the code?

    • @AClownShoe
      @AClownShoe 3 года назад

      Thank you that solved it for me.

    • @AClownShoe
      @AClownShoe 3 года назад +8

      @@lordraven1991 Its 99% there and you dont need to change any of the code just some logic. Basically what hes saying is set the value of the Constant (5000 in the vid) to 32. Connect that to the x input of your first f(x,y,z) block (starting from the top left going right). Now you want to divide that number by the range you set on your keypad, so the keypad's output will be your y input on the first f(x,y,z) block. The equation of that block should be x/y. Now, youre going to need to multiply the resulting value with the output coming from your radar for target distance, so the x input for your second f(x,y,z) block will be the output from the first function block (what we did above) with the target distance coming from your radar being the y input. The equation for the second function block should be x*y. Connect the resulting output of the second function block to the second memory register (the function block that Jersey has it connected to in the video (x/32) can be deleted). If you set everything up exactly as Jersey does in the video with these changes everything should work without changing any of the LUA code.

    • @lordraven1991
      @lordraven1991 3 года назад

      @@AClownShoe I will have to upgrade my diagram with this, thank you. I had a friend take a look at it after a while and the best he could do was to get the blips to appear but the line wouldn't move.

  • @dynamicexplosion
    @dynamicexplosion 4 года назад +28

    I needed this!

  • @nathanbasset
    @nathanbasset 4 года назад +10

    Thanks for doing the hard stuff so we don’t have to man.
    I don’t sub to people often, but your rate of production has changed my mind.
    Well done

  • @colinweber3686
    @colinweber3686 4 года назад +33

    Hey MrnJersey keep the good content up
    Love your vids

  • @Lexe2009
    @Lexe2009 3 года назад +5

    I build this radar from the tutorial. A few tips.
    DONT use 6.28 and use 2*math.PI.
    You will notice once you use it in a mission after about 20 minutes the radar and the screen don't correspond. Pretty much useless radar.

  • @RyeJ_86
    @RyeJ_86 3 года назад +6

    Still hoping to see the multiple-contacts radar how to! I’m thinking some memory registers, but not entirely sure how to do it

  • @waffletracktor
    @waffletracktor 4 года назад +9

    Aw man I’ve been tryna make a map w/ radar overlay for so long!!! This video is perfect thanks so much :D
    Keep up the awesome content!

    • @henryscp318
      @henryscp318 4 года назад

      Cool pls upload it when you are done

  • @T0MM0-Lds
    @T0MM0-Lds 3 года назад +11

    Hey man,
    What you've built is fantastic and I can see the functionality of it. However, I myself engineer and maintain RADAR systems on a daily basis, looking at feeds and analysing input and output data from loads of variants of radar systems. One thing they all have in common is what's called a CFAR (Constant False Alarm Rate) this essentially identifies moving targets and eliminates those that are stationary after building up what's called a Clutter Map (Maps everything that RF bounces off of and is collected by the receiver, building a map of stationary object that were there the last 4-5 rotations). If you could, would it be possible to show targets that move? Like yourself, and not just the tank in the background?

  • @alexnder2670
    @alexnder2670 4 года назад +6

    I'm french and this tutorial is so nice done that I understood everything. Thanks you very much !

  • @sheeplord4976
    @sheeplord4976 3 года назад +3

    Holy shit, stormworks is one of the deepest yet derpiest games I have ever played.

  • @anthonyheim3804
    @anthonyheim3804 4 года назад +1

    Great video. I got my radar saving up to 10 targets. However, the range math was off if you're not close in. I just tied a Throttle in from 50 to 5000 for the range input and did td = (target range * 32)/total range. Works like a champ.

  • @Aquelll
    @Aquelll 3 года назад +3

    What annoys me as an ex-navy officer is that radars like that do not actually turn. The turning component itself is inside the outer protective shell which is static. They should fix that so that the thing has an inner pivot and you set the turning speed but you do not actually see it turning. That annoys me to no end. 😅

    • @citrinemuscleboi
      @citrinemuscleboi 3 года назад

      It’s like that in game. Mr Jersey did it differently

  • @larrysal8866
    @larrysal8866 4 года назад +4

    o yea...i have been waiting for this, trying to get this working for a while xd
    small tip, the on/off composite and the number composite are separated, so u can have number channel 1 and on/off channel 1 at the same time ;)

  • @Tha0x
    @Tha0x 3 года назад +1

    If anyone comes across this like I have much later on, I wanted to share a bit of a better method for figuring out distance. Instead of having that zoom thing, you can have the entire 5k range displayed on the radar, but not linearly so you still have nice resolution close to you, but still see stuff 5k away.
    The key line of code is: distance = (math.log((math.exp(1)-1)*(distance/5000)+1))^(1/1.3) -- with the 1.3 being the value to control the scaling factor so you get more resolution closer or further away.
    Here is my full code. I'm not using the velocity pivot either. Just plugging in the yaw from the sensor.
    function onTick()
    degree = ((input.getNumber(1)+0.5)*360)*math.pi/180
    distance = input.getNumber(3)
    test = input.getNumber(1)
    isTarget = input.getBool(2)
    targetLoc = ((input.getNumber(4)+0.5)*360)*math.pi/180
    end
    function onDraw()
    w = screen.getWidth()
    h = screen.getHeight()
    r=(w+h)/4
    sweepX = math.cos(degree+(math.pi/2))*w/2+w/2
    sweepY = math.sin(degree+(math.pi/2))*h/2+h/2
    if distance < 0.2 then
    isTarget = false
    end
    distance = (math.log((math.exp(1)-1)*(distance/5000)+1))^(1/1.3)
    targetX = math.cos(targetLoc+(math.pi/2))*distance*w/2+w/2
    targetY = math.sin(targetLoc+(math.pi/2))*distance*h/2+h/2

    screen.setColor(0, 255, 0,200)
    screen.drawCircle(w / 2, h / 2, r)
    --screen.drawText(30,30,distance)
    screen.setColor(0, 255, 0,100)
    screen.drawLine(w/2,h/2,sweepX,sweepY)
    if isTarget then
    screen.setColor(255,0,0)
    screen.drawCircleF(targetX,targetY,1)
    end
    end

  • @jibberism9910
    @jibberism9910 4 года назад +7

    Somewhere around 30 second mark I thought you were starting in another language lol

  • @F2NW
    @F2NW 4 года назад

    I'm from Malaysia and it difficult to understand a bit. but I very like this game because it one of the games I search for in an entire life. I won't stop watching you until you stop cause you are my guide to play Stormworks

    • @F2NW
      @F2NW 4 года назад

      hard to Understand English a bit

  • @BaileyChap
    @BaileyChap 4 года назад +1

    I hate to be a downer, but isn't this radar very flawed? it can only detect one object at a time, is it possible to make it detect multiple objects at a time, instead? Also, if you turn it on, then off, then on again, it breaks, could you make it actually show the real angle, rather then a predicted one?

  • @willmons1197
    @willmons1197 4 года назад +1

    Omg thanks! I knew you would post this and I’ve been waiting for so long. I can now make something I couldn’t before

  • @danielkieran1427
    @danielkieran1427 4 года назад +2

    maybe soon we could get a multiple target version tutorial please? This is an excellent basis for beginning , great video.

    • @razorblade7108
      @razorblade7108 3 года назад +1

      You can't detect multiple targets in one line, but it will detect multiple targets if one is not blocking the other. The radar can't see through objects, so it will only detect the closest object and not the ones behind it if they are in one line.

  • @redpug5042
    @redpug5042 3 года назад

    you can also use the yaw of the radar to instantly move, it is much faster. I count by 0.01 every tick, and the output to yaw is the variable -0.5, and when the variable gets to 1, it's set to 0

    • @MrNJersey
      @MrNJersey  3 года назад

      Correct, a lot of things have changed since they were first released and now yaw works correctly

    • @redpug5042
      @redpug5042 3 года назад

      @@MrNJersey Oh, hi there, wasn't expecting a response, I haven't used radar like ever until now. I'm currently making a emergency beacon locator which involves radar. I was having trouble with it so I looked at this video just to see how you made it work, turns out I was doing it right, just messed up a few numbers.

  • @jakubpollak2067
    @jakubpollak2067 4 года назад +2

    Radar can rotate internally, without need to rotate whole casing, just set it to a=math.mod(a+s,1);y=a-0.5 , while s is speed of radar and y is yaw output for radar
    Whole thing you showed is nothing new, you could already do this with distance sensor (except radar is scanning just for objects, not enviroment)
    Also could you make that dot will stay on the radar until next sweep rewrite it?

    • @MrNJersey
      @MrNJersey  4 года назад +2

      Ah good one, Your correct in saying that this isnt new but nowhere have I said its new, However no video has been done on this and it was highly requested hence why it was recorded. The dot can stay on screen if you modify the delay.

    • @jakubpollak2067
      @jakubpollak2067 4 года назад +2

      @@MrNJersey Will you make a video about more complex radar on video?

  • @arthurdobromir1379
    @arthurdobromir1379 4 года назад +1

    Love your vids and tutorials I beg you never stop!!

  • @BobtheBuilder0
    @BobtheBuilder0 4 года назад +1

    Finally! Thank you for this video!

  • @darklxr4597
    @darklxr4597 4 года назад +7

    Hey Jersey. When I'm doing the scripting I get a problem with the script getbool

    • @darklxr4597
      @darklxr4597 4 года назад

      Every thing is fine besides until I get to the function getbool.

    • @haalstra
      @haalstra 4 года назад +1

      use getBool with a capital B

    • @aidanrocha9488
      @aidanrocha9488 3 года назад

      @@haalstra Thanks i had this problem to and this fixed it

  • @paytonhenry4561
    @paytonhenry4561 4 года назад +3

    Did you make the second part for multiple targets?

  • @grantjohnstone9787
    @grantjohnstone9787 4 года назад +1

    Following this tutorial precisely, everything works until you added the memory registers. From then on the screen stopped displaying any red dots whatsoever. Is there something I overlooked?

  • @robinjahn1294
    @robinjahn1294 4 года назад

    Just a heads up - i`ve done some math behind it and the "divide the distance by 32 for it to fit on the screen" is not right. If maximum 5000 meters is 32 pixels then 2500 meters would be 16 pixels - if you did /32 you would get 87.125 though. What you actually have to do is multiply the distance by 0.0064 or divide by 156.25 for it to accurately fit on the screen

  • @taMeska
    @taMeska 3 года назад +1

    I have a problem with the line; it seems to stay in one spot, but ever so often it spazzes out all over then back. Any idea what’s wrong? The red also doesn’t seem to appear. I did everything as you did.

    • @CaptainFaded
      @CaptainFaded 3 года назад

      This tutorial doesent work in 1.0 for some reason the dot does not display on the radar most of the time. However it works fine with the player.

  • @ChanelName
    @ChanelName 4 года назад +4

    ...okey
    okey
    okey
    okey
    but the tutorial is great)

  • @dynamicexplosion
    @dynamicexplosion 4 года назад +2

    Instead of doing "a-1.57" to get the offset, you could just swap the places with Sine and Cosine, so Sine would be the X axis, and Cosine the Y axis.

  • @connorjackson4083
    @connorjackson4083 4 года назад +1

    I did everything and it didn't work

  • @matthiass.4947
    @matthiass.4947 3 года назад +1

    My Screen just wont show anything at all after the inition of the draw a line code

  • @tomkpunkt
    @tomkpunkt 4 года назад +5

    Hmm it’s very complicated, why you use so many function blocks, it can all be made in lua. Also the small Radar has an input for an angle.

    • @redstone_orange
      @redstone_orange 3 года назад +1

      Well, if you make all in Lua it causes more lag

  • @kimjong-un1132
    @kimjong-un1132 4 года назад +3

    Nice! could you make a vtol tutorial?? :D

  • @pointer1829
    @pointer1829 3 года назад +1

    Why would they add a radars and make it so hard to make it work normally

  • @lukefed
    @lukefed 4 года назад +1

    This was so helpful! Thank you!

  • @TotallyNotAFox
    @TotallyNotAFox 3 года назад

    Great to see how to set up a radar.... an easier way ingame would be cool though

  • @isaakgilissen4579
    @isaakgilissen4579 4 года назад +1

    Thank you! i needed this

  • @mrmunchkin2181
    @mrmunchkin2181 3 года назад +1

    Is someone able to explain why the sin and cos are where they are and what they are for?
    I would like to make stuffs like this though my trig is waaaaaay below where it needs to be :/

  • @julbloxgaming4376
    @julbloxgaming4376 4 года назад +1

    Nice vid. You should make a tutorial on how to make a manual transmission

  • @FalkeFalke-gu3wd
    @FalkeFalke-gu3wd 3 года назад +2

    does the sonar work the same way, because i want to build a Submarine.

  • @JaxiPaxified
    @JaxiPaxified 3 года назад

    I would really appreciate a solution using the internal rotation of the radar. Seems like a waste of space to put in a pivot, especially on smaller creations

  • @draeath
    @draeath 4 года назад

    You'd be better off using the 'pi2' constant instead of 6.28. More precise, and it's not any slower.

  • @jeffmech600
    @jeffmech600 4 года назад +1

    Dude you are the man

  • @IcyVoidDragon
    @IcyVoidDragon 3 года назад +2

    Update your video. Because what you showed isn't working

  • @TheNordicBoatGuy
    @TheNordicBoatGuy 4 года назад

    This video was very helpful. thank you!

  • @alveepro7406
    @alveepro7406 4 года назад

    Exactly what I needed, Thanks :)

  • @hivewasp
    @hivewasp 4 года назад

    why do you go (H+W)/4 and not just take H/2 ? the screen height is always the smaller or equal side; if your screen is not square; the circle will fit vertically and still be centered horizontally; where with (H+W)/4 you may end up with some weird incomplete circle ... like for example (64H+100W)/4=41 (which covers 82 ... so too small for the width; but too large for the height).

  • @drbrick7262
    @drbrick7262 4 года назад +1

    Oh my! Thanx a lot!

  • @sauerkraut7630
    @sauerkraut7630 4 года назад

    I quite enjoy your videos. Keep it up!

  • @197829deb
    @197829deb 3 года назад

    help i tried building this but the radar and screen are on when the circuit breaker is off

  • @superbunnymonkeysbmsuper9
    @superbunnymonkeysbmsuper9 4 года назад

    I know people probably won’t see this but I was wondering if it pinged enemy ships. Because it pinged a person so I was thinking blocks might get pinged as well if it did it would be so cool

  • @Phantom_Incorporated
    @Phantom_Incorporated 4 года назад

    I used this setup for a sonar, but every time I get the sonar under water, it kicks an error cod to my monitor that won't go away until I respawn the craft.

  • @Lexe2009
    @Lexe2009 3 года назад +1

    Where can I find the guide to add multiple targets ?

  • @angrypatriot9989
    @angrypatriot9989 4 года назад

    This is great, what I needed...

  • @AJboy-ql8jb
    @AJboy-ql8jb 4 года назад +1

    Hi, great vidio. I was just wondering if this would work for sonar as well?

  • @fg4020
    @fg4020 3 года назад

    Hey! I made it but it keeps on maximum range even if I put the keypad in 0 anyone know what problem could be?

  • @Buffeyra
    @Buffeyra 3 года назад +1

    THIS BROKEN

  • @adenboyer9979
    @adenboyer9979 3 года назад

    how do you get more than one dot to stay on the screen for more than 2 seconds?

  • @a-klashinkov-4755
    @a-klashinkov-4755 2 года назад

    @MrNJersey when is our math final exam?

  • @mattturn6590
    @mattturn6590 4 года назад +2

    Radar Time!!!!!

  • @GeorgeRobertson92
    @GeorgeRobertson92 3 года назад

    HELP It was working up until you said "lets make the dot stay in position" and now the red dots do not show up on my screen

  • @mattn5594
    @mattn5594 4 года назад

    Very awesome, thank you

  • @darkwatersband
    @darkwatersband 3 года назад

    i tried doing this but it doesn't show any vehicles or objects near the radar the screen works fine, am i missing something? I've triple checked all the code and it seams to be correct

  • @aalaaula
    @aalaaula 4 года назад

    I had no idea you could do so much in this game.. I wonder if anyone made a working cpu model with all those logic parts

    • @lmaoor651
      @lmaoor651 3 года назад

      You can make a computer and code games in it

    • @aalaaula
      @aalaaula 3 года назад

      Might attempt one myself sometime in the future.

  • @rebeca2737
    @rebeca2737 3 года назад

    how did you figure that the radius of your circle is only 32? i really wish ya said how ya got that so it works for more then 2x2 -_- but thanks for puting this up

  • @aldwinfrancismutia9583
    @aldwinfrancismutia9583 4 года назад +1

    Hello, I am currently building a lidar, an ocean floor mapping for ships and it is based on the radar you made. I just change the radar into a laser distance sensor and other stuff and already detecting the distance where the laser is pointed but I can't figure out on having a multiple targets on screen. My current lidar right now can only display one target at a time because number values changes immediately. Well I am new Lua and can't figure it out. Can you create a tutorial for multiple targets? I am glad if you can help. Thanks!

  • @robmuzz
    @robmuzz 4 года назад

    Clever stuff!

  • @tsogtenkhbaatar8001
    @tsogtenkhbaatar8001 4 года назад

    I followed step by step but I don't understand how the first function block came out

  • @neth77
    @neth77 4 года назад

    Thanks for this.

  • @xbabushka3634
    @xbabushka3634 4 года назад +1

    nice content

  • @comradecheese6992
    @comradecheese6992 3 года назад +1

    Not gonna brag but...
    I was the 1000th like

  • @hazmasterocks
    @hazmasterocks 3 года назад

    how in gods name do i invert the velocity pivot? Not matter how you turn it does magically change direction is there a button you can press that toggle the direction?
    Edit
    Ah you just press U, sure would be nice if the game showed that somewhere in the control menu

  • @majkarun1649
    @majkarun1649 4 года назад

    Can you please make a version that doesnt require the velocity pivot, so it would use facing yaw to turn.

  • @epnexx7234
    @epnexx7234 3 года назад

    Great video man, but you started by the system based on the lua script getting the monitor size by itself. so setting 32 into the logic will lock the setup to the 64x64 screen. Maybe set up an number output with half of the used screen like w1 = w /2 and output.setNumber(1, w1) so you can get the calculated size by the displayed monitor itself. combine this with @Dr Strangelove comment. And it works quite well.

  • @sonorangaming449
    @sonorangaming449 3 года назад

    I can cannot seem to get it to make the red dots. :-(

  • @daanwezenbeek245
    @daanwezenbeek245 3 года назад

    thank you for this tetorial

  • @kaivargas815
    @kaivargas815 4 года назад

    Hey Ive gone over the set up and code a million times now but no matter what when I turn it on the radar doesn’t move and stays put

  • @cat-nl4sv
    @cat-nl4sv 3 года назад +1

    why couldnt they have made radars simpiler

  • @veldhuijzenscooters3086
    @veldhuijzenscooters3086 3 года назад

    i mean i did everything exactly as you did i have been at it for a solid 5 hours,... just kept giving me (error failure.draw) i gave up

  • @creesed9041
    @creesed9041 3 года назад

    i want to learn how to make radars like this but it's too confusing

  • @ebojager
    @ebojager 2 года назад

    Looks like the new basic radar does not have a "target found" :( I guess ill have to wait for the new tutorial

  • @pineapplelumps7117
    @pineapplelumps7117 4 года назад

    My screen keeps showing a line facing up that dosen't move at all and then the screen comes up with an error message a few seconds later, got any idea what I've done wrong? (I'm getting something that says there is something wrong with something in the "if t then screen.setColor(225,0,0) screen.drawCircleF(x4,y4,1) end" part) I got the circle working but the line still won't move ;/

  • @CharizardLMAO
    @CharizardLMAO Год назад

    it doesent show the lil red dot

  • @lordraven1991
    @lordraven1991 4 года назад

    OK HELP ME!! I have done everything that MrNJersey has done to the letter, in both script and microcontroller logic. The Radar turns, and the pings show up but the line on the screen does not move at all. It just shows the line pointing forwards, with the transparent triangle behind it. But the pings for target found don't show on the circle at all, they show up on the back edge of the triangle away from the line. So on my ship it always shows something off to my port side a few degrees off center, and I have been double checking myself against this video for days now.

    • @MrNJersey
      @MrNJersey  4 года назад

      Join my discord, ask around, plenty people more than happy to help.

  • @thequazi
    @thequazi 2 года назад

    Something fun to do is count how many times he says "actual" during the video.

  • @cheese6039
    @cheese6039 4 года назад

    They moved the comments and it’s very weird not having the comments below other videos

  • @KingAlpha-cr2oc
    @KingAlpha-cr2oc 3 года назад

    This won't work I went over script 10 times pls help

  • @WonderWar
    @WonderWar Год назад

    I need help with the codeing it won’t work can someone copy it and I remove it all then add the fixed code

    • @WonderWar
      @WonderWar Год назад

      I am stuck on the t = input.getbool (2)
      It just has an error but nothing I do fixes it

  • @Megalodon34561
    @Megalodon34561 2 года назад

    can you please do a new radar video for v1.4.7

  • @deadly_mir
    @deadly_mir 4 года назад

    I followed the directions and hooked everything up accordingly, the only problem is after editing the script, I cant update the microcontroller and I dont get the circle on my display. Any tips on what's wrong?
    Edit: I figured out my first problem, but now after I used the exact script it just says error on the screen. Lol this is more complicated than I thought. Also, it says like '(4) Nil value' on the screen yet I double checked everything to make sure it was exact

  • @RaynePL
    @RaynePL Год назад

    I'd actually use math tutorial to it lol. Can you give me some directions?

  • @Hawilldan
    @Hawilldan 4 года назад

    why my target dot is slowly going far away?