top of page
Search

Dev Log 7# Remote Procedure Calls, Implementing Crouching, Need to sort out Visuals

These allow clients to call functions locally and be executed on the server and vice versa or in the case of multicast functions if they are called on the server and executed on the server and on all clients. However, if they are called from clients, they will only execute locally, and will not execute on the server. They can also be marked as reliable to guarantee their execution, it's important to do this for only necessary game events as inappropriate use can be costly for example I marked an RPC for aiming as reliable because that's an important part of a shooter game.


I also implemented crouching by making use of the crouch function provided by unreal themselves as the replication code has already been taken care of under the hood so I just need to call the functions crouch and uncrouch.


This was a weird bug that I fixed by setting the bool variable orientRotationToMovement to false which is found in Unreal's character movement component inside of a rep notify function that is called when the character equips a weapon. Still much work to be done in terms of visuals such as aim walking and creation of aim offsets.


 
 
 

Comments


bottom of page