Hammer Tutorial #81 "Mouse Controlled Turret"

  Рет қаралды 17,521

TopHATTwaffle

TopHATTwaffle

Күн бұрын

Пікірлер: 83
@Trumavarium
@Trumavarium 14 жыл бұрын
4:10 "Make it an info_thaaaaaaaaaaarget!" XDD Made me laugh.
@Anders3000
@Anders3000 10 жыл бұрын
My gun keeps falling.
@revolutionstudios5052
@revolutionstudios5052 4 жыл бұрын
Hey, sorry to bump a video from 2011, but I'm currently working on an HL2 mapping project, and since I don't know anything better than making it through logic, I watched this tutorial. Now, it worked, except for the fact that the gun keeps sticking at the angle you were facing when you interacted with it. How would I fix this?
@Captain0Terror
@Captain0Terror 13 жыл бұрын
I updated the info_target parenting using the "logic_measure_movement" workaround, and now it works in a MP game with bots. I made an example map of your "Mouse-controlled Turret" using the updated parenting, and some "extras" added from your "Waffle Turret" tutorial. let me know if you'd like a link. Some issues with the "extras", i can't get shell ejection to work, and fsr, the trigger hurt i used "times out" after 4-5 seconds, even though it's not set to disable until UnpressedAttack.
@Tailsrus
@Tailsrus 8 жыл бұрын
and where can I download this example?
@konstantinub
@konstantinub 13 жыл бұрын
You might want to find a way to limit the turret movement, as it's both unreal and dangerous to let the turret face the player if he turns around (like on 9:10). I've tried using a trigger_look to stop the turret's movement once the player looks back, and to re-enable it once he looks forward again. It does the job, but I feel that there might be a better way of doing it via physics constraints. Tell me what you think.
@jerooo159
@jerooo159 13 жыл бұрын
how you learnd all this??? :O
@MiniMaracas
@MiniMaracas 12 жыл бұрын
Wow, nice! This is so confusing though xD So many outputs! I'll try this soon, and tell you if it works :) Also, how would you exactly make it so the bullets hurt people? How would you make the trigger hurt follow the bullets, and only shoot when you shoot? Also, I take it this shoots when you left click? :) cheers.
@baconinvader
@baconinvader 7 жыл бұрын
to add damage, use an invisible env_laser, with the blocking damage set to something other than 0
@Nessinby
@Nessinby 13 жыл бұрын
@rocketrascal34 hey, i can't use the turret, when i get in it says that the movement entity cannot find measure target "gun_user" and it won't turn! And i am using HL2:EP2 BTW...
@baconinvader
@baconinvader 7 жыл бұрын
if you are using hl2: ep2, then you can use a tank_airboatgun entity instead, decompile a turret from hl2 using bspsource to find out how
@trainzack
@trainzack 14 жыл бұрын
OOOORRRR.... you could use a func_tank? only problem with that method is you need to use the bunker gun model from halflife if you want the gun to move.
@idarkstarx6939
@idarkstarx6939 6 жыл бұрын
Is there any way to make it lock into players automatically? I’m trying to create a boss battle-like turret thing in TF2, and I would like it to be able to lock onto the nearest player and gun them down.
@Conman9310
@Conman9310 8 жыл бұрын
Will this work in other games like Portal 2?
@lowshim
@lowshim Ай бұрын
does it work when theres no fgd for making addon?
@egglord7736
@egglord7736 4 жыл бұрын
Not sure if you're still around to give help. The turret fires at the ground no matter where I aim
@nofacee94
@nofacee94 14 жыл бұрын
or copy and paste it from hl2 where you shoot the hunter chopper with it.
@Pezz3950
@Pezz3950 13 жыл бұрын
Awesome! were I to use something similar to this for a school project, would you like me to give you credit for the basic concept?
@butterdogestarwars6709
@butterdogestarwars6709 4 жыл бұрын
I'm going to try to make a helicopter drone with a mounted turret for my Half-Life 2 mod in one of the multiplayer maps.
@ПаньковВячеслав
@ПаньковВячеслав 3 жыл бұрын
It works? I too want to make hl2 deathmatch map with machinegun?
@butterdogestarwars6709
@butterdogestarwars6709 3 жыл бұрын
@@ПаньковВячеслав I’ve been trying to make it for a while, but I can’t get turrets to work.
@DMizuho
@DMizuho 12 жыл бұрын
I'm having this same problem. Gun isn't aiming where I am aiming, and it's shooting the ceiling.
@Stuck44
@Stuck44 14 жыл бұрын
@trainzack I was able to make a workable combine sniper rifle
@shremp0
@shremp0 5 жыл бұрын
My gun just falls into the base, it shoots but there is no sound and where it shoots there is no bullets
@therealmodernwalking9695
@therealmodernwalking9695 5 жыл бұрын
Does this work for multiplayer?
@snitchables
@snitchables 14 жыл бұрын
You sir, are a genious, You need to get a job for valve, and actually make ep3
@Captain0Terror
@Captain0Terror 13 жыл бұрын
@rocketrascal34 Did u actually try to use the turret creating a server with bots, or did you just test loading the game from the console?
@pixolite
@pixolite 13 жыл бұрын
My bullets seem to fire straight into the air, or straight form the air, any advice?
@florizaki
@florizaki 12 жыл бұрын
can you make a tutorial for a big turret machine the same tutorial but big gun
@baconinvader
@baconinvader 8 жыл бұрын
Anyone who wants the gun to fire in more than short bursts, change the env_gunfire and have it have no time between bursts
@bluelambda
@bluelambda 3 жыл бұрын
Do i need the logic_auto for half life 2?
@smashballsx88
@smashballsx88 12 жыл бұрын
my turret works perfectly i even put my own trigger hurt but i do not know how to make my turret consistently fire it only fires for a few seconds and stops then i have to keep clicking to fire how can i fix this
@f15k06
@f15k06 4 жыл бұрын
i know this is eight years old but the env_gunfire by default shoots in bursts, you can change the burst amount to one bullet and set a low in between burst time for a full auto turret
@Danuxsy
@Danuxsy 13 жыл бұрын
@Danuxsy fail, it dosent but just add a trigger_hurt to the bullet
@theFooFighter
@theFooFighter 14 жыл бұрын
but can it blend????
@mechyrexic
@mechyrexic 8 жыл бұрын
how did you make that func_brush a prop model?
@gtamike_TSGK
@gtamike_TSGK 14 жыл бұрын
cool, and the bullets do damage to players? I read somewhere that the bullets only do damage in single player :S
@Margevonn
@Margevonn 12 жыл бұрын
u create prop_physics or other else??
@gtamike_TSGK
@gtamike_TSGK 13 жыл бұрын
@legolasisahobbo Then say hello to the "ED_Alloc: no free edicts" error if you use the turret too much :P
@ShanePatSmith
@ShanePatSmith 10 жыл бұрын
I followed all of your instructions but for some reason my gun just falls to the ground and does nothing. What did I do wrong? Was I supposed to bind something to the base?
@WonderlandWarGaming
@WonderlandWarGaming 7 жыл бұрын
Try to disable the motion.
@user-s9eu8ce9fw
@user-s9eu8ce9fw 6 жыл бұрын
I disabled motion but my gun also just drops doing nothing.
@Lord_Xenu
@Lord_Xenu 5 жыл бұрын
@@user-s9eu8ce9fw sorry for bumping this old comment but disabling pickup on the prop physics will fix this issue.
@user-s9eu8ce9fw
@user-s9eu8ce9fw 5 жыл бұрын
+MIR Adam, oh thanks. I haven't edited maps, but I'll keep this in mind next time that I start making maps. I appreciate it.
@Captain0Terror
@Captain0Terror 13 жыл бұрын
This turret works great in SP, but your parenting methiod to the info_target does not appear to work in a MP game.. =(
@adventurer-like-you1550
@adventurer-like-you1550 8 жыл бұрын
So I triple checked and everything is the same as the video, however the bullets only fire in a small area off to the right. I can't move or control where it fires. It may be the target, but I used the work around as you said. Any Suggestions?
@adventurer-like-you1550
@adventurer-like-you1550 8 жыл бұрын
Nevermind. I just changed the info_target to an env_spark and it fixed it. I would also suggest to add outputs so that when the payer is off of the turret, the gun_bullets is disabled, and when the player is on, the gun_bullets is enabled. This prevents the player from having control after his death.
@Skeiln
@Skeiln 12 жыл бұрын
Question man, on 0:45 i see you have so many setting in your CSS (when u go to 'disconnecting from current server') how the hell u did that? I see many usefull commands there :o
@hereticstanlyhalo6916
@hereticstanlyhalo6916 6 жыл бұрын
mine shows EnableMotion on the output as red with an red rectangle through the arrow to the left
@hereticstanlyhalo6916
@hereticstanlyhalo6916 6 жыл бұрын
nvm fixed
@Pezz3950
@Pezz3950 13 жыл бұрын
@rocketrascal34 Well then I'll be taking credit for someone else's concept, so I'll give you credit anyways. besides, Chances are that me and my friends will release the project to the public anyways. You deserve to get credit for teaching me how to make turret like objects. This is the second time your awesome tutorials helped me out (the other for particle effects). So I think I'll give you credit anyway. I'm definitely am going to check out your tutorials more often whenever I need help.
@danoninho72
@danoninho72 11 жыл бұрын
Please post a tutorial to add damage, even if it is a written tutorial
@baconinvader
@baconinvader 7 жыл бұрын
to add damage, use an invisible env_laser, with the blocking damage set to something other than 0
@MrGermandeutsch
@MrGermandeutsch 11 жыл бұрын
can i make a weapon with the blocks? (no prop)
@baconinvader
@baconinvader 8 жыл бұрын
yes
@Captain0Terror
@Captain0Terror 13 жыл бұрын
@trainzack : i don't think func_tank works in cs:s, amirite?
@Syntox94
@Syntox94 14 жыл бұрын
the same thing is on this map mg_scari_multigame_v3
@ПаньковВячеслав
@ПаньковВячеслав 3 жыл бұрын
Will this work in half life 2 deathmatch?
@k9strike931
@k9strike931 2 жыл бұрын
Yes
@numanumaro
@numanumaro 11 жыл бұрын
***** Why use the logic_auto when you could turn off SmartEdit and add a parent tag?
@baconinvader
@baconinvader 8 жыл бұрын
Because of a glitch with info_target, he needs to parent to be reset every round. Adding a parentname would only set the parent once
@smashballsx88
@smashballsx88 12 жыл бұрын
thank you for the help :)
@takispap100
@takispap100 12 жыл бұрын
You don't need to use this method if you're mapping for non-multiplayer source games such as hl2, hl2 ep1 and hl2 ep2.
@florizaki
@florizaki 12 жыл бұрын
ok thanks
@fekaliss
@fekaliss 4 жыл бұрын
Maybe I stupid and make a mistake, but is doesent work correctly
@Danuxsy
@Danuxsy 13 жыл бұрын
@gtamikesvideos hahaha, ofc not, it does damage to all. =)
@Jonsson95
@Jonsson95 9 жыл бұрын
I did exactly like in this tutorial twice and both times i had same problem. my gun moves perfectly but it doesn't shoot when i press +attack (mouse1). i have halflife2.fgd in the settings. can anyone help me?
@stroyed4229
@stroyed4229 9 жыл бұрын
When mapping for hl2 you use an entirely different thing. It's called a func_tank entity. I'm not sure how to use it but you can go ahead and look.
@Jonsson95
@Jonsson95 9 жыл бұрын
i map for css
@stroyed4229
@stroyed4229 9 жыл бұрын
Sorry. I was a bit confused by you stating you halflife2.fgd. Although the fgd doesn't change the game. You can create an npc using hl2 fgd in tf2 hammer but it wont be in the game.
@Jonsson95
@Jonsson95 9 жыл бұрын
+mod(2019) gaming i didn't know that
@TheOneMucus
@TheOneMucus 9 жыл бұрын
It's funny how his voice changes because he started really young.
@thechosenone729
@thechosenone729 8 жыл бұрын
+lucas pruim he start tutorial when he was 16 and end when he was 24 XD :D
@Avivg1234
@Avivg1234 13 жыл бұрын
help me i dont have env_gunfire
@xbox360fan52
@xbox360fan52 9 жыл бұрын
Same thing with me, I use the turret and my gun falls off.
@_jayk_
@_jayk_ 8 жыл бұрын
I had the same problem, just make the prop_physics "Prevent pickup" in the flags
@smashballsx88
@smashballsx88 12 жыл бұрын
why do that alls you have to do make a huge gun your self ether out of physics props or func_physboxs make a huge turret and then follow the same steps thats what i did
@trainzack
@trainzack 13 жыл бұрын
@CZsquishy Okay. The method above is better. Looking at my post, it looks very immature. Huh.
@julianivanov3058
@julianivanov3058 6 жыл бұрын
completely broken in csgo
@MaltheF
@MaltheF 14 жыл бұрын
Soooeoeeee now we just need the tutorial to rip off the turret, and run around making shit happen. just like in crysis 2 and halo 3
@TheAvatarEng
@TheAvatarEng 14 жыл бұрын
i just copied the one from Half life 2 and used it
@Bordie3D
@Bordie3D 8 жыл бұрын
i click apply rapidly too ^_^ XD
Hammer Tutorial #80 "Blowing up a wall with gibs."
8:31
TopHATTwaffle
Рет қаралды 10 М.
Hammer Tutorial #82 "Random Teleport"
5:19
TopHATTwaffle
Рет қаралды 12 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Why Video Game Graphics Degrade - And Who's to Blame?
15:12
Radical Cap
Рет қаралды 904 М.
SF's Hammer Tutorials - NPC Animations
4:49
Lukas Orsvärn
Рет қаралды 57 М.
Mirror's Edge Any% TAS
21:55
Req
Рет қаралды 122 М.
How 2 use the worst gun in CS2
10:25
iNoToRiOuS
Рет қаралды 912 М.
Hammer Tutorial #79 "Real time Mirrors"
4:11
TopHATTwaffle
Рет қаралды 28 М.
I Hacked Diablo II To Use Modern Graphics
13:16
Nathan Baggs
Рет қаралды 373 М.
Black Mesa: The 16 Year Project to Remake Half-Life | Noclip Documentary
2:10:03
Noclip - Video Game Documentaries
Рет қаралды 3,1 МЛН
Why has Black & White Been Abandoned? - Noclip Greatest Hits
28:44
Noclip - Video Game Documentaries
Рет қаралды 732 М.