Trace and bullet definitions
This page covers the collision shapes used by melee windows and bullet hits, and how a bullet row overrides the instance, chains, and emitters. Concepts are in Traces and hit windows and Bullet runtime.
FGCS_TraceDefinition
A Data Table row, also commonly inlined on a weapon or bullet definition. UGCS_TraceSystemComponent creates the instance; UGCS_TraceSubsystem submits async sweeps on the tick policy. One definition is one shape + one query mode + one sample cadence. Start and stop come from a melee request’s TracesToControl, weapon activation, or a bullet lifetime.
IsValidDefinition() requires a valid TraceTag and a usable shape instance. Invalid rows warn during weapon validation and never register at runtime.
There is also a Default tick type that uses the subsystem default. New tables should pick Fixed or Distance explicitly.
FGCS_TraceSweepSetting
Collision shapes
CollisionShape excludes the base struct and samples in SourceComponent space. Four built-ins:
Static / ShapeBased show Radius, HalfHeight, and HalfSize from ShapeType. Socket Based also has MeshSocketLengthOffset to lengthen the capsule.
FGCS_TraceHandle
Runtime identity: TraceTag + Guid + SourceObject. The component uses it to start, stop, remove, and correlate hit callbacks. Weapons store handles in TraceHandles after activation; bullets store them on FGCS_BulletState.TraceHandles. Do not author the Guid. SourceObject is typically the weapon or bullet instance, so two swords on the same pawn can share a tag without colliding.
FGCS_BulletDefinition
A Data Table row (display name GCS Bullet Definition). UGCS_BulletSystemComponent uses the row to spawn a batch, build GEs, and handle penetration, chains, and emitters. The bullet Actor only presents and moves. The component applies authoritative GEs on hit. Predicted bullets never Apply a GE.
FGCS_BulletSpawnParameters and FGCS_BulletState are runtime spawn parameters and instance state. Do not author them in the table. Chain and emitter bullets spawn on the authority only.
Native bullet tags
Namespaces live in GCS_GameplayTags.h. The GameplayTag values hang under GGF.Combat.Bullet.*.
GCS_BulletLaunch (LaunchCondition)
GCS_BulletEmitter (EmitterSourceType)
GCS_BulletChain (HitChainType)
Custom instances and interfaces are in Interfaces and custom instances.