Hammer Tutorial 25 - Pseudorandom Razor Train Setup

Sdílet
Vložit
  • čas přidán 28. 08. 2024

Komentáře • 35

  • @liabilityvoid
    @liabilityvoid Před rokem +15

    I have no clue what this is or why it was in my recommended, but I now know how to create a semi-random train makeup creator in software I've never even heard of. Amazing!

    • @BlazeTheCatMan
      @BlazeTheCatMan Před rokem +2

      its something ive wanted to know how to do!

    • @BahpuAgain
      @BahpuAgain Před rokem +3

      this is so funny that you've just come across this lmao

  • @musicmystro
    @musicmystro Před 3 měsíci +1

    Great tutorial and content from your channel :) for some reason when I make a train the yellow line in the centre of the model in top view (its angle) is always pointing out to the side of the train or train car. So when I start my level the train moves sideways lol. I don't suppose you have come across this problem or know of a fix/workaround?

    • @TheMaster974
      @TheMaster974  Před 3 měsíci

      I don't think that really matters, if a func_tracktrain is what you are using to make the trains move (as there's no move direction in a func_tracktrain's properties). You can ensure that the train has the 'No Pitch (X-rot)' and 'Fixed Orientation' flags set and the path_track entities have the Orientation Type set to 'Face direction of motion', or try rotating the train so it faces the direction you desire. Hopefully some of this information helps you out!

  • @BahpuAgain
    @BahpuAgain Před rokem +1

    very helpful, thank you

  • @greggyshmeggy
    @greggyshmeggy Před 8 měsíci +2

    The first train car spawns normally and moves, but any cars after that spawn fine but then don't move. Help?

    • @TheMaster974
      @TheMaster974  Před 8 měsíci

      Thanks for the comment, I would advise you to check that the first path_track has its New Train Speed set to a non-zero value, to check that the other func_tracktrain entities have their first stop target as the first path_track and you have a valid path for the trains to follow (in other words, check to see if the Next Stop Target is set in the first path_track). These are the only things I can think of that could be causing this issue. Hopefully this helps!

  • @zyferisgaming
    @zyferisgaming Před rokem +2

    For me, they do spawn, but they all stuck together in the ground and straight up don't move

    • @TheMaster974
      @TheMaster974  Před rokem

      Firstly, trains being in the ground can be fixed by either raising the path_track entities that the train will go down, or lowering the origin of the func_tracktrain entities. Secondly, trains not moving is probably because the first path_track has its New Train Speed set to 0 instead of the func_tracktrain's Max Speed (as I show in the video, because the Initial Speed is set to 0), or you haven't properly set up the path_track entities for the trains to proceed through (i.e. Next Stop Target is not set). Hopefully this helps!

    • @zyferisgaming
      @zyferisgaming Před rokem +1

      @TheMaster974 I'll check it out again, thanks for answering!

  • @Vinier-qw9pf
    @Vinier-qw9pf Před měsícem +1

    only one train spawns and it's sideways

    • @TheMaster974
      @TheMaster974  Před měsícem

      You might need to double check the settings of the func_tracktrain entity and the first path_track, if they are good, perhaps you could rotate the train so it points in the direction of motion that it would take when it spawns. If only one train is spawning, it sounds like an issue with the logic_case stuff, so you will have to make sure it is similar to what I show in the video.

  • @TulgaBatbayar-ii3qn
    @TulgaBatbayar-ii3qn Před 8 měsíci +2

    Please can there be a link to the download of the tutorial map?

    • @TheMaster974
      @TheMaster974  Před 8 měsíci +1

      You can find the test map here, the map is called randomtraintest.vmf: www.dropbox.com/sh/1ga9bhpi1nfvupg/AABT1JipWRsb04-YDI7X8jqla?dl=0

    • @TulgaBatbayar-ii3qn
      @TulgaBatbayar-ii3qn Před 8 měsíci +1

      @@TheMaster974 thank you so much

  • @tractorsexual4981
    @tractorsexual4981 Před 3 měsíci +1

    I cant find entity for that !activator, guys dont know for what entity name it is?

    • @TheMaster974
      @TheMaster974  Před 3 měsíci

      Using !activator will show up as an error in the Hammer editor, but it works perfectly fine. It's effectively saying "whatever entity activates this Output, do something". So in this video, the end path_track determines which train to remove based off the train that moves over it, without needing to specify a load of train names in the Outputs. Hopefully you find this information helpful!

    • @tractorsexual4981
      @tractorsexual4981 Před 3 měsíci +1

      ​@@TheMaster974 thanks man, it works! Anyway dont you know if there is way to make a train that can kill the player if he touch it?

    • @TheMaster974
      @TheMaster974  Před 3 měsíci

      You can do that by setting an amount inside a func_tracktrain's Damage on Crush parameter (and by selecting the 'Is unblockable by player' flag in the Flags section), or by creating a trigger_hurt entity that is parented to the train with a large amount of damage to deal to anything that enters it, or a combination of both.

    • @tractorsexual4981
      @tractorsexual4981 Před 3 měsíci +1

      @@TheMaster974 oh yes i just found out, i forgot add trigger_hurt name in template and now it works, anyway thanks again for advice and help and im glad you doing this stuff keep it up man

  • @BlazeTheCatMan
    @BlazeTheCatMan Před rokem

    can you give me a complete step by step vid!? cuz i am still confused and it seems like your just showing it off rather than making it though. i'm so sorry! :)

    • @TheMaster974
      @TheMaster974  Před rokem +1

      Let me try to respond to all of your comments in one go: I probably won't elaborate on entity placements/setups in another video. I tried to explain what entities are needed and their properties in an order that would make the most sense, so if there's anything in particular that you don't understand, it would help me to know specifics (i.e. func_tracktrain setup, logic entity outputs, spawning time delay + length & speed of the trains etc.). Much like with a tutorial I did about Combine Dropships, I assumed viewers would know how to place entities and all that, as the core functionality is all that I really needed to cover because the implementation is completely arbitrary.
      You can use workshop models, though you would need to extract them first. Refer to this or general searches for help about how to do this: steamcommunity.com/app/211/discussions/0/1639792569845746933/
      In this case, trains are one-way only. To make a two-way system, you would have to duplicate the logic entities and trains (i.e. Copy, Paste Special and ensure 'Make pasted entity names unique' is checked) and the path_track entities and rotate them 180 degrees, then it depends on if you want the two-way system on one track or not. I will assume you know how to do this.

    • @BlazeTheCatMan
      @BlazeTheCatMan Před rokem

      @@TheMaster974 can you send me the map or something?

    • @TheMaster974
      @TheMaster974  Před rokem +1

      See if this works: www.dropbox.com/sh/1ga9bhpi1nfvupg/AABT1JipWRsb04-YDI7X8jqla?dl=0

    • @BlazeTheCatMan
      @BlazeTheCatMan Před rokem

      @@TheMaster974 it does but can i make my own map out of this and also can you take my map i am working on and do it for me!? like go outside of the map and find the train cars and add all of them and make the random amount to the max for me! :)
      drive.google.com/drive/folders/1qxjELNK5oxl9mUb8pJCtocDYWOMNNFzy

    • @TheMaster974
      @TheMaster974  Před rokem +1

      You can make your own map out of the map I made if you want to, please don't forget to provide me credit in that case! I cannot access the link you provided, is there any other place you can upload it to, if you really want me to take a look at it for you? Also, if you are using workshop addons, it would be nice to know which ones you intend on using.