Stormworks Map to Screen Tutorial (LUA BASICS)

Поделиться
HTML-код
  • Опубликовано: 17 май 2019
  • 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-gamin...
    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 (RUclips Audio Library)
    Series Audio: Peace (RUclips Audio Library)
    Outro Audio: They Might Not - Puddle of Infinity (RUclips Audio Library)
  • ИгрыИгры

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

  • @pedocentrale9112
    @pedocentrale9112 3 года назад +44

    for everyone that got the creative island on their monitor, watch out for capital letters when u write your script because X is not the same as x and it will simply read that as a 0 hence the screen showing you the coordinate of the creative island

  • @torfossberg1137
    @torfossberg1137 4 года назад +38

    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

  • @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 23 дня назад

      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

  • @cod_cape5483
    @cod_cape5483 5 лет назад +26

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

  • @lucasbucci37
    @lucasbucci37 5 лет назад +4

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

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

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

  • @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!

  • @billy-blij-1-2-36
    @billy-blij-1-2-36 5 лет назад +3

    YAAAY i was waiting for this

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

    Watching your intro is so satisfying for some reason

  • @RealHurdle69
    @RealHurdle69 5 лет назад +7

    lua in Stormworks is so hype

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

    Hey man, awersome tutorial!

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

    OMG Thanks im new in Stormworks that helped me

  • @Z-Ren
    @Z-Ren 5 лет назад +1

    Great Video my friend!

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

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

  • @drimk7101
    @drimk7101 5 лет назад +1

    Yes!! Nice vid btw

  • @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

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

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

  • @youngslol
    @youngslol 5 лет назад

    Thanks MrNJersey!

  • @alvaroskarson6175
    @alvaroskarson6175 Месяц назад

    thanks for the help

  • @TheEgg-gb5sr
    @TheEgg-gb5sr 3 месяца назад

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

  • @HagrydTV
    @HagrydTV 5 лет назад

    Good works guys

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

    works very well

  • @robmuzz
    @robmuzz 5 лет назад

    Thank you! Not as scary as I thought.

  • @Drruuiipp
    @Drruuiipp 5 лет назад

    My man!

  • @odorouswo1f
    @odorouswo1f 5 лет назад +1

    Yay!

  • @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

  • @mattiasrask1575
    @mattiasrask1575 5 лет назад

    nice :)

  • @pineapplelumps7117
    @pineapplelumps7117 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!

  • @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

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

    This is wayyyyyy simpler to make than I thought

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

    I FUCKING LOVE YOU MAN!!!!

  • @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

  • @Faris0000
    @Faris0000 5 лет назад

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

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

    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?

  • @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

  • @zeyadwaleed4973
    @zeyadwaleed4973 11 месяцев назад

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

  • @hunormagyar1843
    @hunormagyar1843 4 года назад +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

  • @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

  • @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

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

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

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

    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

  • @raingoat271
    @raingoat271 5 лет назад

    Could you do a building series soon?

  • @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

  • @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 :)

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

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

  • @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

  • @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

  • @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

  • @larrysal8866
    @larrysal8866 5 лет назад

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

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

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

  • @matthewthompson6475
    @matthewthompson6475 5 лет назад +5

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

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

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

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

    And how you can draw track to waypoint?

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

    can it focus on a vehicle?

  • @caninegames3238
    @caninegames3238 Месяц назад

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

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

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

  • @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

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

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

  • @SinnerD2010
    @SinnerD2010 5 лет назад +5

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

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

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

  • @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.

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

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

  • @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

  • @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.

  • @Green_Bay_Packers_fan747
    @Green_Bay_Packers_fan747 6 месяцев назад

    7:59 how do i paste it??

  • @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 2 месяца назад

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

  • @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.

  • @marcokollegger-koberl7872
    @marcokollegger-koberl7872 3 года назад

    Pls help me, my screen says it has a Tick_Failure

  • @farriebever8985
    @farriebever8985 5 лет назад

    How do i do this without zoom?

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

    Watching this after 400 hours in game

  • @eemeli5515
    @eemeli5515 5 лет назад

    can the screen resolution be improved

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

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

  • @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

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

    my keypad input one was flipped

  • @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

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

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

  • @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

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

    my zoom feature not working

  • @matthewthompson6475
    @matthewthompson6475 5 лет назад +1

    Hi

  • @gameplayoffert1326
    @gameplayoffert1326 5 лет назад +1

    can you make a video about screen button ?

  • @billy-blij-1-2-36
    @billy-blij-1-2-36 5 лет назад +6

    Jersey is my AirPort in the top5?

  • @Mike_Rogge
    @Mike_Rogge 5 лет назад

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

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

    are you from south Africa mrnjersey

  • @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

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

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

  • @TheSkyGamez
    @TheSkyGamez 5 лет назад

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

  • @larsimann3032
    @larsimann3032 5 лет назад +1

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

  • @willoneil1970
    @willoneil1970 5 лет назад

    360P Squad!!

    • @cod_cape5483
      @cod_cape5483 5 лет назад

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

  • @Brody_R
    @Brody_R 5 лет назад +1

    First!!

  • @8266
    @8266 5 лет назад +3

    First
    Edit: bcause it is still 360p.

  • @zombieplaysgames8652
    @zombieplaysgames8652 5 лет назад

    won't work for me , trying everything

  • @jamesthenuclearnut7382
    @jamesthenuclearnut7382 Год назад +1

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

    • @Ez_Bucks_
      @Ez_Bucks_ 2 месяца назад +1

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

    • @jamesthenuclearnut7382
      @jamesthenuclearnut7382 2 месяца назад +1

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

    • @Ez_Bucks_
      @Ez_Bucks_ 2 месяца назад +1

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

    • @jamesthenuclearnut7382
      @jamesthenuclearnut7382 2 месяца назад +1

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

    • @Ez_Bucks_
      @Ez_Bucks_ 2 месяца назад +1

      @@jamesthenuclearnut7382 i am new to it..

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

    Help my brain hurts.

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

    it wont work?!?!?

  • @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)

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

    doesnt work

  • @durgun8247
    @durgun8247 5 лет назад +1

    not 22st comment am durgun