Lua Build Series - Adding Custom Features!! - Stormworks

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ส.ค. 2024
  • Join MrNJersey where he shows you how to add some custom features to your data screen here in Stormworks in the 2nd episode of the LUA Build Series.
    👨‍👩‍👦‍👦MrNJersey Gaming Offical Discord Server: / discord
    👕MrNJersey Gaming Offical Merch: teespring.com/....
    🐦MrNJersey Twitter: / mrnjersey
    🧡MrNJersey Patreon Page: / mrnjersey
    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!
    Workstation & Gaming PC: www.amazon.co....
    Audio Setup: www.amazon.co....
    Please note that links above are affiliate links -- clicking them earns me a small commission if you make a purchase and helps support my TH-cam channel. Thank you!
    Intro Audio: Holy Tension Batman (TH-cam Audio Library)
    Series Audio: Night Snow (TH-cam Audio Library)
    Outro Audio: They Might Not - Puddle of Infinity (TH-cam Audio Library)

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

  • @Frostbyte501
    @Frostbyte501 4 ปีที่แล้ว +20

    Why haven't all those viewers liked? This is great!

  • @vinnie8826
    @vinnie8826 4 ปีที่แล้ว +7

    You explain things on your channel so well and in detail! It is super easy to understand! Wish more tutorials would take an example from you!

  • @rockpython90
    @rockpython90 13 วันที่ผ่านมา

    This helped me understant this game principles, thanks you , Learned a bit of LUA to script for Fivem... I found this more simple in this game.

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

    I suggest you adding loading screen that getting the system ready. Example:
    Getting Ready
    Loading....
    I've been thinking this for long time and doesn't even doing it. Make it for me and everyone 😄

  • @grahamr2809
    @grahamr2809 4 ปีที่แล้ว +16

    i think the next episode should be touchscreen.

  • @MsSmartm
    @MsSmartm 4 ปีที่แล้ว +7

    Hey where'd you learn to do all this cause you're a legend man

  • @LeafoftheSoul
    @LeafoftheSoul 4 ปีที่แล้ว +3

    Thanks man! Love your videos. Would be great if we could do lines and boxes next. Take care :)

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

    This shaders are very creative :) I don’t know if it is only on my screen but last 5 minutes are black screen :) Just saying and obviously very helpful video :D

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

    Thank you for this brilliant video
    I need the next one

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

    Maybe try some radial bar or something
    It will really helpful if you add your finish script on the desc by txt script

  • @chris-2105
    @chris-2105 4 ปีที่แล้ว +3

    can the lua lines for temp fuel gene rps and batt be moved from onTick to onDraw so that the logic only runs while the monitor is on?

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

    This is awesome!

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

    The cool thing now is that you don't have to assign properties to channels anymore using property.getNumber(property), property.getBool(property) and property.getText(property). According to the Help screen the propety name must match exactly as it is case sensitive. But that allows you to keep those properties out of the channel allocation.

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

    Noice, cant wait for the next one

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

    I know I'm a bit late, but there is a way to change the color of the screen after you add the brightness feature. I figured out myself how to change it, but I think it would be useful for those people that don't know much about LUA.

  • @Chris-eh3du
    @Chris-eh3du 4 ปีที่แล้ว

    I know I'm late, but I would love to see how to make a RPM / RPS dial gauge. I followed your LUA Radar tutorial and it worked pretty decent, but could still use some tweaks.
    This way you could have multiple engines hooked up to just 1 screen gauge

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

    First
    Good video.......I was waiting for it
    Thanks👍

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

    I'd like to see touchscreen buttons with icons and drawings like arrows. Also toggle buttons that change colour when active.

  • @-nightraider-1169
    @-nightraider-1169 4 ปีที่แล้ว

    Keep up these videos man your a real life saver!

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

    Very good thanks

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

    Perhaps you would do well to make a "draw text with shadow function". Which does that a bit more cleanly.

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

    make the black shadow to light grey so the text looks like its in 3d

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

    Great vid as always! I really like the Lua build series because it is simple and easy to understand. I just realised that if you change your screen to grey for example and decrease the brightness of the text to zero or anything below the grey value you've put in, the text will be visible but black. Is there a way to clamp values directly inside of the script to prevent this?

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

    I love this! do more of this or similar things please!!!

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

    Yaaaa more videos and I love them

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

    12:44 sucks when a Texteditor has no undo function huh?

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

    Nice

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

    which is more performant? multipling numbers in LUA or as a function?

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

      bitmap it doesn’t matter, but if you make complicated code (to 4096 bytes) you should do function to safe some bytes :)

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

      Using numbers is a bit faster. But the difference is so low that you can forget about it. The advantage with Lua is, that all calculations happen at the same tick, so less delay between inputs and output e.g. chaining multiple add, multiply, abs, numeric switchbox etc.

  • @777doom
    @777doom 11 หลายเดือนก่อน

    You never finished explaining how to actually implement the 'inc' and 'dec' bools to change the brightness, you just sort of tailed off at 6:10 into the up/down counter.
    What coding do you use to convert a bool up/down into a brightness increase or decrease?

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

    Is it also possible to change Textbox size? It would be nice to customize text size, so the text grows.

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

    Is it possible to scale the size of the text down? I want to have a 32x32 data screen in the cockpit of my chopper but the textboxes kinda overlap due to their sizes...

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

    I think you should try adding some buttons to pass from a screen to the other
    I have a problem with my LUA screens I follow your tires I know they are right but it’s doing it also with some creation that I’m checking out when a pixel is changing of colours or a value is changing on a screen with LUA the new value superimposed on the older value. So I can create LUA but it won’t work with me 😭😭😭
    Whatever nice video !!!

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

    4:53

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

    Whats the shortcut key to copy/ paste on the microcontroler editor? i cant remember

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

    RGB is like
    RED for Nintendo
    GREEN for XBox
    BLUE for PlayStation

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

    at 6:06 how does the script know what 1 and 2 he is talking about because there are 2 1 and 2s

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

    As an C# programmer, it is way more easy to me to do logic for my creations not with nodes but with LUA scripts. Is there any downsides of doing this? Maybe LUA quite buggy in this game? Idk

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

    Where You would have C, L, Watts ect, How would you put %?

    • @seraphina985
      @seraphina985 3 ปีที่แล้ว +2

      Usually, those printf style strings a literal percent character is written as %% I'm guessing it will be the same in Lua but if that does not work try \% I suspect it will be the first one though.

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

    If you use a 5x3 screen but you have it vertical, how do you rotate the text by 90*?

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

      Try image.rotate(yourImage, angle)

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

    What's with the black ending?

  • @T-80BVM_enjoyer
    @T-80BVM_enjoyer 3 ปีที่แล้ว

    please make a vid making artificial horizon

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

    Salut peut tu faire une série ou tu construit un porte avion super grand et super beau et ou tu fait des systemes ultra complexes

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

      In English it is hi can you do a series where you build a super large and super beautiful aircraft carrier and where you make ultra complex systems

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

      @@alfiepearce23 you a nice guys to traduct lol
      Sign up for traductor

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

    I am doing very well I hope you are doing very well too!!

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

    Why dont you do a build series but like for plane or a truck

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

      One is coming soon, just getting the details together

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

    I think I'm fourth

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

    are you getting sick or is it a new mic if you are sick i hope you get well soon

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

      No idea mic went crazy for some reason

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

    There is a bit of a problem with your video... it is 5 min black at the end

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

    Second

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

    я ни слова непониманию но из видеоряда все очень понятно

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

    Who dared to put a dislike on this vid!!!!?

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

    Anyone else follow these videos and you get Draw error.

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

    lol, shading...you click bait