Advanced Lua Radar Tutorial - Step by Step Guide - Part 2 - Stormworks

  Рет қаралды 14,692

MrNJersey

MrNJersey

Күн бұрын

Пікірлер: 36
@shroder2748
@shroder2748 3 жыл бұрын
Nice! This will go well with the Submarine I am working on :)
@pepperidgefarmremembers6350
@pepperidgefarmremembers6350 3 жыл бұрын
I know people probably don’t care, but after a LONG time I’m finally getting a new computer charger after my dog chewed mine, which means I can FINALLY get stormworks!!
@NyaNyon
@NyaNyon 3 жыл бұрын
how the hell did your dog chewed your computer??
@pepperidgefarmremembers6350
@pepperidgefarmremembers6350 3 жыл бұрын
@@NyaNyon it was the charger, and I had accidentally left it out on my floor
@sawer
@sawer 3 жыл бұрын
I do not wanna meet your dog xD Enjoy the game man
@pepperidgefarmremembers6350
@pepperidgefarmremembers6350 3 жыл бұрын
@@sawer thanks!
@JodianGaming
@JodianGaming 3 жыл бұрын
Ironically, very shortly after you made this completely awesome tutorial they went and rebuilt radars so everything goes through Composite now... Can't set the YAW, have to read it from the radar now and reverse the calculation back into the LUA code. What a pain...
@ebojager
@ebojager 3 жыл бұрын
Yes, after spending a couple hours on his part one, this its basically a waste of time, since I can't connect anything from the tutorial except video :(
@TacticalWestOfficial
@TacticalWestOfficial 3 жыл бұрын
Can you please to a tutorial on radar guided missiles and or heat seeking missiles
@akd8525
@akd8525 3 жыл бұрын
Easy to follow and get working. Thanks! However, something feels very off in regards to the visual presentation: the contacts need to fade and be removed in time with the sweep, rather than resetting all at once. Any one know a simple way to achieve that?
@impyre2513
@impyre2513 3 жыл бұрын
For targets, use a table of tables. This has the effect of creating kind of like a spreadsheet. You can store a key value (target ID), target x, target y, target distance, and more. I like to add a value called TTL (time to live) and when the radar sweeps over and the target is detected, set the TTL to 1. Every tick, go through the main table and subtract some number from TTL. 1/600 for example goes from 1 to 0 in 10 seconds. When you draw the target on the screen, multiply it's color by it's TTL value, and it will fade to black over ten seconds. When you're going through the table and subtracting from the TTL values, if a given TTL is less than or equal to 0, simply remove that entry.
@MrNJersey
@MrNJersey 3 жыл бұрын
Yes there is, I wanted to keep the features to a bare minimum for this video, If you guys want more advanced tutorials I can do them like what we did with the artificial horizon lua build series :)
@akd8525
@akd8525 3 жыл бұрын
@@MrNJersey I think that would be great! For example, I understand the concept outlined above by Impyre, but I haven't the slightest idea how to translate that into LUA script for the game.
@toadtal
@toadtal 2 жыл бұрын
@@MrNJersey please do advanced tutorials or even a tutorial for the updated radars and display. I am struggling to make a radar system. I am trying to create table with contact & distance and azimuth and I am struggling to figure out how to get the info out of the radar and onto the screen
@mathias6369
@mathias6369 3 жыл бұрын
so last time i was following step by step, and it already didnt work so at this point im just waiting for you to upload it to the workshop, and yes i know you usually do that only after its done
@MrNJersey
@MrNJersey 3 жыл бұрын
It’s on the workshop already
@PolarisCentuari
@PolarisCentuari 2 жыл бұрын
can someone please link an updated tutorial
@damirruki
@damirruki 3 жыл бұрын
Hey, If I understood correctly, I can simply place a map under the radar, on which I will issue a scale corresponding to the radar. If this works, then I will be able to understand where the targets found by the radar are located more specifically
@janintelkor
@janintelkor 3 жыл бұрын
yes
@Bendigo1
@Bendigo1 2 жыл бұрын
I tried to do that and found the scaling is odd. From what i could tell, 10x zoom of the map is about 20km it made it frustrating to figure out the math so i gave up. I have not had time to retry it but have an idea as to how to make it work. Another issue i had was the position on the map as the radar reads angle relative the forward position of the radar but the map always is north up orientation. So you have to compensate for zoom AND angle relative to north using a compas sensor.
@fbi8857
@fbi8857 2 жыл бұрын
Can you update the tutorial please
@Sanic_Belgian
@Sanic_Belgian 3 жыл бұрын
I'm 100%going to do this! But i need to bring all my creations over to my new laptop and i dont know how. :/
@_patriik
@_patriik 3 жыл бұрын
All of the creations, microcontrollers and saves are in %appdata%\Stormworks so you should just be able to copy that folder to your new laptop. You can open it with windows + r and paste in "%appdata%\Stormworks" and copy that somewhere so that you can copy that folder to the new laptop in the same folder. (also on the new laptop you might need to do %appdata% only if you havent ran stormworks yet and then copy that Stormworks folder in the new laptops %appdata% folder)
@ЕгорГарбуз-б9г
@ЕгорГарбуз-б9г 3 жыл бұрын
@@_patriik you can just upload them on workshop and then subscribe to them on another laptop
@brentbibeau4819
@brentbibeau4819 3 жыл бұрын
Private publish too workshop?
@teograz076
@teograz076 3 жыл бұрын
Cool video
@teograz076
@teograz076 3 жыл бұрын
You are the best
@yurikkir6827
@yurikkir6827 3 жыл бұрын
Need a new LUA guide for a new radar
@frantisekjancalek8587
@frantisekjancalek8587 3 жыл бұрын
Add distance to every red dot on radar please
@potatofuryy
@potatofuryy 3 жыл бұрын
You simply write text a couple pixels next to the red dot.
@theholypeanut473
@theholypeanut473 3 жыл бұрын
Aye the radar doesn't work anymore
@kr1ze265
@kr1ze265 3 жыл бұрын
wow im the 9th view also love your content
@maxerrules
@maxerrules 3 жыл бұрын
191th view
@praisen45
@praisen45 3 жыл бұрын
NJ Your V5 Modular Engine ECU has some trouble with my double V20 Engines 🤣
@yurikkir6827
@yurikkir6827 3 жыл бұрын
Or at least a link to the model of the finished radar, so that you can insert it into the craft. Thank you in advance.
@gamervolt2435
@gamervolt2435 3 жыл бұрын
super early gang
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
Air Sigma Girl #sigma
0:32
Jin and Hattie
Рет қаралды 45 МЛН
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН
Mini Submarine Tutorial in Stormworks (Engineer Explains)
41:12
454ss Gaming & Builds
Рет қаралды 15 М.
Making a FULLY WORKING MARINA in Stormworks
17:33
454ss Gaming & Builds
Рет қаралды 4 М.
Automatic Transmission Tutorial - Modular Engines - Stormworks
31:54
CUSTOM SHIP SCREENS!!! - Stormworks
11:58
MrNJersey
Рет қаралды 27 М.
Testing my Submarine With Depth Crushing Mod In Stormworks
22:31
Stormworks-Interactive-Lua-Map
21:03
Markers622
Рет қаралды 12 М.
Ballast System Tutorial - Stormworks
19:17
MrNJersey
Рет қаралды 72 М.
RADAR TRACKED GUN!! - Search & Destroy Weapons DLC - Stormworks
19:05
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН