Made sure Projectiles are replicated. Messed around trying to use the player position for projectile orientation on the client, but pitch did not work. Ended up sending the rotation vie RPC.
Was really annoying running out of ammo while testing, so I implemented a cheat code system. First cheat code, give max ammo! Now I can implement any cheat code going forward easily.
Also, worked on the algorithm that determines how much ammo a weapon uses. Based it on how much ammo it can hold and how much damage it can do.
Leave a Reply.