How To Make A Keycard Activated Door in Source 2's Hammer

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ค. 2020
  • This one is a tad more complex, hence the longer runtime.
    If you have further suggestions, let me know in the comments!
    This tutorial shows how to implement keycard doors in Half Life Alyx's edition of Hammer for Source 2. This covers Triggers, Entity Inputs and Outputs (Entity I/O), Filters, and keyvalues.
  • เกม

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

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

    Keep 'em coming. I learn way better with video tutorials versus written guides or prefab. Tutorials like these are going to help so many people get started for years to come.

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

      I hope so :)
      Any suggestions for what aspects of Source 2 you'd like to see?

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

      @@Hosomi I'm really bad with getting my textures looking right, a tutorial on that would be helpful.
      I'm not sure if it's outside the scope of your tutorials, but any tips on level design and blocking out a map would be great too.

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

      @@sleepnaught I plan to do textures once I'm a bit more familiar with them myself. Perhaps in a couple days.
      I'd love to cover level design theory itself, but it'll certainly need be a different style of video.

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

      A simple light switch tutorial is something I would like to see

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

      @@Hosomi, thanks for the tutorials! If possible, add fragments of what happened after rendering. :)

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

    Thanks a lot. This looks easy to follow.

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

    Please put an in game demonstration at the end of your tutorials. Great work. Will be following you.

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

    You, my friend, are well on your way to being the next 3kliksphilip.

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

    Fun fact, the original Half-Life was going to use keycards before being replaced by retinal scanners (its model in fact still exists on the game files).
    It’s great to see Valve bringing that cut concept back to life in Alyx.

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

    YES! we need more of these! Please can you show how to make Sound? I tried using Ambient_Generic and Env_Soundscape/triggerable/proxy but none of them work! the only ones i have found to work are the Snd_ ones but i cannot figure out a way to make the area in which the sound plays any larger. :(

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

      Try point_soundevent. I'll make a full tutorial on it soon

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

      I believe ambient_generic works for music/background and point_soundevent works for in-world sound effects

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

    Awesome.Could you please do one for turning off and on a light?

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

      Good idea! I'll probably do that one for tomorrow :)

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

    Can do you one on water? If you could, could you also go in depth on electrified water, and triggering it on and off?

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

    Hey, any idea if we can change the level or not?
    I want to use the trigger entity to execute a console command that will cause a level change, is it possible or is level changing not currently possible in Source 2?
    Thanks!

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

      I think level transitions are possible, but they don't work quite the same as in Source 1
      I'll do a tutorial on it soon

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

      @@Hosomi Thank you!

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

    Please do one on ladders if you can :)

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

    Hey, I don't know if you are still gonna see this but I have this issue:
    I am trying to make a key and door system in CS2, so Source2s Hammer. If I use the touch trigger like you showed, walking over it also gets you the key. How do I make it so you have to pick it up(Using the E Key) like you would with a weapon?

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

    Hey, everything works great when I follow the tutorial, even managed to add sound! The skin of the scanner does not change however, any ideas why?

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

      is it a prop_dynamic?

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

      @@Hosomi Turns out I accidentally assigned the output to the keycard instead of the scanner... whoops! I did appreciate the help though and your tutorials are honestly fantastic, do you plan on making more?

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

      @@creativecipher Perhaps at some point. As for now, I'm actually working on a project thats scheduled to be released soon

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

      @@Hosomi Oh really? I'm sure you're not allowed to give any details, but is it related to half life alyx? Either way excited!!

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

    I have to find out how to make it, that you first have to turn on the power AND then can use the keypad, should be ez right xD

  • @Matthew.1994
    @Matthew.1994 3 ปีที่แล้ว

    i also ahve it playing a keycard_success sound when the correct keycard is used but how can i let it play the keycard_fail sound when anyother keycard other then the correct one is used on it?

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

      Is there an OnFilterFail output?
      Alternatively have another filter for the other keycard

    • @Matthew.1994
      @Matthew.1994 3 ปีที่แล้ว

      @@Hosomi i figured it out^^ the first filter only looks for the attached keycard. i just added asecond filter that looks for any physics object exept the keycard i want to use^^

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

    Podrías crear un tutorial de cómo crear una cámara para grabar 😅

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

    can you make a guide to a working tv or screen ?

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

      They're pretty complex. I will at some point, but I'll be focusing on more basic things like lights, sounds and EntityIO for now.
      If you're really desperate, I recommend looking at the vmap for the first level, where they have that Skype call about the heist

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

    Does this trigger on any physics object, or just the key?

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

      It'll trigger with any physics object where the phys prop's name matches the name in the filter

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

    ЭЛЕКТРОННАЯ КАРТА-ПРОПУСК

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

      ELECTRONIC CARD-PASS

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

    Do you think you could make a tutorial about how to make the combine power unit. In prefabs its called combine_powerunit.vmap. And if I want more than two of them in a level, I have to make one from scratch and I can't just copy paste from prefabs.

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

      I think you've misunderstood how prefabs work. I did another video on prefabs you can check out.

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

      @@Hosomi how do you get something to activate only after 3 other things have been activated. Like having to push three buttons for one door to open.

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

      @@irefusetopaytaxes7558 You can enable/disable logic_relays and have the relays in sequence. This is sort of like an AND gate

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

      @@Hosomi I found that math_counter also does the job. Just have each button pressed add 1 and once it hits 3 or whatever max value you have the math_counter entity open your door.

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

    bruh i cant hear it

  • @zo-lo-to8763
    @zo-lo-to8763 4 ปีที่แล้ว

    Um, i can't find information bout my problem... Well, i'll write here. When i place the Fabricator on the map, it not compilating any more. Its just valve logo in game.

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

      I'm not sure. I'll see if I can recreate the issue myself to try and solve it when I have some time

    • @zo-lo-to8763
      @zo-lo-to8763 4 ปีที่แล้ว +1

      @@Hosomi thx

  • @Die-Coughman
    @Die-Coughman 4 ปีที่แล้ว +1

    For this i literally copied the first orange keycard from the map lol

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

    im surprised that hammer 2 works on windows 7

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

      It's existed since before 2015, Windows 7 only stopped being fully supported by Microsoft in 2019

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

      @@Hosomi I thought steam also dropped support for windows 7

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

    All very good but I was horribly distracted by the fact you're using Windows 7 in 2020.

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

      shhhhh, just ignore that :D