4:10 "Make it an info_thaaaaaaaaaaarget!" XDD Made me laugh.
@Anders300010 жыл бұрын
My gun keeps falling.
@revolutionstudios50524 жыл бұрын
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?
@Captain0Terror13 жыл бұрын
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.
@Tailsrus8 жыл бұрын
and where can I download this example?
@konstantinub13 жыл бұрын
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.
@jerooo15913 жыл бұрын
how you learnd all this??? :O
@MiniMaracas12 жыл бұрын
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.
@baconinvader7 жыл бұрын
to add damage, use an invisible env_laser, with the blocking damage set to something other than 0
@Nessinby13 жыл бұрын
@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...
@baconinvader7 жыл бұрын
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
@trainzack14 жыл бұрын
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.
@idarkstarx69396 жыл бұрын
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.
@Conman93108 жыл бұрын
Will this work in other games like Portal 2?
@lowshimАй бұрын
does it work when theres no fgd for making addon?
@egglord77364 жыл бұрын
Not sure if you're still around to give help. The turret fires at the ground no matter where I aim
@nofacee9414 жыл бұрын
or copy and paste it from hl2 where you shoot the hunter chopper with it.
@Pezz395013 жыл бұрын
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?
@butterdogestarwars67094 жыл бұрын
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?
@butterdogestarwars67093 жыл бұрын
@@ПаньковВячеслав I’ve been trying to make it for a while, but I can’t get turrets to work.
@DMizuho12 жыл бұрын
I'm having this same problem. Gun isn't aiming where I am aiming, and it's shooting the ceiling.
@Stuck4414 жыл бұрын
@trainzack I was able to make a workable combine sniper rifle
@shremp05 жыл бұрын
My gun just falls into the base, it shoots but there is no sound and where it shoots there is no bullets
@therealmodernwalking96955 жыл бұрын
Does this work for multiplayer?
@snitchables14 жыл бұрын
You sir, are a genious, You need to get a job for valve, and actually make ep3
@Captain0Terror13 жыл бұрын
@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?
@pixolite13 жыл бұрын
My bullets seem to fire straight into the air, or straight form the air, any advice?
@florizaki12 жыл бұрын
can you make a tutorial for a big turret machine the same tutorial but big gun
@baconinvader8 жыл бұрын
Anyone who wants the gun to fire in more than short bursts, change the env_gunfire and have it have no time between bursts
@bluelambda3 жыл бұрын
Do i need the logic_auto for half life 2?
@smashballsx8812 жыл бұрын
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
@f15k064 жыл бұрын
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
@Danuxsy13 жыл бұрын
@Danuxsy fail, it dosent but just add a trigger_hurt to the bullet
@theFooFighter14 жыл бұрын
but can it blend????
@mechyrexic8 жыл бұрын
how did you make that func_brush a prop model?
@gtamike_TSGK14 жыл бұрын
cool, and the bullets do damage to players? I read somewhere that the bullets only do damage in single player :S
@Margevonn12 жыл бұрын
u create prop_physics or other else??
@gtamike_TSGK13 жыл бұрын
@legolasisahobbo Then say hello to the "ED_Alloc: no free edicts" error if you use the turret too much :P
@ShanePatSmith10 жыл бұрын
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?
@WonderlandWarGaming7 жыл бұрын
Try to disable the motion.
@user-s9eu8ce9fw6 жыл бұрын
I disabled motion but my gun also just drops doing nothing.
@Lord_Xenu5 жыл бұрын
@@user-s9eu8ce9fw sorry for bumping this old comment but disabling pickup on the prop physics will fix this issue.
@user-s9eu8ce9fw5 жыл бұрын
+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.
@Captain0Terror13 жыл бұрын
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-you15508 жыл бұрын
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-you15508 жыл бұрын
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.
@Skeiln12 жыл бұрын
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
@hereticstanlyhalo69166 жыл бұрын
mine shows EnableMotion on the output as red with an red rectangle through the arrow to the left
@hereticstanlyhalo69166 жыл бұрын
nvm fixed
@Pezz395013 жыл бұрын
@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.
@danoninho7211 жыл бұрын
Please post a tutorial to add damage, even if it is a written tutorial
@baconinvader7 жыл бұрын
to add damage, use an invisible env_laser, with the blocking damage set to something other than 0
@MrGermandeutsch11 жыл бұрын
can i make a weapon with the blocks? (no prop)
@baconinvader8 жыл бұрын
yes
@Captain0Terror13 жыл бұрын
@trainzack : i don't think func_tank works in cs:s, amirite?
@Syntox9414 жыл бұрын
the same thing is on this map mg_scari_multigame_v3
@ПаньковВячеслав3 жыл бұрын
Will this work in half life 2 deathmatch?
@k9strike9312 жыл бұрын
Yes
@numanumaro11 жыл бұрын
***** Why use the logic_auto when you could turn off SmartEdit and add a parent tag?
@baconinvader8 жыл бұрын
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
@smashballsx8812 жыл бұрын
thank you for the help :)
@takispap10012 жыл бұрын
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.
@florizaki12 жыл бұрын
ok thanks
@fekaliss4 жыл бұрын
Maybe I stupid and make a mistake, but is doesent work correctly
@Danuxsy13 жыл бұрын
@gtamikesvideos hahaha, ofc not, it does damage to all. =)
@Jonsson959 жыл бұрын
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?
@stroyed42299 жыл бұрын
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.
@Jonsson959 жыл бұрын
i map for css
@stroyed42299 жыл бұрын
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.
@Jonsson959 жыл бұрын
+mod(2019) gaming i didn't know that
@TheOneMucus9 жыл бұрын
It's funny how his voice changes because he started really young.
@thechosenone7298 жыл бұрын
+lucas pruim he start tutorial when he was 16 and end when he was 24 XD :D
@Avivg123413 жыл бұрын
help me i dont have env_gunfire
@xbox360fan529 жыл бұрын
Same thing with me, I use the turret and my gun falls off.
@_jayk_8 жыл бұрын
I had the same problem, just make the prop_physics "Prevent pickup" in the flags
@smashballsx8812 жыл бұрын
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
@trainzack13 жыл бұрын
@CZsquishy Okay. The method above is better. Looking at my post, it looks very immature. Huh.
@julianivanov30586 жыл бұрын
completely broken in csgo
@MaltheF14 жыл бұрын
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
@TheAvatarEng14 жыл бұрын
i just copied the one from Half life 2 and used it