Great explanation for collider rollback. I've always wondered how it was done.
@xzippyzachx3 жыл бұрын
Thanks! Glad you liked it :p
3 жыл бұрын
Yeah, having a lag compensation system is kinda important for PVP games. I was always terrified of trying to make one of those systems but thanks to your very clear explanation now I have a better idea how it's done. Good job! :)
@xzippyzachx3 жыл бұрын
Yeah it really is! Glad I could help you understand a bit more about how its done :p
@elorus13663 жыл бұрын
I like it. also thank you for replying to my comment last vid! made my day.
@xzippyzachx3 жыл бұрын
No problem!! Glad you like it!
@RugbugRedfern3 жыл бұрын
Ooh I like the new scoreboard a lot! All these improvements are great.
@xzippyzachx3 жыл бұрын
Thanks Rug!
@kryten7192 жыл бұрын
Nearly 20k subscribers :D Great job
@xzippyzachx2 жыл бұрын
🎉 Almost there!
@coolk42753 жыл бұрын
Can’t wait for the game it’s gonna be so cool
@xzippyzachx3 жыл бұрын
Nice!
@JS-ew2ri3 жыл бұрын
Yay, I'm so glad there is another one!
@xzippyzachx3 жыл бұрын
Me too! :p
@JayCode_dev3 жыл бұрын
It's really cool to see these new changes! It's cool that the lag compensation is here!
@xzippyzachx3 жыл бұрын
Thanks Jay!
@JayCode_dev3 жыл бұрын
@@xzippyzachx Always there!
@GamesBySaul3 жыл бұрын
Great video Zach! - Again you explain a somewhat confusing concept really well - and the difference it's seemed to have made as well is amazing! :D Also love the new recoil system!
@xzippyzachx3 жыл бұрын
Thanks Saul! I second guess if I actually explained it well. So its nice to hear that I did a good job. Glad you liked it! :p
@GamesBySaul3 жыл бұрын
@@xzippyzachx Sensing a recurring theme, especially with your last video on CSP - You're great at it!
@aimegrieten3 жыл бұрын
you could maybe implement a friends list so when the game releases you can play with friends!
@xzippyzachx3 жыл бұрын
Yeah probably, or I will implement steam integration or something like that to invite your friends
@gqmeboi_21352 жыл бұрын
If you have friends Cries
@minijimi3 жыл бұрын
Good Job man, I like the custom gameboard value you put in. Good for all game modes, nice. I bet the lag compensation was cool to implement, keep up the game development.
@xzippyzachx3 жыл бұрын
Thanks! :p
@kombatcbse28193 жыл бұрын
Great work Zach
@xzippyzachx3 жыл бұрын
Thanks!
@Dubitarul3 жыл бұрын
Yes . A now video! I love your videos
@xzippyzachx3 жыл бұрын
Glad you like them!
@prod.halfnhalf2 жыл бұрын
Recoil is much better. Gud job
@xzippyzachx2 жыл бұрын
Thanks!
@panically2 жыл бұрын
Hey may I request these features: In a settings menu you can enable low computer mode(which decreases particles for grenades and snow and grass and clouds and others and lowers quality but enhances fps for worse computers) in the settings menu you can enable custom crosshair mode(which allows the client to change his crosshairs to a color or chrome or default) in the settings menu you can change chunk render(so the trees around you load with full texture but the far away things like trees and clouds don't load as great or don't load at all for better fps) sliding(allows the client to slide down hills and ramps by pressing a key for increased momentum PS add a camera shake or motion blur while sliding depending on your velocity) in the settings menu you can enable color highlights(so when your in range to pick up a weapon you can change the color of the outline) lastly I just want say its my birthday today and you using any of my suggestions would be nice to know. thanks in advance...
@MideyDev3 жыл бұрын
Lessgoooo. New recoil system looks a lot better too. I wonder how you get all this stuff done while also doing uni work.
@xzippyzachx3 жыл бұрын
Glad you like it! Very slowly. I work on it a few times a week but sometimes take longer breaks when life is busy. :p
@chocco_fairy2 жыл бұрын
Thanx to you and other coders I am interested in coding
@xzippyzachx2 жыл бұрын
Great!
@plaidev3 жыл бұрын
0:36 damn he cracked
@xzippyzachx3 жыл бұрын
I wish KZbin compression didn't make it so blurry but yeah I may have snuck a few of my Val plays in :p
@rockukaz46482 жыл бұрын
i love your videos. May i suggest you to add some kind of additional items or abilities, like granades
@xzippyzachx2 жыл бұрын
Yes, there will me a lot more content added in the future. Grenades are on my list.
@rockukaz46482 жыл бұрын
Nice
@tomweiland3 жыл бұрын
Congrats on getting the lag compensation working! Did you apply it to the knife as well or just the guns?
@xzippyzachx3 жыл бұрын
Its on the knife as well but the knife is still using a raycast which makes it hard to hit players. Need to try changing it to a sphere cast instead I think.
@RugbugRedfern3 жыл бұрын
@@xzippyzachx I'd probably use an OverlapSphere instead of a SphereCast
@PuffoPufferfish2 жыл бұрын
I watched this video (well done, hope the game went well) and the CSGO video by Devin but was still left a little confused on how exactly the rollback part functions; Are you archiving the player's collision every tick on the server and referring back to the archived collisions whenever a shot is fired at the player, or is it using some other system?
@xzippyzachx2 жыл бұрын
Thanks! Yes you understand it correctly. I keep around a 1 second buffer/archive of the players positions. This way I can rollback to account for latency. Here is an in depth playlist on the topic if you are even more interested in all the mechanics kzbin.info/aero/PLoRL6aS9crowO6h2SL7k9lUV5eeC6uqnx
@winterboltgames3 жыл бұрын
Really interesting!
@xzippyzachx3 жыл бұрын
Glad you liked it!
@facusandoval40743 жыл бұрын
Thank you bro!
@xzippyzachx3 жыл бұрын
:p
@mrIUBERSTRIKE3 жыл бұрын
I think you should add a feature where during capture the flag when you got the flag you can use it as a weapon
@xzippyzachx3 жыл бұрын
Like a melee weapon? Interesting idea :p
@darkigg3 жыл бұрын
There's only one problem with that - the player who go hit by the shot, is not there, and he will absolutely complain about the fact that he got hit by a shot - that never hit him. Though there is no any way to fix it........
@xzippyzachx3 жыл бұрын
Yeah, that's the way it works in every FPS game though. Its called the peakers advantage.
@darkigg3 жыл бұрын
@@xzippyzachx now I finally understand why do I and basically every other gamer always complain about people hitting us when we're not there lol
@kingdomlamb7741 Жыл бұрын
@@xzippyzachx”camera-ing” in cod is basically the same except your running around a corner fast so the enemies computer doesn’t render it as fast as yours
@Bongabangoboga2 жыл бұрын
Here is an idea: why not implement a weapon customization (If you have time)
@xzippyzachx2 жыл бұрын
Yeah both weapon and player customization is on my long list of features to implement :p
@moonknight75643 жыл бұрын
Cool!
@xzippyzachx3 жыл бұрын
Thanks!
@reallocal3 жыл бұрын
very epic.
@xzippyzachx3 жыл бұрын
Thanks!
@EXP2562 жыл бұрын
I think that the recoil going back to the start should be with sniper rifles only but you do you
@StepLite3 жыл бұрын
when this game fullly release
@LAE-73 жыл бұрын
yeah
@xzippyzachx3 жыл бұрын
No clue, when its ready. And I don't know when that will be :p
@Sebastian-Bianchi2 жыл бұрын
Hey man, you should add odball mode from halo. Also, when is this gonna be out?
@xzippyzachx2 жыл бұрын
Yeah a gamemode like odball would be cool. I really don't know when it will be in a releasable state, still a long time until then I would imagine.
@Sebastian-Bianchi2 жыл бұрын
@@xzippyzachx ok cool
@GaLzZy.4 ай бұрын
I'd be very curious to know how you implemented your lag compensation more in detail. I am making a game that would require it, but in my case instead of a gun shot it would be a projectile that is way slower like a spell for example so I was wondering how I could implement that...
@xzippyzachx4 ай бұрын
I suggest asking about lag compensation on my Discord server. I can do my best to answer there.
@edgeworksgames9 ай бұрын
Great video but just want to say that you should probably put an on screen credit/text to show the person who's video you've used :D Specifically for the csgo video
@xzippyzachx9 ай бұрын
I asked for permission to use their video and its linked in the description :p
@edgeworksgames9 ай бұрын
@@xzippyzachx Yaa of course but I think it would be good just to have the channel name in the corner maybe so people could know
@josephnowland89402 жыл бұрын
you should add waves to the ship map water
@xzippyzachx2 жыл бұрын
There are very small waves right now. I might make them bigger
@josephnowland89402 жыл бұрын
@@xzippyzachx cool
@mrIUBERSTRIKE3 жыл бұрын
I think you should add a map maker feature
@xzippyzachx3 жыл бұрын
Maybe eventually :p
@mrIUBERSTRIKE3 жыл бұрын
Yay Thank you
@Chillco6002 жыл бұрын
isnt this also just because of bad netcode? some things cant be fixed no matter how good of netcode you have, but i feel like this isnt one of those, if you have a system in place to make it so that movement and the such is handled by directions (if a player starts moving in a new direction at a given speed, send both the direction vector and the speed float/integer to the server and make it appear like they are moving in that direction on the client) and have a direction and speed comparing system for it ( if the client fires a shot, have the client send the direction and speed the target is currently moving, if it matches up, consider the shot landed, if it doesnt, then dont) and a course correction system along with it (every time a new direction and speed is sent, have them send the current position too, if it for whatever reason does not match up, set their position to the position sent)
@xzippyzachx2 жыл бұрын
You have the right idea. I have both a client prediction system and collider rollback system implemented. I do explain the solution to this problem in the video so I am not sure why you had to repeat an explanation here. :p
@byzantinebb20373 жыл бұрын
Strong
@xzippyzachx3 жыл бұрын
💪
@mr.soulless9042 жыл бұрын
Amazing, is there anyway i can apply collider rollback with photon?
@xzippyzachx2 жыл бұрын
I am sure you can but it depends if you actually need it. If you are using Photons peer to peer networking then I don't think there is any delay in hit detection. I may be wrong though.
@mr.soulless9042 жыл бұрын
@@xzippyzachx oh there is and it’s really bad, it’s because i live in middle east and they don’t support middle east server, so i chose the nearest server which is Europe, however it’s still on 110 ms, so i was wondering how do i implement collider rollback?
@juhaszdavid6403 жыл бұрын
Hey How did you manage the camera recoil to return to the center? I used to do that with lerping back to Vector2.zero, but when you do that it weirdly moves downwards after when your done with shooting Game's looking great, cheers
@xzippyzachx3 жыл бұрын
Its kind of hard to explain but I am using lerping and slerping to accomplish the returning. If you ask on my Discord server I can direct you to the resources I used.
@juhaszdavid6403 жыл бұрын
@@xzippyzachx i have done the same, but doesnt it feel weird when you try to compensate your recoil? Thanks, I will definitely join your discord!
@s4ng1242 жыл бұрын
you should make a story mode for multi player, and solo
@xzippyzachx2 жыл бұрын
Maybe...
@mrIUBERSTRIKE2 жыл бұрын
Can you please add and improve that cops vs bad guys mode?
@xzippyzachx2 жыл бұрын
Is that the gamemode where you could breach walls in my old multiplayer game? If so then yes its on my list of gamemodes to add to this game.
@mrIUBERSTRIKE2 жыл бұрын
Yes
@andresv8856 Жыл бұрын
What happens when you have an unstable connection??
@xzippyzachx Жыл бұрын
An unstable connection would make the hit registration even worse.
@andresv8856 Жыл бұрын
@xzippyzachx yeah it's really difficult for me to play online fps, I got fiber but still sucks
@zoidskenji25973 жыл бұрын
I download your game ,but i don't know to how to join the server?
@xzippyzachx3 жыл бұрын
Servers are only running during playtests. If you are on my Discord server you will be notified when there is a playtest.
@zoidskenji25973 жыл бұрын
@@xzippyzachxi just joined your discord server
@zoidskenji25973 жыл бұрын
I don't know how to make your own server?Just like the old one
@xzippyzachx3 жыл бұрын
You cant host your own servers in my new multiplayer game yet.
@lop15063 жыл бұрын
can you add explosives to break walls. with that i mean: 5 years of making games in unity 8:40
@xzippyzachx3 жыл бұрын
Yeah I might add that to this game eventually
@fv4202x3 жыл бұрын
1:25 If we shoot a little bit further than it moves, can we kill the enemy then?
@xzippyzachx3 жыл бұрын
Yes if there is no lag compensation then you could lead your shots to try and "guess" where there actual position is on the server.
@fv4202x3 жыл бұрын
@@xzippyzachx So we can think like csgo has wind :D
@yousset8082 жыл бұрын
please upload vedio for player name in unet
@mrIUBERSTRIKE2 жыл бұрын
Are you gonna add story mode
@xzippyzachx2 жыл бұрын
Maybe, but for now I will be focusing on the multiplayer aspect
@realmizan3 жыл бұрын
When can I play this I can’t wait !!
@xzippyzachx3 жыл бұрын
join the discord and give yourself the playtester role. Next time we playtest you will be pinged.
@realmizan2 жыл бұрын
@@xzippyzachx ok i did ill wait
@jadelinliske3713 жыл бұрын
cracked valorant player
@xzippyzachx3 жыл бұрын
Yeeeeeeeeeeeeeeeee
@WhiteFTO3 жыл бұрын
bro i love ur game were can i download it
@xzippyzachx3 жыл бұрын
Become a playtester on my Discord server and you can play with us next playtest session
@molkayt79842 жыл бұрын
You should see with getting it on console it's really good
@xzippyzachx2 жыл бұрын
Maybe, but focusing on PC first
@jeffersonbellon44323 жыл бұрын
If I play this game I fell like it would be to easy to shoot for the head, it looks so big tho
@xzippyzachx3 жыл бұрын
Yeah thats why I am not sure if head shots should do more damage or not.