Prototpe


For the game we are creating I took care of most of the things with the BP_ThirdPersonCharacter. I implemented others code into this blueprint, but didn't attach those images as that's not the code I truly created. What I created within the third person character, is a system to keep track of which weapon was being held in which moment. So, the player picks up its default carbine rifle and that updates the 'equipped weapon' variable so they're able to use the carbine. Once they pick up a weapon dropped from an enemy that has a special ability affect to it, the carbine rifle gets put away updating the 'equipped weapon' variable to the special weapon. Once the player drops the special weapon the carbine comes back into use, once again being updated to the 'equipped weapon' variable. The system also keeps track that the player is holding a special weapon, and if they are, they cannot pickup another special weapon. They must drop the special weapon they currently have in their hand or wait for it to run out of ammo.

Get Game Design 3/ Coding 2

Leave a comment

Log in with itch.io to leave a comment.