Scripting Health Bars in Horizon Worlds | How to Tutorial Series Part 2

Поделиться
HTML-код
  • Опубликовано: 19 сен 2024
  • ИгрыИгры

Комментарии • 33

  • @resolute_alliance
    @resolute_alliance 2 года назад +1

    Your tutorials are SO helpful! Thank you so much for making these. Keep up the good work!

    • @JackaldudeVR
      @JackaldudeVR  2 года назад

      I’m so glad they are helping! Thanks for the kind comment!

  • @Devilstower
    @Devilstower 2 года назад +1

    Thanks for another good video. It seems like it should be possible to simplify this using lists ... except I haven't quite figured out how to do so so far. I did make a little prototype game in which you can pilot RC boats around a pond and shoot at each other. Now I just need to talk someone else into trying it to see if it makes sense to anyone but me. The world is called "BattleBoats: Practice Pond."

    • @JackaldudeVR
      @JackaldudeVR  2 года назад

      Love the idea and you’re probably right. You can make a list by toggling it when you make a variable. Honestly have to do a little more research on how to better utilize lists myself. I’m sure a lot of people would like that idea for a game world!

  • @mikedion2511
    @mikedion2511 2 года назад +1

    Your tutorials have been the best I’ve found so far. I’m building a game with a friend and you’ve got me 80% of the way there.
    Any chance of a future tutorial around positioning items next to hands? I’ve got some controls that come up on button press but I’d like them to be just to the left of the object the user is holding.

    • @JackaldudeVR
      @JackaldudeVR  2 года назад

      First of all I’m really glad these are helping you and thanks for the nice comment.
      Second i would put the controls to the left of the object and then group them with the object. They on world start use the actions set visibility, set collide, set simulated, and set them to false. Then when you hit the button set them to true and as long as it’s grouped with the original object it should go where it goes.
      Or you can use a follow loop event like the one I used in this video

    • @mikedion2511
      @mikedion2511 2 года назад +1

      @@JackaldudeVR thanks! I tried going the grouping route but I think I had issues with the triggers not caring about collision being turned off. To be fair, I probably should have backed out and come back in. I’ll give it a try.
      The follow as described in this video works really well for me if it’s right on top of the object, but when I try to add an offset to the left it seems to be based on world positioning rather than my own, so depending on which way I’m facing it could be to the right or ahead/behind. Still getting my head around 3D space, so could be the problem exists between hair and oculus.

    • @JackaldudeVR
      @JackaldudeVR  2 года назад +1

      Yeah 3D space take a bit to wrap your head around but if you want to turn off that trigger you actually need to use set detection instead of set collision

    • @mikedion2511
      @mikedion2511 2 года назад +1

      @@JackaldudeVR you. Are. A. Hero.

    • @JackaldudeVR
      @JackaldudeVR  2 года назад +1

      Haha glad I could help

  • @willi_lekiwi8243
    @willi_lekiwi8243 2 года назад +2

    Also, if you could make a part 3 on how to make double damage when you head shot and also how to make this apply to all player. Thanks you again for the videos. (That would be real helpful too 😌)

  • @willi_lekiwi8243
    @willi_lekiwi8243 2 года назад +2

    Thanks you mate! Real helpful! I would really appreciate if you could make a video on how to script animation, I'm trying to animate the barel of the magnum I made, but I just don't get it.(I want to make it rotate when I shout) Real helpful, keep the video going you made me fall in love with 3d modeling

    • @JackaldudeVR
      @JackaldudeVR  2 года назад +1

      Animation seems to be a bit limited in horizon but there are some tricks I’d like to show soon! Thanks so much for the kind comment!

  • @ShadowkingX
    @ShadowkingX 2 года назад +1

    Thanks for the help!
    Can you make a discord channel for us all to converse In?

    • @JackaldudeVR
      @JackaldudeVR  2 года назад +1

      That’s a pretty good idea. It’s about time I make one

    • @ShadowkingX
      @ShadowkingX 2 года назад +1

      @@JackaldudeVR Let me know when it's done!

    • @JackaldudeVR
      @JackaldudeVR  2 года назад +1

      For sure thanks for the idea!

  • @timkohler6850
    @timkohler6850 2 года назад +1

    Anyone know how you make a hole in an object?

    • @JackaldudeVR
      @JackaldudeVR  2 года назад +1

      Unfortunately that just isn’t something you can’t do in horizon. Hopefully they’ll add something like that in the future.

  • @philipjohnson5729
    @philipjohnson5729 2 года назад

    Hey dude! I successfully made the attachable health bar, thank you so much. I created a horizontal bar, but want to rotate it 180 degrees. Any suggestions?

    • @philipjohnson5729
      @philipjohnson5729 2 года назад +1

      Sorry 90 degrees

    • @philipjohnson5729
      @philipjohnson5729 2 года назад +1

      Hello again. I can't get my gun to take away health nodes. Any suggestions?

    • @JackaldudeVR
      @JackaldudeVR  2 года назад +1

      You can try regrouping the object with the (Y+) pointing up from being horizontal then when you attach it it should rotate the right way. Hope that helps!

    • @JackaldudeVR
      @JackaldudeVR  2 года назад

      Make sure you have the health nodes visiblilty turned off based on the health remaining. For example disable the first health node when hp is less than whatever the max hp value is.

    • @philipjohnson5729
      @philipjohnson5729 2 года назад

      I was using the original script from your shooting range videos where we made the projectile only hit objects. Tried adding the new script from your annotated gun build to this script but got errors. Maybe a need a whole new script with the player damage variable?

  • @conchitamata7721
    @conchitamata7721 2 года назад

    The bar won’t follow mr

    • @conchitamata7721
      @conchitamata7721 2 года назад

      Me*

    • @JackaldudeVR
      @JackaldudeVR  2 года назад

      I’d double check that the follow mechanic is running on its own script, make sure you are sending the player ID through the event as a parameter so the other script knows who the player is. Also while you work in scripts sometimes you need to reset the world or leave and come back to it.

  • @conchitamata7721
    @conchitamata7721 2 года назад +1

    Could you come in my world and help me out

    • @JackaldudeVR
      @JackaldudeVR  2 года назад

      Unfortunately my schedule is all over the place but I highly suggest joining the Horizon Community Facebook page. Lots of smart ppl there always willing to help!