How to Script Sliding Doors in Halo Infinite's Forge

Поділитися
Вставка
  • Опубліковано 5 жов 2024
  • Halo Infinite has the best iteration of Forge yet, but it can be intimidating for newcomers. In this video, I'll show you how to set-up a simple sliding door!
    #haloinfinite #haloinfiniteforge #xbox #halo #xboxseriesx

КОМЕНТАРІ • 70

  • @ProwoodStuff
    @ProwoodStuff Рік тому +14

    I like I got psyched about the door opening, haven’t experimented with visual nodes all that much so I’m still doing stuff I didn’t know I could do lol.
    Thanks

    • @milkyway7216
      @milkyway7216  Рік тому +1

      Making something as simple as opening/closing doors is such a cool experience. I’m glad you’re having as much fun as I am!

  • @palebrow1673
    @palebrow1673 Рік тому +24

    You should make a video on how to open and close a door just by walking next to it yet to see someone do that

    • @milkyway7216
      @milkyway7216  Рік тому +5

      Sure! Made a short that showed off the door mechanism. All I did was replace the switch nodes with volumes’ and include ‘Area Monitor’ and ‘On Object Enter Area’ nodes. Let me know if you have any questions! ua-cam.com/users/shorts3rq5ULJ3YYI?feature=share

    • @palebrow1673
      @palebrow1673 Рік тому +2

      @@milkyway7216 watched it! Can it open without shooting or throwing?

    • @milkyway7216
      @milkyway7216  Рік тому +1

      @Pale Brow The door can open up with just yourself 👍
      If you’re talking about omitting those factors, I don’t think you can prevent them from activating the ‘On Object Enter Area’ node. I’d be happy to be proven wrong though!

    • @palebrow1673
      @palebrow1673 Рік тому +1

      @@milkyway7216 ok I’ll try “on area” again thanks

    • @chrisrichfield8906
      @chrisrichfield8906 11 місяців тому

      i cant for the life of me get this to work. i have the object reference, the area monitor, the on object entered area. It wont do anything@@milkyway7216

  • @milkyway7216
    @milkyway7216  Рік тому +6

    Hey everyone! I just released a new video that revisits this topic, however, introduces new concepts and functionality (open/close). Check it out if you have the chance :) Advanced Sliding Door Script in Halo Infinite Forge
    ua-cam.com/video/8CkJ9X1wRXA/v-deo.html

    • @MementoTurtle
      @MementoTurtle Рік тому

      Please make a video on this one
      It looks like spaghetti code, it's hard for me to tell what is going on

  • @Mistyf1
    @Mistyf1 Рік тому +7

    I swear in H5 I could script anything, I scripted intricate doors opening and a hole in one that spawns in a bunch of cans, but I have no clue on how to script in halo infinite

  • @shreddermcgenty
    @shreddermcgenty Рік тому +4

    Thank you I was missing the vector axis value lol I'm making one that opens 4 doors for an air lock.Itll be called the event horizon you should look it up soon!I'll be putting it on file share once its finished.

    • @milkyway7216
      @milkyway7216  Рік тому +2

      Can’t wait to see it! Glad I managed to help out :)

  • @blakezegarelli5800
    @blakezegarelli5800 10 місяців тому +1

    So I did this and it worked which is awesome. But I believe it is only half of the scripting. You need to bring the door down as well. I think it would need another script to bring it down and then create some type of loop so it keep going back between the two options

    • @snakegun4479
      @snakegun4479 10 місяців тому

      Pengiplayz (at least that’s how I think it’s spelled) showed how to do that

  • @quantumaquatic1767
    @quantumaquatic1767 Рік тому +1

    Want to see a door open when somone walks In the zone

  • @Sharkaiju
    @Sharkaiju Рік тому +1

    This no longer works as setting the "get vector axis value" no longer connects to the "set object position" as it has new settings. Or maybe I'm dumb

    • @milkyway7216
      @milkyway7216  Рік тому

      You probably already figured this out but it's the "get object position" node.

  • @JohnyJumpStreet
    @JohnyJumpStreet Рік тому +4

    Is there a way to make the door go back down for the players? If they keep pressing the button the door continues to keep going up into the map. Love your tutorial btw!

    • @milkyway7216
      @milkyway7216  Рік тому +1

      Thank you for your support, it means a lot!
      To answer your question, one way to solve it is by having another scriptable switch that subtracts the door’s z-value and connecting it on another ‘Translate Object to Point’ node. Then all you need to worry about is connecting all nodes together.
      As for preventing people from spamming the button and having your door from going up 200 feet, I’ll have to get back to you on that. Not 100% sure, but I believe you can use the ‘Branch’ node to make sure it doesn’t travel farther than you want it to be. I’ll test things out tonight and update you!

    • @milkyway7216
      @milkyway7216  Рік тому

      Just improved upon the script to add open/close functionality on 2 switches. It was a lot of fun to experiment around and try out new things! Here’s the link to see both the graph and a demonstration: imgur.com/gallery/k4jxvQC

    • @JohnyJumpStreet
      @JohnyJumpStreet Рік тому +1

      @@milkyway7216 Awesome I will check it out! I am not sure if imgur got it uploaded or not. Getting a 404 error for the picture.

    • @milkyway7216
      @milkyway7216  Рік тому

      @@JohnyJumpStreet Updated it! It should work now.

    • @justicebratcher
      @justicebratcher Рік тому +1

      @@milkyway7216 Can you make this a prefab or would that not work?

  • @diigitalapex1127
    @diigitalapex1127 6 місяців тому

    Thanks!!!!

  • @sibeers
    @sibeers Рік тому +1

    Great tutorial! Any idea on how to make the door come back to it's original position automatically after a few seconds? Thanks!

    • @milkyway7216
      @milkyway7216  Рік тому +1

      Apologies with the late response, I was busy stressing about finals. To answer your question, you can include a ‘wait for n seconds’ node after opening it, then subtract the door’s z-value by the same amount you used to open it. Hope this helps!

    • @JimjamtheDaftone
      @JimjamtheDaftone 11 місяців тому

      ​@@milkyway7216ey up ive tried this but it doesnt work for me

  • @cplrichmond
    @cplrichmond 11 місяців тому

    Followed this video in my scripting. How does the door close?

  • @dominikschachner7208
    @dominikschachner7208 10 місяців тому

    How can i make the button working just for one time? I can push the door to heaven 😅 ...or a switch to close it again

  • @wolfgang6469
    @wolfgang6469 Рік тому +1

    “Sciptable” lol

  • @francisbawasanta6310
    @francisbawasanta6310 Рік тому +1

    How would you script a rotating map? I have this idea for a space vessel that's lost "gravity" so it's sort of slowly spinning / rotating in space... conceptually the "map" is dynamic. Floors end up ceilings, up is down etc... Like it's lost power and it's in orbit. Is that doable?

    • @merezko4339
      @merezko4339 Рік тому +2

      I feel the simplest way, is to increment the Rotation of a prefab every “tick”/ few seconds.
      Not sure if a prefab as a whole can be rotated, concepting this by have a huge Primitive Ring and have the objects inside slowly rotate and move around the inner edge using manually taken key frames

    • @milkyway7216
      @milkyway7216  Рік тому +2

      As it stands right now, scripting a rotating map looks to be really complicated. I made a small room prefab to test and see if it was possible but it only rotates the parent object (1 wall). No matter what I did to the object properties it didn’t seem to work at all.
      That being said, maybe I missed or didn’t account for something. The forums I came upon said that it could be a bug, as it worked in Halo 5’s forge. Here’s hoping 343i fixes it somewhat soon 🤞

  • @eproductions8792
    @eproductions8792 Рік тому +1

    Mine looks exactly like yours. Why isn’t this working? 🌚

  • @musicuser9967
    @musicuser9967 10 місяців тому

    Hey thx for the video you got my sub. Would you be able to make a shield door like in previous halos?
    Im halo 5 i got their basic old shield door object, then set an intractable button that had one script to cause damage to the shield door making it break, then the shield door relied on its respawn timer to appear again.
    With halo infinite lacking shield doors, this simple system i had is now entirely more complicated, having me create a shield door using fx and blockers, then scripting its despawn and spawn. For some reason i can not get it working for the life of me

  • @World36599
    @World36599 11 днів тому

    I've done everything the same and its not working

  • @dev_vg
    @dev_vg Рік тому +1

    Can doors be opened by shooting at them like in quake 3? Also be activated from player proximity, those quake doors open pretty quick

    • @milkyway7216
      @milkyway7216  Рік тому +1

      Yup! I posted a short regarding player proximity here: ua-cam.com/users/shorts3rq5ULJ3YYI?feature=share
      As for activating doors via shooting at them, I used the ‘On Object Damaged’ node as my input. Here’s the demonstration + node graph here: imgur.com/gallery/n1RU1nb

  • @lunalityx3677
    @lunalityx3677 10 місяців тому

    Is there a way for the door to go back to its original position after it’s been opened. So for example, it goes up for 3 seconds, waits/stops for like 3-4 seconds, and then finally goes back down to its original position.

  • @pkgyoutube3796
    @pkgyoutube3796 Рік тому

    hey guys i am still confused about how to script doors i find halo 5 eiser. can anyone help me?

  • @AriMyles93
    @AriMyles93 4 місяці тому

    I tried this. Mine is exactly like yours. Does not work.

  • @TheBlazingBean
    @TheBlazingBean Рік тому

    Great
    Now how do I close it

  • @lolsword7
    @lolsword7 Рік тому +1

    Have you ever experienced issues where no the switch is not able to be interacted with?
    I don't see any prompt when I stand next to it.
    Could it be due to going over budget?

    • @milkyway7216
      @milkyway7216  Рік тому

      Not sure if you’ve already solved it but I would delete the object and try again. Sometimes I’d get weird errors for things that have worked originally, with the solution being to replace it. Sorry for the late reply!

    • @lolsword7
      @lolsword7 Рік тому +1

      @@milkyway7216 All good!
      From memory, I was entering 'play mode' instead of 'test-mode' or vice-versa.

  • @D1wh0kn0cks
    @D1wh0kn0cks Рік тому +1

    It don’t work for me

  • @CNL117711
    @CNL117711 Рік тому +1

    I've done everything correct. My door just floats away when touched. Halp

    • @milkyway7216
      @milkyway7216  Рік тому +1

      There’s 2 door options in your objects browser, mp and non-mp. Make sure you choose mp.

    • @CNL117711
      @CNL117711 Рік тому

      @@milkyway7216 oh thank you

    • @CNL117711
      @CNL117711 Рік тому

      Still couldn't get it, but I was able to make breakable objects (which was objectively harder)
      Idk wtf is going wrong

  • @thatstudentnamedleo3569
    @thatstudentnamedleo3569 Рік тому

    Is there no way to toggle it? I hate to have two switch dedicated to close it aswell

  • @KyleStenen
    @KyleStenen Рік тому +1

    My door keeps bugging out than it disappears!

    • @milkyway7216
      @milkyway7216  Рік тому

      Check your door’s (make sure it’s the MP version) object properties and ensure that it’s set as phased.

    • @KyleStenen
      @KyleStenen Рік тому +1

      @@milkyway7216 Ohhh yea it's not mp

    • @KyleStenen
      @KyleStenen Рік тому

      @@milkyway7216 Do you think i can I have 2 buttons connected to one door?

    • @KyleStenen
      @KyleStenen Рік тому

      Now my door wont open.

    • @milkyway7216
      @milkyway7216  Рік тому

      @@KyleStenen Do you mind showing me your script on Twitter? My @ is ReallyMilkkyWay

  • @TaskForceHorse
    @TaskForceHorse Рік тому

    Didn't work?

  • @isandro7IV
    @isandro7IV Рік тому

    did u make it a prefab yet?

  • @virtualbison6928
    @virtualbison6928 18 днів тому

    This doesnt work.

  • @sadisticxdemon117
    @sadisticxdemon117 Рік тому

    Man it keeps failing

    • @milkyway7216
      @milkyway7216  Рік тому +1

      What’s wrong with it? Is it not opening or is it just not working at all?

    • @sadisticxdemon117
      @sadisticxdemon117 Рік тому +1

      @@milkyway7216 it wont work at all. The node keeps failing to build

    • @World36599
      @World36599 11 днів тому

      ​@@sadisticxdemon117 I have this same problem

  • @MysteriousPotatoe
    @MysteriousPotatoe Рік тому

    It did not work for me