Stormworks Map to Screen Tutorial (LUA BASICS)
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 (KZread Audio Library)
Series Audio: Peace (KZread Audio Library)
Outro Audio: They Might Not - Puddle of Infinity (KZread Audio Library)
Пікірлер: 154
As a new player, this is a godsend
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
People who love engineering And gaming I recommend this game Best game ever
@plazmabeam638
4 жыл бұрын
yup i love it for thoes exact reasons
@capslk6749
4 жыл бұрын
Me to
@luckyizzac
4 жыл бұрын
@@capslk6749 hmm yeah I think other utubers like pewds wouldn't play this for the exact same reasons😂
@deltavii7499
4 жыл бұрын
Exactly why I bought it!
@awhahoo
3 жыл бұрын
Engineer gaming
Awesome! Ive been trying out the scripting and i found it rather simple to learn. This video Will definitely help many people!
@jellynonotthatone8924
4 жыл бұрын
if your interested in lua scripting. i suggest you take a look at love2D and roblox
oh my gosh I can’t tell you how much I needed that!!! Thank you so much man!!
@toenailmuncher0772
Жыл бұрын
:0 the legends story starts here
@cod_cape5483
Жыл бұрын
@@toenailmuncher0772 what?
@toenailmuncher0772
Жыл бұрын
@@cod_cape5483 you've made a bunch of awesome ships
@cod_cape5483
Жыл бұрын
@@toenailmuncher0772 oh lol. Thanks man
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
4 жыл бұрын
Yeah you could. if you write a small library for matrix stuff
@Plaer1
Ай бұрын
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
lua in Stormworks is so hype
KZread is really lacking great content like this, keep up the great work man +1 sub from me.
I don’t even have this game, i’m litterally watching these vids because it’s so interesting
Dude, its such a good feeling when you get something like this correct, Thx
Thanks for taking my recommendations for your next tutorial vids! This opens up a ton of new things for me to do now!
@smakkacowtherealone
5 жыл бұрын
who the heck are you?
@malachicrawford9676
5 жыл бұрын
What does it matter to you?
@malachicrawford9676
5 жыл бұрын
I’m not sure why my name and pic doesn’t show up
@smakkacowtherealone
5 жыл бұрын
it was odd
Watching your intro is so satisfying for some reason
YAAAY i was waiting for this
Thanks MrNJersey!
i tried to do this by my self but I failed miserably, you make it look so easy.Thanks for the tutorial
Hey man, awersome tutorial!
Tysm! it worked now everytime i build a vehicle it gets more advanced! +1 sub
OMG Thanks im new in Stormworks that helped me
thanks for the help
This came up on my videos, which is perfect since i am making a plane so i needed a map
Great Video my friend!
works very well
Good works guys
Yes!! Nice vid btw
My man!
Thank you! Not as scary as I thought.
Yay!
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
5 жыл бұрын
It’s been hotfixed already
@mwmm
5 жыл бұрын
@@MrNJersey sweet, didn't notice a patch note that's why I assumed! Thanks for letting me know man
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
This is wayyyyyy simpler to make than I thought
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
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!
I FUCKING LOVE YOU MAN!!!!
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?
nice :)
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
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
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
5 жыл бұрын
@@ConnorEllisMusic Thanks, that would answer alot.
@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
i did evrything from the video but still my zoom will not work. can someone help me whith that
I saw your drone and i was amazed! Was it easy to build?
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
"I recommend copying" = worst "programing basics" advice ever bro. Nice demo otherwise. Thanks for the vids, new stuff looks awesome. :D
hi what are the get hieght and get width for ? in the lua script ?
Could you do a building series soon?
Watching this after 400 hours in game
Can you make a total about how to build autopilot system.
Plz can you help me make a touch screen if possible 🙂
Hi
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
now only thing left to do is a HD mod for the screens and were done with the game xD
I can’t get tv to show map even :(
They should put in a military mode, like, apart from the rescue mode
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
4 жыл бұрын
You cant draw a rotated map, try rotating the screen with a pivot
I have a small issue - My map doesn't follow my player, and is centred on the coastguard outpost..
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
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 :)
Can u pls whenever u make a video post the lua script in the description! plssss!
I'll have to dig my way into this, ugh I'm never gonna be able to make the perfect ship....
@maxcchiru
5 жыл бұрын
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
5 жыл бұрын
Nice, I specialize in planes. I built a drone, b-29, 737, and a steampunk airship
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
but how do i draw on the map? i want to make a map that shows you a waypoint on the display map
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
How to zoom in and out in the storm works map (Mac)
can it focus on a vehicle?
And how you can draw track to waypoint?
Please make a tutorial video how to overlay the map with the radar detector sonar T_T
For some reason my map only shows the coast guard outpost.
For some reason zoom doesn’t work I have everything copied to yours help pls
for me its showing a bit away from me and how to fix that?
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_
5 жыл бұрын
Ctrl + left click (it show the shortcuts in the bottom left corner)
@xnopyt13
5 жыл бұрын
Will The MemeLord thank you! I was clearly blind lol, but how should one know that x is for delete blocks?
@ir0ncat_
5 жыл бұрын
@@xnopyt13 wait you can press X to delete blocks ._. LOL thanks
@xnopyt13
5 жыл бұрын
Will The MemeLord lol let's help each other because apparently the devs want to keep all the good shortcuts a secret
Jersey is my AirPort in the top5?
@suncraftermc6633
5 жыл бұрын
Yes
The LUA scripting looks kind of like JavaScript, from what I know from web development.
7:59 how do i paste it??
can the screen resolution be improved
How do i do this without zoom?
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
my keypad input one was flipped
phew... i though i was going have to make an entire draw module and all that ..
The waypoint monitor keeps appearing as the blue screen. I re did the entire tutorial but it still doesn’t work.
@mayjestik6156
4 жыл бұрын
Check for errors
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.
@poxiloted
Жыл бұрын
same
Yeah, I have A problem, everytime I start everything, the display says: Tick Error attempt to call a nil value (field'getnumber')
@veda-powered
5 жыл бұрын
MatheIstDooof number should be capitalized, like getNumber.
Pls help me, my screen says it has a Tick_Failure
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
@MrNJersey
5 жыл бұрын
next video
can you make a video about screen button ?
@MrNJersey
5 жыл бұрын
Coming soon. 😬
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
2 ай бұрын
lol i figured this out a while ago, it just didnt run properly on the pc i was on at the time apparently
are you from south Africa mrnjersey
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
5 жыл бұрын
It should be fine even now
@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
nothing is working its just stuck zoomed into the creative island and im on another island
my zoom feature not working
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
Жыл бұрын
I have same problem and idk thats why im lookin in the comments
you can use my map drawers if you dont feel like scripting
This did not work set it up exactly as posted and got an error code
You are really too good. How do you know all this!? This channel should be called "Be Amazed!" instead.
360P Squad!!
@cod_cape5483
5 жыл бұрын
Will O'Neil YEEEET! I am part of the 360P SQUAD!!
Help my brain hurts.
First Edit: bcause it is still 360p.
@billy-blij-1-2-36
5 жыл бұрын
MyGamez no 1080
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)
won't work for me , trying everything
360p Squad
it wont work?!?!?
First!!
not 22st comment am durgun
I did everything right, yet it says: 3: attempt to call a nil value (global ‘getNumber’)
@Ez_Bucks_
2 ай бұрын
I am too getting the same error! Did you find a Fix?
@jamesthenuclearnut7382
2 ай бұрын
@@Ez_Bucks_ no, I gave up a long time ago.
@Ez_Bucks_
2 ай бұрын
@@jamesthenuclearnut7382 Ah Man : ( i got the same Issue!
@jamesthenuclearnut7382
2 ай бұрын
@@Ez_Bucks_ I have never been able to figure out LUa
@Ez_Bucks_
2 ай бұрын
@@jamesthenuclearnut7382 i am new to it..