Base Magazine (BP_TFA_BaseMagazine)
Cosmetic magazine actor spawned and attached to weapon sockets.
Asset path: /Game/InfimaGames/TacticalFPSAnimations/Common/Core/Weapons/BP_TFA_BaseMagazine
BP_TFA_BaseMagazine is a cosmetic magazine prop actor that the weapon spawns and attaches to its configured magazine sockets on BeginPlay. The actor builds its visuals from WeaponConfig, using a magazine skeletal mesh plus optional bullet meshes attached to bullet sockets. Notify states such as Hide Main Mag and Show Reserve Mag do not spawn new actors. They simply toggle the visibility of these already attached magazine props.
Quick Navigation
Purpose
Provides a visible magazine prop that can be shown or hidden during reload sequences.
Assigns the configured magazine skeletal mesh and magazine AnimBP.
Optionally builds a bullet-stack visualization inside the magazine.
Construction Behavior
In UserConstructionScript, the Blueprint first validates WeaponConfig. It then assigns the actor’s SkeletalMesh component from WeaponConfig.MeshMagazineSK and sets that same component’s Anim Instance Class from WeaponConfig.ABP_Magazine.
After that, it scans all socket names on the SkeletalMesh component. For every socket whose name starts with WeaponConfig.PrefixBulletSocket, which defaults to Bullet_, it creates a new StaticMeshComponent, disables collision, sets that component’s mesh to WeaponConfig.MeshBullet, and attaches it to the matching socket on the magazine skeletal mesh.
Dependencies
Requires a valid Base Config (BP_TFA_BaseConfig) in
WeaponConfigReads
MeshMagazineSK,ABP_Magazine,MeshBullet, andPrefixBulletSocketfrom that config
Customization Notes
Bullet meshes are created by scanning the sockets on the magazine
SkeletalMeshcomponent.Every socket that starts with
PrefixBulletSocketgets its ownStaticMeshComponent.
If the magazine mesh or animation looks wrong, check MeshMagazineSK and ABP_Magazine first. If bullet meshes are missing, verify the socket names on the magazine skeleton and confirm they use the configured prefix.
That means the number of bullet sockets directly affects component count, which is useful to remember if you plan to build more detailed magazine visuals.
Related Pages
Base Weapon (BP_TFA_BaseWeapon) spawns and attaches these actors.
Hide Main Mag and Show Reserve Mag control their visibility.
Last updated
Was this helpful?

