Activity 17.01 – Adding weapons and ammo to the multiplayer FPS game
In this activity, you’ll add the concept of weapons and ammo to the multiplayer FPS project that we started in the previous chapter. You will need to use the different types of RPCs covered in this chapter to complete this activity.
Follow these steps to complete this activity:
- Open the
MultiplayerFPS
project from Activity 16.01 – Creating a character for the multiplayer FPS project. - Create an
AnimMontage
slot calledUpper Body
. - Import the animations (
Pistol_Fire.fbx
,MachineGun_Fire.fbx
, andRailgun_Fire.fbx
) from theActivity17.01\Assets
folder intoContent\Player\Animations
. - Create an
AnimMontage
forPistol_Fire
,MachineGun_Fire
, andRailgun_Fire
, and make sure they have the following configurations:- Pistol_Fire_Montage: A
Blend In
time of0.01
and aBlend Out
time of0.1
. Make sure it uses theUpper Body
slot. - MachineGun_Fire_Montage: A
Blend In
time of0.01
and aBlend...
- Pistol_Fire_Montage: A