Stormworks Map to Screen Tutorial (LUA BASICS)

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 พ.ย. 2024
  • Join myself today where we show you the basics of how to use the new LUA script to draw the map on screens here in Stormworks.
    MrNJersey Gaming Offical Discord Server Link: / discord
    MrNJersey Gaming Offical Merch: teespring.com/...
    MrNJersey Patreon Page: / mrnjersey
    Stormworks Community Discord Link: / discord
    STORMWORKS: BUILD AND RESCUE
    Join a world where you design, create and pilot your own sea-rescue service. Release your inner hero as you battle fierce storms out at sea to rescue those in need. Stormworks: Build and Rescue is a rich and dramatic physics playground. Take your custom-designed, block-based and programmable vehicles into fierce oceanic storms. Plan and execute thrilling rescues in a variety of challenging crisis scenarios. Export and share your meticulously designed vehicles and missions with other players via the Steam workshop. Stormworks: Build and Rescue - create, rescue and release your inner hero! Stormworks: Build and Rescue - Create, Rescue and release your inner hero!
    Intro Audio: Holy Tension Batman (TH-cam Audio Library)
    Series Audio: Peace (TH-cam Audio Library)
    Outro Audio: They Might Not - Puddle of Infinity (TH-cam Audio Library)

ความคิดเห็น • 154

  • @torfossberg1137
    @torfossberg1137 4 ปีที่แล้ว +41

    As a new player, this is a godsend

  • @luckyizzac
    @luckyizzac 4 ปีที่แล้ว +46

    People who love engineering
    And gaming
    I recommend this game
    Best game ever

    • @plazmabeam638
      @plazmabeam638 4 ปีที่แล้ว +1

      yup i love it for thoes exact reasons

    • @capslk6749
      @capslk6749 4 ปีที่แล้ว

      Me to

    • @luckyizzac
      @luckyizzac 4 ปีที่แล้ว +5

      @@capslk6749 hmm yeah
      I think other utubers like pewds wouldn't play this for the exact same reasons😂

    • @deltavii7499
      @deltavii7499 4 ปีที่แล้ว

      Exactly why I bought it!

    • @awhahoo
      @awhahoo 3 ปีที่แล้ว +1

      Engineer gaming

  • @peerebeer4507
    @peerebeer4507 5 ปีที่แล้ว +22

    Awesome! Ive been trying out the scripting and i found it rather simple to learn. This video Will definitely help many people!

    • @jellynonotthatone8924
      @jellynonotthatone8924 4 ปีที่แล้ว +1

      if your interested in lua scripting.
      i suggest you take a look at love2D and roblox

  • @cod_cape5483
    @cod_cape5483 5 ปีที่แล้ว +26

    oh my gosh I can’t tell you how much I needed that!!! Thank you so much man!!

    • @toenailmuncher0772
      @toenailmuncher0772 ปีที่แล้ว

      :0 the legends story starts here

    • @cod_cape5483
      @cod_cape5483 ปีที่แล้ว

      @@toenailmuncher0772 what?

    • @toenailmuncher0772
      @toenailmuncher0772 ปีที่แล้ว

      @@cod_cape5483 you've made a bunch of awesome ships

    • @cod_cape5483
      @cod_cape5483 ปีที่แล้ว

      @@toenailmuncher0772 oh lol. Thanks man

  • @minsin56
    @minsin56 5 ปีที่แล้ว +53

    7:30 i noticed there is a drawtriangle function
    since i have experience with opengl i should be able to make a simple 3d renderer

    • @predatortheme
      @predatortheme 4 ปีที่แล้ว +5

      Yeah you could. if you write a small library for matrix stuff

    • @Plaer1
      @Plaer1 4 หลายเดือนก่อน

      That’s the first thing I thought of when I saw that you could draw shapes, maybe a spinning cube would be cool for a futuristic ui

  • @toindebas3912
    @toindebas3912 4 ปีที่แล้ว +1

    I don’t even have this game, i’m litterally watching these vids because it’s so interesting

  • @RealHurdle69
    @RealHurdle69 5 ปีที่แล้ว +7

    lua in Stormworks is so hype

  • @malachicrawford9676
    @malachicrawford9676 5 ปีที่แล้ว +6

    Thanks for taking my recommendations for your next tutorial vids! This opens up a ton of new things for me to do now!

  • @lucasbucci37
    @lucasbucci37 5 ปีที่แล้ว +4

    TH-cam is really lacking great content like this, keep up the great work man +1 sub from me.

  • @abstract0014
    @abstract0014 4 ปีที่แล้ว

    Watching your intro is so satisfying for some reason

  • @lsm_scorpion7854
    @lsm_scorpion7854 3 ปีที่แล้ว

    Dude, its such a good feeling when you get something like this correct, Thx

  • @CharizardLMAO
    @CharizardLMAO ปีที่แล้ว

    Tysm! it worked now everytime i build a vehicle it gets more advanced! +1 sub

  • @LoneWolf0648
    @LoneWolf0648 5 ปีที่แล้ว +5

    i remember when they added lua into space engineers, it changed the game. now that its in stormworks get ready for things to get crazy complicated

  • @h0tdiggity_dog918
    @h0tdiggity_dog918 5 ปีที่แล้ว +2

    3 views 9 likes, great job youtube. Also, I was waiting for this video when it came out thank you so much! Also, I would like to see how you would get a Artificial Horizon and text based on a event on a HUD.

    • @ConnorEllisMusic
      @ConnorEllisMusic 5 ปีที่แล้ว

      People just can't seem to understand that the statistics update at different rates. That's why you can see more likes than views. There are more views it just update that fast because performance and stability

    • @h0tdiggity_dog918
      @h0tdiggity_dog918 5 ปีที่แล้ว

      @@ConnorEllisMusic Thanks, that would answer alot.

    • @veda-powered
      @veda-powered 5 ปีที่แล้ว

      An artificial horizon is actually kinda tricky to implement because it needs trigonometric functions to draw the lines correctly. For example the formula for rotating a point involves sin/cos, and you would need to multiply it twice for 3d rotations, so that might not be as easily converted into a tutorial

  • @TheEgg-gb5sr
    @TheEgg-gb5sr 7 หลายเดือนก่อน

    This came up on my videos, which is perfect since i am making a plane so i needed a map

  • @mwmm
    @mwmm 5 ปีที่แล้ว +3

    FYI, lua maps are broke with the latest update (for anyone wondering why their code doesn't show a map) bug has been reported by a couple of people already

    • @MrNJersey
      @MrNJersey  5 ปีที่แล้ว

      It’s been hotfixed already

    • @mwmm
      @mwmm 5 ปีที่แล้ว

      @@MrNJersey sweet, didn't notice a patch note that's why I assumed! Thanks for letting me know man

  • @relaxchillsleeprepeat857
    @relaxchillsleeprepeat857 2 ปีที่แล้ว

    Hey man, awersome tutorial!

  • @billy-blij-1-2-36
    @billy-blij-1-2-36 5 ปีที่แล้ว +3

    YAAAY i was waiting for this

  • @Ares_God1
    @Ares_God1 3 ปีที่แล้ว

    OMG Thanks im new in Stormworks that helped me

  • @Z-Ren
    @Z-Ren 5 ปีที่แล้ว +1

    Great Video my friend!

  • @zescoot2590
    @zescoot2590 ปีที่แล้ว

    This is wayyyyyy simpler to make than I thought

  • @ah-64attackhelicopter94
    @ah-64attackhelicopter94 5 ปีที่แล้ว

    i tried to do this by my self but I failed miserably, you make it look so easy.Thanks for the tutorial

  • @jacobtatko5032
    @jacobtatko5032 2 ปีที่แล้ว

    works very well

  • @Invett
    @Invett 4 ปีที่แล้ว +2

    is there a way to show multiple blips on the map, e.g having a large boat with a helicopter and the map shows where the helicopter is along with the boat? If so could you please let me know how?
    -Thanks!

  • @youngslol
    @youngslol 5 ปีที่แล้ว

    Thanks MrNJersey!

  • @drimk7101
    @drimk7101 5 ปีที่แล้ว +1

    Yes!! Nice vid btw

  • @alvaroskarson6175
    @alvaroskarson6175 4 หลายเดือนก่อน

    thanks for the help

  • @MrChulo
    @MrChulo 5 ปีที่แล้ว +3

    I'll have to dig my way into this, ugh I'm never gonna be able to make the perfect ship....

    • @maxcchiru
      @maxcchiru 5 ปีที่แล้ว +1

      Im also thought that at the beginning.
      But I started by taking Hulls off the workshop and building the rest and now Ive built one Multi-Purpose-Offshore Ship, Three Speedboats, one Hydrofoil and a RHIB all by myself...

    • @cod_cape5483
      @cod_cape5483 5 ปีที่แล้ว

      Nice, I specialize in planes. I built a drone, b-29, 737, and a steampunk airship

  • @HagrydTV
    @HagrydTV 5 ปีที่แล้ว

    Good works guys

  • @evankirchhofer476
    @evankirchhofer476 4 ปีที่แล้ว +2

    What do I do if the screen is blue and says that I attempted to index a nil value. The lua script says that there are no errors

  • @SinnerD2010
    @SinnerD2010 5 ปีที่แล้ว +6

    "I recommend copying" = worst "programing basics" advice ever bro.
    Nice demo otherwise. Thanks for the vids, new stuff looks awesome. :D

  • @hunormagyar1843
    @hunormagyar1843 5 ปีที่แล้ว +1

    Nice one, didn't expect it to be so simple... But damn, first time I tried it, I set it to 100, and my potato didn't like it at all, it crashed... XD

  • @delsa403
    @delsa403 3 ปีที่แล้ว

    I FUCKING LOVE YOU MAN!!!!

  • @Alsuwailem
    @Alsuwailem 4 ปีที่แล้ว

    If the script in the video did not work, try adding width 5 and hight 3 for the screen on the script) worked for me

  • @robmuzz
    @robmuzz 5 ปีที่แล้ว

    Thank you! Not as scary as I thought.

  • @YoutubeAccountName
    @YoutubeAccountName 5 ปีที่แล้ว +4

    How do you rotate the map? Right now I'm stuck putting an arrow showing the direction of the ship, I would like to rotate the map too (and I'll program a toggle into it)

    • @jackandy1736
      @jackandy1736 4 ปีที่แล้ว

      You cant draw a rotated map, try rotating the screen with a pivot

  • @odorouswo1f
    @odorouswo1f 5 ปีที่แล้ว +1

    Yay!

  • @billy-blij-1-2-36
    @billy-blij-1-2-36 5 ปีที่แล้ว +6

    Jersey is my AirPort in the top5?

  • @matthewthompson6475
    @matthewthompson6475 5 ปีที่แล้ว +5

    Plz can you help me make a touch screen if possible 🙂

  • @xnopyt13
    @xnopyt13 5 ปีที่แล้ว

    2:45 how do you select a different block by hovering on it? Which key is it and WHY ARE YOU SO GOOD AT IT because i can't find the shortcuts for the editor anywhere

    • @ir0ncat_
      @ir0ncat_ 5 ปีที่แล้ว +1

      Ctrl + left click (it show the shortcuts in the bottom left corner)

    • @xnopyt13
      @xnopyt13 5 ปีที่แล้ว

      Will The MemeLord thank you! I was clearly blind lol, but how should one know that x is for delete blocks?

    • @ir0ncat_
      @ir0ncat_ 5 ปีที่แล้ว

      @@xnopyt13 wait you can press X to delete blocks ._. LOL thanks

    • @xnopyt13
      @xnopyt13 5 ปีที่แล้ว +1

      Will The MemeLord lol let's help each other because apparently the devs want to keep all the good shortcuts a secret

  • @nickhuijts
    @nickhuijts 4 ปีที่แล้ว +1

    i did evrything from the video but still my zoom will not work. can someone help me whith that

  • @Drruuiipp
    @Drruuiipp 5 ปีที่แล้ว

    My man!

  • @Faris0000
    @Faris0000 5 ปีที่แล้ว

    I saw your drone and i was amazed! Was it easy to build?

  • @tulvatjoet5533
    @tulvatjoet5533 5 ปีที่แล้ว +1

    just a quick question... when you build a gigant boat how do you make into separate parts and how do you put it together?

    • @veda-powered
      @veda-powered 5 ปีที่แล้ว

      Anton Hallberg If I understand your question right, then to put it together you click “merge” on the right side of the top bar, then click on the first thing, and then the second. To split it apart you would click the “selection grid” (to the right of merge), then select what you want to split, then click cut/move on the left bar, then paste on the right bar. To reset click “clear grid”. Hope this helps :)

  • @raingoat271
    @raingoat271 5 ปีที่แล้ว

    Could you do a building series soon?

  • @larrysal8866
    @larrysal8866 5 ปีที่แล้ว

    They should put in a military mode, like, apart from the rescue mode

  • @JodianGaming
    @JodianGaming 5 ปีที่แล้ว

    Could you please do a video on how to take the new Radar info and output a typical radar display to a screen using the LUA system?

  • @clarksutherland9250
    @clarksutherland9250 4 ปีที่แล้ว

    Can you make a total about how to build autopilot system.

  • @foldervtolvr
    @foldervtolvr 3 ปีที่แล้ว +1

    Whenever I do it it ends up with a “draw error 12: attempted to call a nil value (field ‘drawmap’)” do you have any idea what’s wrong? I have experience with computer code but this is beyond me

  • @gmand2fan763
    @gmand2fan763 ปีที่แล้ว

    I have tryed everything, when I turn on the screen it shows the beginner island (0) (0) but I have dubble checked the code, the logic and still the same

  • @MattJohno2
    @MattJohno2 4 ปีที่แล้ว

    I have a small issue - My map doesn't follow my player, and is centred on the coastguard outpost..

  • @gameplayoffert1326
    @gameplayoffert1326 5 ปีที่แล้ว +1

    can you make a video about screen button ?

    • @MrNJersey
      @MrNJersey  5 ปีที่แล้ว

      Coming soon. 😬

  • @snow_crp6163
    @snow_crp6163 ปีที่แล้ว

    Watching this after 400 hours in game

  • @zeyadwaleed4973
    @zeyadwaleed4973 ปีที่แล้ว

    hi what are the get hieght and get width for ? in the lua script ?

  • @caninegames3238
    @caninegames3238 5 หลายเดือนก่อน

    For some reason my map only shows the coast guard outpost.

  • @chezertonchez6985
    @chezertonchez6985 4 ปีที่แล้ว +1

    The waypoint monitor keeps appearing as the blue screen. I re did the entire tutorial but it still doesn’t work.

  • @jozomrkva
    @jozomrkva 2 ปีที่แล้ว

    And how you can draw track to waypoint?

  • @reubendoodles6352
    @reubendoodles6352 4 ปีที่แล้ว

    are you from south Africa mrnjersey

  • @rusted-iron4360
    @rusted-iron4360 5 ปีที่แล้ว

    now only thing left to do is a HD mod for the screens and were done with the game xD

  • @blaisepascal3804
    @blaisepascal3804 ปีที่แล้ว

    can it focus on a vehicle?

  • @crunchybro123
    @crunchybro123 4 ปีที่แล้ว +1

    I can’t get tv to show map even :(

  • @jeromimoescobar5580
    @jeromimoescobar5580 2 ปีที่แล้ว

    How to zoom in and out in the storm works map (Mac)

  • @mattiasrask1575
    @mattiasrask1575 5 ปีที่แล้ว

    nice :)

  • @jamesthenuclearnut7382
    @jamesthenuclearnut7382 ปีที่แล้ว +1

    I did everything right, yet it says: 3: attempt to call a nil value (global ‘getNumber’)

    • @Demono_logy
      @Demono_logy 5 หลายเดือนก่อน +1

      I am too getting the same error! Did you find a Fix?

    • @jamesthenuclearnut7382
      @jamesthenuclearnut7382 5 หลายเดือนก่อน +1

      @@Demono_logy no, I gave up a long time ago.

    • @Demono_logy
      @Demono_logy 5 หลายเดือนก่อน +1

      @@jamesthenuclearnut7382 Ah Man : ( i got the same Issue!

    • @jamesthenuclearnut7382
      @jamesthenuclearnut7382 5 หลายเดือนก่อน +1

      @@Demono_logy I have never been able to figure out LUa

    • @Demono_logy
      @Demono_logy 5 หลายเดือนก่อน +1

      @@jamesthenuclearnut7382 i am new to it..

  • @matthewthompson6475
    @matthewthompson6475 5 ปีที่แล้ว +1

    Hi

  • @jakobusjohannes2195
    @jakobusjohannes2195 4 ปีที่แล้ว

    For some reason zoom doesn’t work I have everything copied to yours help pls

  • @brandonashley5872
    @brandonashley5872 2 ปีที่แล้ว

    Has the way this works changed in the last 3 years? I've followed your instructions and I'm getting a tick error that pops up on my monitor.

  • @xedeathros
    @xedeathros 2 ปีที่แล้ว

    Please make a tutorial video how to overlay the map with the radar detector sonar T_T

  • @SG-ix3ly
    @SG-ix3ly 5 ปีที่แล้ว +2

    LUA is basically a bad Python, it does most things Python can do but in a worse way. eg. you can't use this x += 1 and instead you gotta type the whole thing. (x = x + 1)

  • @plazmabeam638
    @plazmabeam638 4 ปีที่แล้ว

    Can u pls whenever u make a video post the lua script in the description! plssss!

  • @niktvgamer3736
    @niktvgamer3736 4 ปีที่แล้ว

    for me its showing a bit away from me and how to fix that?

  • @rbgpro4
    @rbgpro4 5 ปีที่แล้ว

    Hey MrNJersey I like the new update with the cameras but thers a lag wen im turning the screen on.
    will this lag go away wen the new update will come?

    • @MrNJersey
      @MrNJersey  5 ปีที่แล้ว

      It should be fine even now

    • @rbgpro4
      @rbgpro4 5 ปีที่แล้ว

      @@MrNJersey yea its fine now but will the image quality be better because i always see pixels in the screen
      Edit:my favoryt youtuber msg meee yay

  • @_velociraptor_
    @_velociraptor_ 2 ปีที่แล้ว

    nothing is working its just stuck zoomed into the creative island and im on another island

  • @Kokice5
    @Kokice5 2 ปีที่แล้ว

    but how do i draw on the map? i want to make a map that shows you a waypoint on the display map

  • @larsimann3032
    @larsimann3032 5 ปีที่แล้ว +1

    You are really too good. How do you know all this!? This channel should be called "Be Amazed!" instead.

  • @SilverThePanFurry
    @SilverThePanFurry ปีที่แล้ว

    Nice everything works except the display , there is black lines + blue- pink things all over it , only some of the map actually shows otherwise there is just black lines and pink dots and black dots im using a 5x3 monitor too and i doubled checked logic and code , anyone know how to fix?

    • @SilverThePanFurry
      @SilverThePanFurry 5 หลายเดือนก่อน

      lol i figured this out a while ago, it just didnt run properly on the pc i was on at the time apparently

  • @nee-o-wave8360
    @nee-o-wave8360 5 ปีที่แล้ว

    I did all as you did and then repeated, All it shows is a little square in the middle ofthe screen and nothing else works

  • @zacc1338
    @zacc1338 5 ปีที่แล้ว

    ok can somebody help plizzz .. okej I do evrything like you say but when I turn on map (this witch locate me it dont show where I am it shoh 100 kilometer out of me) and it same hapend with this map on witch I write cordinates I set waypoint on and it shows somewhere else (version 0.8.13)
    :( help

  • @fortrax300
    @fortrax300 ปีที่แล้ว

    This did not work set it up exactly as posted and got an error code

  • @Mike_Rogge
    @Mike_Rogge 5 ปีที่แล้ว

    The LUA scripting looks kind of like JavaScript, from what I know from web development.

  • @pufferfish3385
    @pufferfish3385 5 ปีที่แล้ว

    Yeah, I have A problem, everytime I start everything, the display says: Tick Error attempt to call a nil value (field'getnumber')

    • @veda-powered
      @veda-powered 5 ปีที่แล้ว

      MatheIstDooof number should be capitalized, like getNumber.

  • @ASuperiorKiwi
    @ASuperiorKiwi 5 ปีที่แล้ว

    Please Please Please PLease Please Please Please Show us how to draw cords or anything using text onto the display. I cant figure it out

  • @marcokollegger-koberl7872
    @marcokollegger-koberl7872 3 ปีที่แล้ว

    Pls help me, my screen says it has a Tick_Failure

  • @communistpingu5255
    @communistpingu5255 4 ปีที่แล้ว

    I’ve done everything correctly, the map works, the display doesn’t. By this I mean the display has tiny strips of colour in places but is black in other places. What could have gone wrong?

    • @SilverThePanFurry
      @SilverThePanFurry ปีที่แล้ว

      I have same problem and idk thats why im lookin in the comments

  • @eemeli5515
    @eemeli5515 5 ปีที่แล้ว

    can the screen resolution be improved

  • @Dark_Gamez-12
    @Dark_Gamez-12 2 ปีที่แล้ว

    my keypad input one was flipped

  • @Miata_boi749
    @Miata_boi749 9 หลายเดือนก่อน

    7:59 how do i paste it??

  • @farriebever8985
    @farriebever8985 5 ปีที่แล้ว

    How do i do this without zoom?

  • @jellynonotthatone8924
    @jellynonotthatone8924 4 ปีที่แล้ว

    phew...
    i though i was going have to make an entire draw module and all that ..

  • @_velociraptor_
    @_velociraptor_ 2 ปีที่แล้ว

    my zoom feature not working

  • @TheSkyGamez
    @TheSkyGamez 5 ปีที่แล้ว

    you can use my map drawers if you dont feel like scripting

  • @8266
    @8266 5 ปีที่แล้ว +3

    First
    Edit: bcause it is still 360p.

  • @willoneil1970
    @willoneil1970 5 ปีที่แล้ว

    360P Squad!!

    • @cod_cape5483
      @cod_cape5483 5 ปีที่แล้ว

      Will O'Neil YEEEET! I am part of the 360P SQUAD!!

  • @TestTest-tz5ko
    @TestTest-tz5ko 5 ปีที่แล้ว +4

    360p Squad

  • @Brody_R
    @Brody_R 5 ปีที่แล้ว +1

    First!!

  • @zombieplaysgames8652
    @zombieplaysgames8652 5 ปีที่แล้ว

    won't work for me , trying everything

  • @idk_name1890
    @idk_name1890 3 ปีที่แล้ว

    Help my brain hurts.

  • @matushka__
    @matushka__ 5 ปีที่แล้ว +2

    Has no comments and no views but somehow shows that there are 4 likes and 2 comments. TH-cam HALP!!!!

  • @durgun8247
    @durgun8247 5 ปีที่แล้ว +1

    not 22st comment am durgun

  • @Krang_man
    @Krang_man 2 ปีที่แล้ว

    doesnt work