SF's Hammer Tutorials - Moving Brushes

  Рет қаралды 30,071

Lukas Orsvärn

Lukas Orsvärn

Күн бұрын

Пікірлер: 152
@grandmasterpanda8006
@grandmasterpanda8006 9 жыл бұрын
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.
@grande1900
@grande1900 5 жыл бұрын
I was gonna comment that!
@sirpootsman1048
@sirpootsman1048 4 жыл бұрын
@@grande1900 you were 4 years late
@JustBluu
@JustBluu 2 жыл бұрын
@@sirpootsman1048 i was gonna comment that!
@sirpootsman1048
@sirpootsman1048 2 жыл бұрын
@@JustBluu 👽
@Mr_Also
@Mr_Also Жыл бұрын
@@sirpootsman1048i was gonna comment that
@nemesis6598
@nemesis6598 2 жыл бұрын
wow 12 years i hope this legendary dude is alive
@DestructionX09
@DestructionX09 11 жыл бұрын
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
@tld5500
@tld5500 12 жыл бұрын
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
@Silwerfish
@Silwerfish 12 жыл бұрын
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!
@Silwerfish
@Silwerfish 11 жыл бұрын
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.
@Tiger66261
@Tiger66261 12 жыл бұрын
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!
@GobDemoMaster
@GobDemoMaster 14 жыл бұрын
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
@Silwerfish
@Silwerfish 14 жыл бұрын
@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.
@Silwerfish
@Silwerfish 14 жыл бұрын
Yeah the brush will tilt upwards or downwards by default if there are slopes.
@thegoobster
@thegoobster 5 жыл бұрын
Thank you very much for making this video! Helped me out alot!
@Silwerfish
@Silwerfish 5 жыл бұрын
Good to hear, glad I could help!
@Tiger66261
@Tiger66261 12 жыл бұрын
I thank you alot for helpful comments!
@Silwerfish
@Silwerfish 11 жыл бұрын
You can make two trains that work differently. If you want them to work the same way you just give them the same settings. :)
@Silwerfish
@Silwerfish 12 жыл бұрын
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.
@Silwerfish
@Silwerfish 14 жыл бұрын
@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?
@L4DeadHunter
@L4DeadHunter 15 жыл бұрын
Nice tut. BTW "Fire Once" allows the train to pass this point only once.
@Loekamber
@Loekamber 12 жыл бұрын
If I group multiple brushes together, will they become one big train?
@Silwerfish
@Silwerfish 12 жыл бұрын
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.
@RandyLott
@RandyLott 14 жыл бұрын
Awesome tutorial! I love your Swedish accent :) I love Sweden, I visited last summer. Keep it up buddy!
@tld5500
@tld5500 12 жыл бұрын
I keep trying to make a train, but nothing works. When i create func_tracktrain and edit the values, it disappears.
@AguyinaRPG
@AguyinaRPG 14 жыл бұрын
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.
@Silwerfish
@Silwerfish 13 жыл бұрын
@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.
@GionatanT22
@GionatanT22 15 жыл бұрын
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?
@Apacolypse241
@Apacolypse241 12 жыл бұрын
Is it possible to tie a Spawn point to a moving train brush? I've seen it done I'm just wondering if I'm heading in the right direction.
@guyboy625
@guyboy625 13 жыл бұрын
Ok, so I get that func_tracktrain and path_track are Source Engine object classes. But they seem extremely prefabricated and single-purposed. I'm guessing that they are hard-coded in every version of the Source Engine, and therefore not customizable without enormously tedious reverse-engineering if you don't have the Source engine's source code. I'm guessing you have to work with what is there, correct? Is there at least an online reference for these objects?
@guyboy625
@guyboy625 13 жыл бұрын
@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?
@PiranhaAction
@PiranhaAction 11 жыл бұрын
not if you manage to replace the mesh , but well idk if that possible and the hostage has animations to it. just a thought
@Silwerfish
@Silwerfish 14 жыл бұрын
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
@Silwerfish
@Silwerfish 12 жыл бұрын
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. :(
@TheIcecubelover
@TheIcecubelover 11 жыл бұрын
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..
@Loekamber
@Loekamber 12 жыл бұрын
@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?
@sniperrizzet
@sniperrizzet 11 жыл бұрын
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
@harrisdavisson9409
@harrisdavisson9409 11 жыл бұрын
can't you attach some objects to hostage so it looks like other type of NPC ?
@Paul_Krantz
@Paul_Krantz 14 жыл бұрын
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?
@MushroomStorm123
@MushroomStorm123 12 жыл бұрын
I have a problem. im trying to make a train that would start moving by the path when i press a button, or trigger it but it doesnt seem to work. This is how i made it.. I made a logic_auto entitie so that it would set the 2 path_tracks to be disabled when the map starts. And then i added a func_button with the triggers: OnPressed path1 EnablePath OnPressed path2 EnablePath OnPressed train StartForward But it doesnt work! i tried adding other options, but still its not working. I need some help!
@Silwerfish
@Silwerfish 12 жыл бұрын
@TheSisisspore If you select all the brushes and turn them all into one train then they will stay in their shape.
@Silwerfish
@Silwerfish 13 жыл бұрын
@Jacc0s Thanks for the suggestion!
@Silwerfish
@Silwerfish 15 жыл бұрын
I'm sorry, I don't understand what you mean, what is "havver cameha"?
@Silwerfish
@Silwerfish 14 жыл бұрын
@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.
@Silwerfish
@Silwerfish 13 жыл бұрын
@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!
@Silwerfish
@Silwerfish 15 жыл бұрын
Thank you! Any requests? :)
@dabadguy4273
@dabadguy4273 13 жыл бұрын
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!!!
@Silwerfish
@Silwerfish 12 жыл бұрын
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.
@Silwerfish
@Silwerfish 14 жыл бұрын
@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.
@Silwerfish
@Silwerfish 11 жыл бұрын
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.
@Silwerfish
@Silwerfish 14 жыл бұрын
@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).
@Silwerfish
@Silwerfish 14 жыл бұрын
@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?
@bocca882
@bocca882 15 жыл бұрын
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?
@Silwerfish
@Silwerfish 15 жыл бұрын
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! :)
@sniperrizzet
@sniperrizzet 11 жыл бұрын
oh and btw when you make 2 trains do they work the same way?
@foist101
@foist101 15 жыл бұрын
Very nice, I've always wanted to know how to do this. Gj.
@Silwerfish
@Silwerfish 15 жыл бұрын
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.
@Silwerfish
@Silwerfish 14 жыл бұрын
That would be pretty advanced, there might be a simple solution, but not one that I'm aware of.
@gmodbastard
@gmodbastard 14 жыл бұрын
can u make a tutorial of prop elevator?
@Silwerfish
@Silwerfish 13 жыл бұрын
@guyboy625 You can't add custom entities without programming in C++.
@Silwerfish
@Silwerfish 13 жыл бұрын
@guyboy625 I don't have any experience with gmod, but that might be the case, it's a gmod specific thing anyhow.
@theRPGmaster
@theRPGmaster 9 жыл бұрын
Amen de va ju så braa, att du gjordee en sån her bra tutourial sak!
@Silwerfish
@Silwerfish 9 жыл бұрын
Nice att du gillar! :)
@theRPGmaster
@theRPGmaster 9 жыл бұрын
Silverfish (Lukas Orsvärn) yep, det var faktiskt den enda jag hittade som visar just detta. Och lätt att förstå.
@Silwerfish
@Silwerfish 14 жыл бұрын
@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.
@Silwerfish
@Silwerfish 15 жыл бұрын
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.
@DrakeDaraitis
@DrakeDaraitis 14 жыл бұрын
@jeffjohnvol Put a nodraw brush under it, then tie the nodraw to func_tracktrin
@Silwerfish
@Silwerfish 14 жыл бұрын
Thank you for the kind words and the stars! ^^
@Silwerfish
@Silwerfish 11 жыл бұрын
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.
@Silwerfish
@Silwerfish 15 жыл бұрын
Thank you for the request!
@Silwerfish
@Silwerfish 11 жыл бұрын
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.
@Silwerfish
@Silwerfish 14 жыл бұрын
@chickenmobile I tried that, that is not the case.
@Silwerfish
@Silwerfish 15 жыл бұрын
That's a great request! Thank you.
@Silwerfish
@Silwerfish 12 жыл бұрын
I'm happy to hear that! :D Good luck with your mapping!
@Mansl1
@Mansl1 14 жыл бұрын
"and then we have the train speed! also self explenetory." lol
@colbyjackextracheese6249
@colbyjackextracheese6249 8 жыл бұрын
can I connect multiple blocks to one train so I have a real train?
@ThunderPanzer
@ThunderPanzer 11 жыл бұрын
(Facepalm)... I now seem to understand the problem... I have a mounted machine gun in my helicopter, but it doesn't work... And the origin texture of the gun was guiding the helicopter...
@Silwerfish
@Silwerfish 14 жыл бұрын
@illusionist123546 I'm afraid I don't have a tut on that, if you want that just add it as a suggestion in the Moderator module on my channel page, if it gets enough votes I'll make a tut on it! :)
@Silwerfish
@Silwerfish 15 жыл бұрын
Thanks! I'm glad you learned something!
@Silwerfish
@Silwerfish 15 жыл бұрын
Want a tutorial on info_hint entities? I'll add it to the list!
@Silwerfish
@Silwerfish 11 жыл бұрын
Possibly, but it's still going to act exactly like a hostage.
@Silwerfish
@Silwerfish 14 жыл бұрын
I'm looking forward to it! :)
@Silwerfish
@Silwerfish 12 жыл бұрын
Great! Glad you figured it out! :)
@sonitrok2499
@sonitrok2499 7 жыл бұрын
Is it possible to make this but with a prop instead of a brush ? How is it possible to tie the brush and the prop so the prop moves with the brush ?
@Silwerfish
@Silwerfish 7 жыл бұрын
I don't remember, so long since I worked in Hammer now!
@Tiger66261
@Tiger66261 12 жыл бұрын
Hey can you like make it so the train moves ONLY when you step on a certain spot in the map?
@NicolaiSyvertsen
@NicolaiSyvertsen 15 жыл бұрын
it's not like the MS Office team designed the Hammer editor.
@Silwerfish
@Silwerfish 15 жыл бұрын
You're welcome.
@kareongames
@kareongames 7 жыл бұрын
much better tutorial than 3kliks made! thx, now my train works
@Silwerfish
@Silwerfish 6 жыл бұрын
Wow, that's quite a compliment! Thanks!
@Silwerfish
@Silwerfish 11 жыл бұрын
Hi! I'm afraid I don't make tutorials any longer, sorry!
@Liamwitz
@Liamwitz 15 жыл бұрын
Brilliant.
@Silwerfish
@Silwerfish 13 жыл бұрын
@CU2UK Thanks!
@sniperrizzet
@sniperrizzet 11 жыл бұрын
I LOVE YOU! great response and you don't waste time, +1 Rep!
@chickenmobile
@chickenmobile 14 жыл бұрын
Lol, I laughed when he said Fire Once, I dont know what that does. If anyone wants to know, it means that it can only be triggered once, as in it can only move from the path_tracks once.
@stephenisakeeper
@stephenisakeeper 13 жыл бұрын
fire-once means just that fire once. It will only do it once. It will not continue.
@whattodo3116
@whattodo3116 11 жыл бұрын
continue make tutor pls i wanna break the wall and it explode
@Silwerfish
@Silwerfish 11 жыл бұрын
Yes that is doable.
@sniperrizzet
@sniperrizzet 11 жыл бұрын
oh and please respons asap when you read this
@guyboy625
@guyboy625 13 жыл бұрын
@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?
@Silwerfish
@Silwerfish 11 жыл бұрын
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.
@Silwerfish
@Silwerfish 13 жыл бұрын
@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.
@Silwerfish
@Silwerfish 14 жыл бұрын
@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
@Silwerfish
@Silwerfish 15 жыл бұрын
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.
@Silwerfish
@Silwerfish 12 жыл бұрын
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.
@McStebb
@McStebb 14 жыл бұрын
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?
@Silwerfish
@Silwerfish 14 жыл бұрын
@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.
@Silwerfish
@Silwerfish 14 жыл бұрын
@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!
@Silwerfish
@Silwerfish 14 жыл бұрын
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.
SF's Hammer Tutorials - 3D Skybox
3:46
Lukas Orsvärn
Рет қаралды 9 М.
Hammer Editor - What NOT to do and WHY!
16:12
Trivvy
Рет қаралды 46 М.
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 98 МЛН
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 1,8 МЛН
Panels Volume One
5:33
Laser Casserole
Рет қаралды 31 М.
SF's Hammer Tutorials - Face Poser 3: Lip Sync
8:51
Lukas Orsvärn
Рет қаралды 20 М.
SF's Hammer Tutorials - Optimization 3: Areaportals
7:11
Lukas Orsvärn
Рет қаралды 9 М.
Making curved roads in Hammer Editor (like in Highway 17)
10:58
AWGPlayer 21
Рет қаралды 25 М.
The Home Server I've Been Wanting
18:14
Hardware Haven
Рет қаралды 138 М.
Source SDK - БАГ с поездами EP2 (func_TrackTrain, Path_Track)
4:29
PROJECT-S: Source Engine Lessons - Уроки и Игры
Рет қаралды 4,8 М.
SF's Hammer Tutorials - NPC Animations
4:49
Lukas Orsvärn
Рет қаралды 56 М.
SF's Hammer Tutorials - NPC Navigation
3:20
Lukas Orsvärn
Рет қаралды 53 М.
Source SDK: Scripted sequence tutorial
6:52
DHCZero
Рет қаралды 39 М.
3D Skybox Tutorial | Hammer Editor Tutorials
6:10
Func_Waffular
Рет қаралды 4,1 М.
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 98 МЛН