Hl1 train flag means that it allows the player to be on top of it while it moves without it the train to thinks the player is a object that prevents it from moving.
@grande19005 жыл бұрын
I was gonna comment that!
@sirpootsman10484 жыл бұрын
@@grande1900 you were 4 years late
@JustBluu2 жыл бұрын
@@sirpootsman1048 i was gonna comment that!
@sirpootsman10482 жыл бұрын
@@JustBluu 👽
@Mr_Also Жыл бұрын
@@sirpootsman1048i was gonna comment that
@nemesis65982 жыл бұрын
wow 12 years i hope this legendary dude is alive
@Tiger6626112 жыл бұрын
I thank you alot for helpful comments!
@Silwerfish13 жыл бұрын
@JasperTheDoxie That's great to hear! :D Thanks for letting me know you liked it! ^^
@tld550012 жыл бұрын
I am not sure what I was doing wrong, but I finally got a train working on my map. Thanks for the help! Have a good one
@Silwerfish12 жыл бұрын
Yep. Just use a trigger_multiple or trigger_once depending on your needs. Set up its outputs so that the train moves when the player enters it. If you don't know how outputs work there should be a few tutorials that can teach you that here on KZbin. Good luck!
@Silwerfish15 жыл бұрын
They had an invisible brush entity as the functional part of the train, and then they took a prop_dynamic model entity and parented it to the brush (this makes the prop_dynamic follow the train's movement). Thank you for the stars and the comment. :D
@Silwerfish12 жыл бұрын
What you can do is make several paths like you did, and also give each crow its own destination. The path that you want a crow to take should be the one that has the shortest distance from the crow's starting position to its goal. That's how I've done it if I recall correctly.
@Silwerfish11 жыл бұрын
Good thing you managed to sort it out! This tutorial is for the Source engine. HL1 and CS 1.6 use the GoldSource engine which works differently from the Source engine in many aspects.
@Silwerfish14 жыл бұрын
Thank you! I try to make my tutorials as accessible as possible and I'm happy to hear it's appreciated. :)
@JasperTheDoxie13 жыл бұрын
FINALLY! AN UNDERSTANDABLE TUTORIAL! I finally got my map to do what I wanted it to do! :D Thanks
@Silwerfish15 жыл бұрын
I'm glad you liked it! Good luck with making your train! :)
@chickenmobile14 жыл бұрын
@KisukeMoto1 What he did was just move it from one point to the other, pressed enter and then used the cutting tool again to cut another. You should be able to use the cutting tool, its one of the most useful tool in the hammer editor.
@Silwerfish15 жыл бұрын
Yeah the brush will tilt upwards or downwards by default if there are slopes.
@Silwerfish12 жыл бұрын
@TheSisisspore Yeah if you select several brushes and make them all into one single train entity they will work like one train.
@GobDemoMaster14 жыл бұрын
You do a wonderful job. I also like how you use annotations to allow me to watch the video in low quality and still see it. Keep up the great work :D
@Silwerfish12 жыл бұрын
You can make two trains that work differently. If you want them to work the same way you just give them the same settings. :)
@Silwerfish15 жыл бұрын
Thank you for the kind words and the stars! ^^
@Tiger6626112 жыл бұрын
Oh one more thing, how can I add custom models to hammer? I have a custom model of a stealth bomber. The idea is I was going to make the stealth bomber like a train, except the train tracks are above the map and invisible so it creates the effect of a bomber flying overhead. Thanks!
@Silwerfish14 жыл бұрын
@KisukeMoto1 I use the clipping tool several times. I use the shortcut shift - X here to select the tool quickly.
@L4DeadHunter15 жыл бұрын
Nice tut. BTW "Fire Once" allows the train to pass this point only once.
@NiekoxD14 жыл бұрын
GREAT tutorial, nice slow talking, good graphs and good explaining :D kudos
@DestructionX0911 жыл бұрын
When I heard your voice in the beginning of the video, I thought you were a bot speaking. Lol. On a serious note, thanks for the tutorial! Great job explaining and got it real well down. :D
@Silwerfish11 жыл бұрын
It sounds like your func_tracktrain origin is not in the right place. The func_tracktrain is where it will attach to the track. The origin is the small ball thing you see in the 2D views when you have your brush entity selected, there should be a dotted line leading towards it from your selection if I recall correctly, you can just click and drag it into the place where you want your func_tracktrain to attach to the rail.
@Silwerfish14 жыл бұрын
@AguyinaRPG you can make a simple elevator just by following this tutorial, it really depends on how advanced you want the elevator to be. But when you have the basic elevator it's easy to expand from there. I'd rather do a tutorial on parenting and another one on triggering and then let people figure out how to parent a model to the elevator and set up a trigger to make it move. I try to be as general and focused as possible in my tutorials you see.
@omnacky13 жыл бұрын
@TakeBackTheWorld If you make the door a func_tracktrain and go into flags, there is an option that says "HL1 Train that you can check, that might be it.
@chickenmobile14 жыл бұрын
@Silwerfish Maybe if it is a special toggle, cause fire once is usually the case with most outputs/inputs (a tick in the corner when you add an output). Instead of "startForward" or "startBackward" maybe it applies to "toggle"? Hey as a idea, maybe you should tell people how to use branches. I think they need some sort of switching outputs that allows it to switch between the branch paths and the 'normal' next path.
@Silwerfish11 жыл бұрын
Yeah maybe, I suggest you follow the tutorial very closely the first time you do it just to make sure you're doing it right, and then you can start using the knowledge that you learned to create your own stuff.
@McStebb14 жыл бұрын
I think HL1 train is the tyle of train that when you E-press it you are binded to the entity and move with it, controlling speed with the W and S keys, remember that from HL1?
@Silwerfish15 жыл бұрын
Thank you! I assume you have placed info_node entities? To get some info about what's going on, write developer 2 in the console. Then get the NPC to do what you want and bring up the console again, there you should now have a bunch of information that might help you in understanding what's going wrong. Do that and tell me if you manage to figure it out.
@Silwerfish12 жыл бұрын
You can't parent the actual spawn point, what you need to do is have the player spawn location be inside of a teleporter volume that will teleport him to a destination, and that destination can be parented to a moving train brush.
@Silwerfish14 жыл бұрын
@fingerboy18 Hehe that's great, I don't understand why so many people seem to enjoy my Swedish accent, but I'm glad they do! :) And I have to agree, Sweden is a great country.
@Silwerfish12 жыл бұрын
That is quite hard to do, I've done it a few times before but getting a custom model into Source can take a bit of work, at least when you haven't done it before. I suggest you try finding a full tutorial on the subject as I can't remember the entire process in my head, and a KZbin comment surely isn't enough space to describe the whole process either way.
@equaleyez14 жыл бұрын
very good tutorial, all explained well and no bullshit! keep it up man know i see how easy creating train tracks is :D!
@Silwerfish13 жыл бұрын
@Jacc0s Thanks for the suggestion!
@Silwerfish14 жыл бұрын
@TakeBackTheWorld I do remember that. But that's not it, because you can drive the train by default, there's a flag that says something like "not drivable" that you have to check in order to remove that functionality. Perhaps it has something to do with how it behaves on a more basic level? In any case, it's probably not too important. :P
@Silwerfish14 жыл бұрын
@cortorboch12 You need to press W or S to make it move when you've activated it with use.
@Silwerfish15 жыл бұрын
Thank you for the request!
@Silwerfish15 жыл бұрын
Ah, shift-Z will maximize the current viewport, do it again to go back. Press ctrl-A to reset the viewport sizes. I hope this helps! :)
@RandyLott14 жыл бұрын
Awesome tutorial! I love your Swedish accent :) I love Sweden, I visited last summer. Keep it up buddy!
@Silwerfish14 жыл бұрын
That would be pretty advanced, there might be a simple solution, but not one that I'm aware of.
@Silwerfish14 жыл бұрын
@chickenmobile I don't understand what you mean by that first part, but if you want to you could try it out and see if that's how it works. I'll add your idea to the request list, thanks!
@Silwerfish15 жыл бұрын
Thank you! Any requests? :)
@thegoobster6 жыл бұрын
Thank you very much for making this video! Helped me out alot!
@Silwerfish6 жыл бұрын
Good to hear, glad I could help!
@foist10115 жыл бұрын
Very nice, I've always wanted to know how to do this. Gj.
@Silwerfish15 жыл бұрын
That's a great request! Thank you.
@GionatanT2215 жыл бұрын
Thank you for your answers ^^ will trie it as soon as i return Home from work :)
@Silwerfish15 жыл бұрын
Oh, ok. Well they provide NPCs with information about their surroundings. So they can know where there's cover, interesting places for them to look, if there's a narrow doorway where only one NPC will fit and so on.
@Silwerfish13 жыл бұрын
@dabadguy4273 You should be able to just undo stuff like that. (ctrl - z). Otherwise you might be able to load an old autosave if you have that activated. Also, don't use make hollow. Ever. It can mess things up and doesn't produce optimal brushwork. It's better to just use duplicating, clipping and vertex manipulation.
@PiranhaAction11 жыл бұрын
not if you manage to replace the mesh , but well idk if that possible and the hostage has animations to it. just a thought
@Silwerfish12 жыл бұрын
Hm, that is quite odd, I don't really know what might be the issue, I suggest you make sure you follow the tutorial very closely just to make sure you're doing everything the same way I am. If you're unlucky there might have been an update of some sort that broke func_tracktrain.
@Silwerfish12 жыл бұрын
@TheSisisspore If you select all the brushes and turn them all into one train then they will stay in their shape.
@Silwerfish14 жыл бұрын
I'll add your request to the request list. Thank you!
@Silwerfish13 жыл бұрын
@guyboy625 All entities in the Source engine are pre fabricated and hard coded, yes. So you have to work with what's there, what the mapper can do though is use inputs/outputs to make the entities communicate by sending information to one another and so on. There is a good online reference at "developer valvesoftware com" (replace spaces with dots). I think you can just press F1 when Hammer is open and it'll take you there as well.
@AguyinaRPG14 жыл бұрын
Perhaps an elevator tutorial? It's very similar but there are a lot of added elements that I don't think a lot of people get when looking at written tutorials.
@Silwerfish14 жыл бұрын
@pakrantz I'm not saying it's impossible by any means, it would just take a good amount of time to set it all up.
@Tiger6626112 жыл бұрын
Hey can you like make it so the train moves ONLY when you step on a certain spot in the map?
@GionatanT2215 жыл бұрын
another great and informative tutorial ^^ thanks alot
@awells8814 жыл бұрын
Just what I need to make my level! Thanks!
@Shepard_AU15 жыл бұрын
thanks man. easy understanding aswell. not the first time for me though, i was listening to music. (lol) 5 star
@Silwerfish14 жыл бұрын
@cortorboch12 I know that the player can block it at least, you could just test hiding the other brush to see if that is the problem.
@Silwerfish14 жыл бұрын
@cortorboch12 The brush that was blocking it. If you want to I could take a look at the map, there are some problems that are hard to find without looking at the map. Upload your .vmf somewhere and send me a link in a PM, or just send me a PM and we'll work out another way.
@Loekamber12 жыл бұрын
If I group multiple brushes together, will they become one big train?
@Silwerfish12 жыл бұрын
I'm happy to hear that! :D Good luck with your mapping!
@Silwerfish13 жыл бұрын
@stephenisakeeper I did try it out several times though and that was not the case for me, so I really don't know what it does. If you manage to make it do what it sounds like it's supposed to do, then let me know!
@Shepard_AU15 жыл бұрын
could i make an incline like make the track go up and it will go in that incline degree angle thing?
@Silwerfish15 жыл бұрын
Thanks! I'm glad you learned something!
@Silwerfish12 жыл бұрын
Hm, I don't think you should need to deactivate the paths, shouldn't you just have to make sure the train starts without moving and then starts moving when you push the button? I'm sorry, it was such a long time since I played around with this stuff so I don't quite remember how everything works with these trains. :(
@Silwerfish14 жыл бұрын
@cortorboch12 Hehe, I actually have no idea. :P I guess it's some kind of legacy thing they might have used for Half-Life: Source or something perhaps?
@Silwerfish11 жыл бұрын
That could work, but I don't know if it's possible to do that only though the editor, I think you'd need a mod for the game to do that. however if you could make it work, it would still act like and actually _be_ a hostage.
@Silwerfish14 жыл бұрын
@csguitarsk8dude Then you can for instance make the train start at 0 speed and when you push the button you set the speed of the train to 1 (that means 100% of its max speed).
@Silwerfish15 жыл бұрын
I'm looking forward to it! :)
@Silwerfish14 жыл бұрын
Oh, I removed it because it didn't work, I forgot to add an annotation about it in the video. I stopped adding them because it was too much work in relation to how many people liked them.
@Paul_Krantz14 жыл бұрын
I'm making an elevator using this same func_tracktrain, and path_track method. What I can't figure out is how to make a button that takes you to a specific floor when it's pressed. I have 4 different floors the elevator moves to and they all have different spacing between them. Can you or anyone help me out?
@bocca88215 жыл бұрын
I know this request is a bit tricky but can you make a tutorial for general tips for faster mapping and making a map feel more detailed?
@Silwerfish15 жыл бұрын
Thanks! I actually tested it because I couldn't find any info on it, it could pass the point any amount of times even with that flag checked, so I really don't know.
@Silwerfish12 жыл бұрын
Great! Glad you figured it out! :)
@Silwerfish11 жыл бұрын
Sorry, but I don't make tutorials any longer. I have never seen moving NPCs in CS:S other than the hostages, so unless you've seen it done it's probably not possible.
@JasperTheDoxie14 жыл бұрын
Thanks for the help man!
@Silwerfish14 жыл бұрын
@KillTheGrasshopper In the properties of the prop (you might need to have it be a prop_dynamic), set the parent property to the name of your train brush.
@tld550012 жыл бұрын
I keep trying to make a train, but nothing works. When i create func_tracktrain and edit the values, it disappears.
@Silwerfish13 жыл бұрын
@guyboy625 I don't have any experience with gmod, but that might be the case, it's a gmod specific thing anyhow.
@dabadguy427313 жыл бұрын
i was working on a map, it was pretty nice when i put the skybox in, i pushed control+H to hollow it so i could play on my map... what happend? IT DELETED EVERYTHING IN MY MAP!!!
@theRPGmaster9 жыл бұрын
Amen de va ju så braa, att du gjordee en sån her bra tutourial sak!
@Silwerfish9 жыл бұрын
Nice att du gillar! :)
@theRPGmaster9 жыл бұрын
Silverfish (Lukas Orsvärn) yep, det var faktiskt den enda jag hittade som visar just detta. Och lätt att förstå.
@sniperrizzet12 жыл бұрын
Hello Silwer, I am working on my simple, but a fun map and was wondering before i start and do everything and then it wont work, but i was wondering can you make 2 trains and let those trains follow their own paths what i mean is can i make 2 trains that move in their own tracks not in eachotheres
@Silwerfish15 жыл бұрын
Want a tutorial on info_hint entities? I'll add it to the list!
@Silwerfish11 жыл бұрын
Hi! I'm afraid I don't make tutorials any longer, sorry!
@DrakeDaraitis14 жыл бұрын
@jeffjohnvol Put a nodraw brush under it, then tie the nodraw to func_tracktrin
@DontRunAway111 жыл бұрын
TUTORIAL REQUEST: Can you make a tutorial on how to create code for opening door ? Like this in map zm_dd_v1 if you played it.
@Silwerfish14 жыл бұрын
@ZPS0 That's odd, is the new train speed on the path_track set to 0 as well? Have you tried setting the max speed to 0 also?
@ThimothyL12 жыл бұрын
hay im trying to get crows flying on my map(for gmod and i use css as sdk) it works pretty good but the crows are annoying and don't fly nicely spread so i wanted to make several paths with the branch path options but it seems its ignoring it :s and i tried making another solution by putting 2 logic_relays on the map and trying to make em loop on each other so the tracks get switched every second and im testing it on lights now to see if it works but i can't get it right to restart it just stops
@harrisdavisson940911 жыл бұрын
can't you attach some objects to hostage so it looks like other type of NPC ?
@TheIcecubelover11 жыл бұрын
Hmm i tried to make a brush that moves upwards but when i spawn it always flip over to 90° left... What is this?? I am using portal 2 authoring tools btw..
@Silwerfish11 жыл бұрын
Possibly, but it's still going to act exactly like a hostage.
@guyboy62513 жыл бұрын
@Silwerfish ...and without having the source code. Thanks for the info. I'm guessing that GMod SEnts are all the same class in hammer, and that GMod is the only game with that feature. Is that correct, or have you no experience with GMod?
@sniperrizzet12 жыл бұрын
oh and btw when you make 2 trains do they work the same way?
@GionatanT2215 жыл бұрын
oh i just forgott..... i got a little problem: i made a map and triggerd an npc to youse a teleporter to another section of the map witch is detached from the rest of the map... after teleportation the npc was ment to go to a rally-point but it keeps standing on the teleportation exit... it's not stuck. tryed the teleporter by myself as info_player_start... how may i fix it?
@Silwerfish13 жыл бұрын
@guyboy625 You can't add custom entities without programming in C++.
@Loekamber12 жыл бұрын
@Silwerfish Do I have to move up every single waypoint tsrget for every brush, or will it just have one waypoint target that will work far all the brushes?