Thanks Plai for every videos you made ! This is really useful and very cool :) !
@plaidev
2 жыл бұрын
Glad you like them!
@knowOneGameHard
Жыл бұрын
Its so funy that I was watching Unity Basic Weapon System Tutorial from this guy and was have problems with the shooting accuracy and some how ended up clicking on this video.
@monkeyrobotsinc.9875
Жыл бұрын
the set and select weapons methods, the way you have them match up with the array index, ..... is nuts. i really like that. and the true false check for switching based on that. really nice. Line 39 is my favorite. 2:28
@Solidrigs
2 жыл бұрын
Great video as always! Btw I personally believe firing from muzzle can also be quite useful for building realistic FPS game where where the gun is pointing matters.
@decoy3641
2 жыл бұрын
You condense such a long (for the first time) process in such a short, easy to follow video! Thank you!
@felixensor2409
2 жыл бұрын
Great tutorial! Could the next video possibly be on recoil or screen shake because that would add to the "impact" of the game.
@NotHimKoja
2 жыл бұрын
I would like a recoil one too but for screen shake you can use the Kings(Brackeys) screen shake
@GrowingEggplantion
Жыл бұрын
*GAME FEEL*
@edit.r4k
2 жыл бұрын
when the world needed him the most, he came back
@flickermarc6308
2 жыл бұрын
PLEASE do a ADS/Scope tutorial it would be the best next step in the series and would be a great thing to learn
@raphoulefilou
2 жыл бұрын
Omfg i swear im so happy the ytb algorithm let me found this video, they are so usefull!
@Jomalion
2 жыл бұрын
your tutorials are AMAZING! Thank you a lot!
@rhymax7294
2 жыл бұрын
Awesome VDO Father (Plai's child as you know me)
@voyagetaker9505
2 жыл бұрын
i wanna make a cool switching animation, but this script makes it very so theres multiple ways to make it, example: ... well, idk how to make that stuff i gotta learn more :/(oh yea and also, good job viber, very usefull... and cool)
@mincha9999
Жыл бұрын
bro is our next brackeys, love your content please keep making more of shooting system specially with bullet trails(kinda like karlson)
@NotHimKoja
2 жыл бұрын
Thanks works like a charm! Could the next video be about recoil?
@Mxchyyyy
2 жыл бұрын
Nice video. I loved that you used the Karlsson demo for showcase lmao
@keanezebean1
2 жыл бұрын
HE'S BACK
@SK-kl9gs
2 жыл бұрын
Thank you for the tutorials! Keep them coming :)
@BarbeelBarbeelBarbeel
2 жыл бұрын
He’s back
@yugam6578
2 жыл бұрын
You are the only youtuber with these tutorials but bring videos fast
@youssefbadawi8215
2 жыл бұрын
I missed ur sick tutorials bro
@AboFroos
2 жыл бұрын
clean and awesome tuts ❤
@monkeyrobotsinc.9875
Жыл бұрын
GOOD Video .
@IceyRhythm
2 жыл бұрын
lets go plai
@Khaled_khalil
2 жыл бұрын
ty :] ... EPIC video
@akarsh9407
2 жыл бұрын
I guess next dani video will be on nft, great video mate :)
@RMC365
2 жыл бұрын
These videos are great and simple, very nice
@X_EpicDev
Жыл бұрын
I'd love to see a version that adds Aim Down Sights or Shotgun Support also explosive ammo or something could be cool
@pocketcorner3309
2 жыл бұрын
Your tutorials are so helpful bruh thanks a lot Could you make one on how to pickup a drop weapons similar to csgo style?
@bennydaboy6984
2 жыл бұрын
The legend has left us again
@JustNoxid
2 жыл бұрын
straight to the point thank god
@muhamad.Barzani
2 жыл бұрын
your tutorials are simple af. i have learned so much from one of your videos, and im about to watch all your tutorials. i have a project for 27th of march and i have to make a decent game and the map is my college, and i have 11 days to make it, im learning at the moment. keep up the good work, i think i will make it in time by watching your tutorials
@NotHimKoja
2 жыл бұрын
WHY DO YOU NEED GUNS FOR YOUR COLLEGE WHAT ARE YOU PLANNING HERE?!
@manavthapar8465
2 жыл бұрын
@@NotHimKoja nah… he’s doing the right thing… i say use nuclear weapons too
@michaelchen1046
2 жыл бұрын
thank you so much for these videos
@shubhampatel8193
2 жыл бұрын
wating for next part :))
@bigbluebuttonman1137
2 жыл бұрын
Thanks. It works without a hitch.
@york9283
2 жыл бұрын
Hey you guys seem to know alot about this crap. Everytime I try to reload my ar the console says "coroutine couldn't be started because the game object "pistol" is inactive" and vice versa. How do I fix this?
@TheNuuttiPro123
2 жыл бұрын
inventory? and pickup system
@adhviklalthoppe2214
2 жыл бұрын
Hey, can you please make a video on how to add sliding to the rigidbody fps controller? Keep up the great work!!!
@NotHimKoja
2 жыл бұрын
Dave/Game Development made one with his and his and plais script interlock
@adhviklalthoppe2214
2 жыл бұрын
@@NotHimKoja thx bro
@anj_10
2 жыл бұрын
I swear your the best KZitemr ♥️♥️
@themilkman1201
2 жыл бұрын
BEST Tutorials!!!! But, for the next one could you add crouching?
@Duxkd
Жыл бұрын
can you make full based tutorial about "How to make a multiplayer shooter game" please :)
@julekf9046
2 жыл бұрын
I am waiting for the mele weapon like knife sword or something like that
@subarunatsuki1902
2 жыл бұрын
Please more Videos! Would love to know to add sound to the gun
@ronak3813
2 жыл бұрын
Hey, love u r videos but can u make advanced weapon video with projectile weapons with weapon switch?
@crunked
2 жыл бұрын
Please make another tutorial on adding particles to your guns when you shoot them and aiming down sight or even crouching and jumping im enjoying this alot please pick this tutorial back up
@partishdarji26
Жыл бұрын
YOUR 100TH COMMENT!!! i wanted to know what should i do for a survival game WHERE i want pickup and drop guns???
@polix9999.2
2 жыл бұрын
Tyy broo now just cool gfx
@kryten719
2 жыл бұрын
Very good video; although it has been 10 seconds and I haven't watched it
@plaidev
2 жыл бұрын
lol
@theoneandonlylg3824
2 жыл бұрын
Very useful tutorial, could you please add weapon pickups next? I wonder how to make this script check if weapon is picked up and therefore determine to activate it
@ads4752
2 жыл бұрын
Ty 🙏
@MrMikhaelJackson
Жыл бұрын
I love these tutorials, but how do I disable rapid fire on the pistol?
@darkrehart
2 жыл бұрын
you are very underrated
@ideology8323
2 жыл бұрын
I sincerely hope you become the next brakeys. Or even better than him
@Cacti75
Жыл бұрын
Can you please make an ADS tutorial?
@DIM0NER
5 ай бұрын
Bro can you do video "Weapon Effect Shooting" i will happy if you do it:)❤
@ricdev6085
2 жыл бұрын
I love it
@noahhall5777
Жыл бұрын
Is there a clever way of making weapons "unlockable" with this system? As in you can't equip a weapon until a condition is met, like the player having picked it up for instance
@KitagawaKen5502
2 жыл бұрын
make a sliding tut for the movement tutorial series plz
@snappy6720
2 жыл бұрын
Whaaaaat you're alive??????
@hehehe_hussain1694
19 күн бұрын
we need a vid for UI
@swiftchuck
2 жыл бұрын
I know you might not see this but if you could if you are making a next video to make an Aim Option? Would really appreciate it!
@plaidev
2 жыл бұрын
Yea I probably will
@ronak3813
2 жыл бұрын
can u make video on how to add slide and crouch in your fps controler
@mesostonks
2 жыл бұрын
can you make a tutorial on procedural gun animation when jumping or landing?
@NatsuDragneel12095YT
11 ай бұрын
Please Make Weapon System #3
@Alan-jy5wr
2 жыл бұрын
Which theme do you use for visual studio its very nice and calm
@spud7234
Жыл бұрын
Hey, im a bit dense so i might just be blind to a step, but if i interrupt the reloading by ending playtest during the reload, it just breaks the gun, it can't shoot or reload anymore and i have no clue why or how to prevent it from happening, i just reload a backup to fix it. wut
@pxlisedvr
2 жыл бұрын
can you make a muzzle flash tutorial
@KitagawaKen5502
2 жыл бұрын
also grab and throw plz (don't want to be to pushy sry)
@axelsmaxel
2 жыл бұрын
where is tutorial no.3!?!?!??!
@cuberkai1899
4 ай бұрын
ey bloodclat man yo script not work men it break my camera you bomboclaat
@Multitacc
24 күн бұрын
3:26 both my weapons are on alpha 1 (nvm i fixed it)
@imlandfall
8 ай бұрын
I ran into a problem where when you switch weapons. You can shoot one bullet from the previous weapon. any fix?
@synkgd619
2 жыл бұрын
I have an idea for the next part of this. Recoil or animations
@plaidev
2 жыл бұрын
It'll probably be visual / sound fx But yea I may consider it after that
@anj_10
2 жыл бұрын
Can you please make a enemy tutorial
@Ragnar_hg007
Жыл бұрын
When I start the game both weapons are visible, how do I fix that?
@voltywolty
2 жыл бұрын
can we expect a pick up system for weapons and other items?
@purplefrog8194
2 жыл бұрын
Great tutorial, but when I switch weapons it still shoots bullet from previous weapon
@KoopaTheQuick3
Жыл бұрын
has anyone found a fix for this?
@fragdummy
Жыл бұрын
@@KoopaTheQuick3 yeah I need a fix as well
@creepyant
2 жыл бұрын
Bruh why is it always that when I add something to my game, you create a tutorial about it the very next day
@MoodMall
9 ай бұрын
Pls help I have still problem with the coroutine
@ImJustLucky0
2 жыл бұрын
whenever i load another scene it says, "MissingReferenceException: The object of type 'Transform' has been destroyed but you are still trying to access it" can u please help?
@DevDreamz-k6m
2 жыл бұрын
Is there a way to use the new Input system for switch
@cjigaming7550
2 жыл бұрын
finally regular lazy boi!!!!!!!!!!!!!!!
@voyagetaker9505
2 жыл бұрын
IM THE 30 LIKE LETS GOOOOOOOOOOOOOOOO
@michaelchen1046
2 жыл бұрын
will you integrate this into your movement project?
@Chris-lw5po
2 жыл бұрын
It already is, the first part where hes setting up the weapon and already has a FPS controller -- that controller is the one he built or at least similar enough to use this on it.
@vilag872
2 жыл бұрын
Hello plai ! I wish that you can do a third person player movement tutorial, that'll be awesome from ya !
@plaidev
2 жыл бұрын
Sounds like a good idea
@syedsadiq8631
2 жыл бұрын
Hha bro were is hand !!!!??????👀👀
@RMC365
2 жыл бұрын
Whenever I try to press the reload button, it doesn't reload the ammo, I did the code correctly. What will I do?
@sync3471
2 жыл бұрын
Send us a pastebin link with the code or something at least
@axelsmaxel
Жыл бұрын
what happened to this series?
@Bilburt
Жыл бұрын
Does anyone know how I could print how much ammo the mag holds and how much is left? example: 13/18
@fragdummy
Жыл бұрын
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; public class AmmoCounter : MonoBehaviour { public GameObject WEAPON1; public GameObject WEAPON2; [SerializeField] private GunData gunData; [SerializeField] private GunData gunData2; [SerializeField] private TextMeshProUGUI ammoCounter; private void Update() { if (WEAPON1.activeInHierarchy == true) { ammoCounter.text = gunData.currentAmmo + "/" + gunData.magSize; } if (WEAPON2.activeInHierarchy == true) { ammoCounter.text = gunData2.currentAmmo + "/" + gunData2.magSize; } } } Make a canvas and add a TextMeshPro. After that, add the script to it and add the gun datas and gameobject.
@Matt-lm8tj
Жыл бұрын
Someone know why we shoot the fisrt bulelt with the 2 guns ?
@fragdummy
Жыл бұрын
yeah I'm having that problem as well. Have you fixed it yet?
@Matt-lm8tj
Жыл бұрын
@@fragdummy just change this line "private bool CanShoot() => !gunData.reloading && timeSinceLastShoot > 1f / (gunData.fireRate / 60f) && this.gameObject.activeSelf;"
@quinnbrosseau3217
2 жыл бұрын
Another amazing video, you earned a subscription today, I hope you sucseed!
@GoodTato
2 жыл бұрын
Hi, I don't know if you still read comments but when I switch weapons then fire it fires the current weapon as well as all the ones selected since last shot fired. Is there a fix for this?
@archieharrap5901
Жыл бұрын
did you ever find a fix i have this problem too
@Matt-lm8tj
Жыл бұрын
same problem
@SparrowGamerGR
Жыл бұрын
well, i'm a bit late to this but here's the solution (paste this inside the Weapon switching script): private void Update() { int previousSelectedWeapon = selectedWeapon; for (int i = 0; i < keys.Length; i++) { if (Input.GetKeyDown(keys[i]) && timeSinceLastSwitch >= switchTime) { // Unsubscribe the event listeners of the previously selected weapon if (previousSelectedWeapon >= 0 && previousSelectedWeapon < weapons.Length) { PlayerShoot.shootInput -= weapons[previousSelectedWeapon].GetComponent().Shoot; PlayerShoot.reloadInput -= weapons[previousSelectedWeapon].GetComponent().StartReload; } selectedWeapon = i; // Subscribe the event listeners of the newly selected weapon if (selectedWeapon >= 0 && selectedWeapon < weapons.Length) { PlayerShoot.shootInput += weapons[selectedWeapon].GetComponent().Shoot; PlayerShoot.reloadInput += weapons[selectedWeapon].GetComponent().StartReload; } } } if (previousSelectedWeapon != selectedWeapon) { Select(selectedWeapon); } timeSinceLastSwitch += Time.deltaTime; }
@Dougyl
Жыл бұрын
@@SparrowGamerGR Thanks i had this problem too
@nomgartt
7 ай бұрын
finish this plez
@utx5809
2 жыл бұрын
Dose the king reply
@plaidev
2 жыл бұрын
of course 😏
@utx5809
2 жыл бұрын
@@plaidev bro I love your vids your a huge inspiration.
@Flyen256
10 ай бұрын
ammo in scriptable object xD
@donajello
2 жыл бұрын
Any tips on how to go about implementing bullet tracers like this kzitem.info/news/bejne/xH9pq2uVn2llgHY as the Raycast is now done from the camera and not the muzzle?
@Chris-lw5po
2 жыл бұрын
keep the muzzle object and raycast the shot from camera but draw a tracer line from the muzzle to wherever your camera raycast hits? I haven't worked with this but it's a thought that popped into my head. May not be viable.
@jinn1074
2 жыл бұрын
✨ p̶r̶o̶m̶o̶s̶m̶
@bigglasses2625
4 ай бұрын
I need you to please stop making variables/changing their names without telling us.
@MyHandsForWar
3 ай бұрын
Your code is literally impossible to follow because you autofill so much and use curly brackets so bizzarely. it's like trying to follow a monkey on speed.
@Marco-yk8kp
2 жыл бұрын
string enemyTag; public GameObject projectilePrefab; private NavMeshAgent navMeshAgent; public LayerMask monsterLayer; public float nextShot = 0f; public float fireRate = 4f; public float splashDamage = 30f; public float overTimeDamage = 15f; public float patrolRange = 10f; public float attackRange = 15f; public bool wonMatch = false; // Start is called before the first frame update private void Awake() { navMeshAgent = GetComponent(); } private void Start() { if (gameObject.tag == "Blue") { enemyTag = "Red"; } if (gameObject.tag == "Red") { enemyTag = "Blue"; } } public GameObject FindClosestEnemy(string tg) {
Пікірлер: 124