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