Skip to content

BulletTrace

cs_script API / BulletTrace

interface in cs_script/point_script.

Configuration object for Instance.TraceBullet

    CS2 build 27045800 · Steam date 2026-11-30 · platform windows-x86_64 · schema format 2.2

    Members

    start

    start: Vector

    end

    end: Vector

    shooter

    shooter: CSPlayerPawn

    The player shooting the bullet. Acts as ignoreEnt for traces.

    damage

    damage?: number

    The starting damage value of the bullet. This will reduce as it travels through the air and penetrates solids.

    Default: 100

    rangeModifier

    rangeModifier?: number

    The exponential damage drop off constant from traveling through air.

    Default: .85

    penetration

    penetration?: number

    The power to maintain damage during penetration. Will default to 1 if left undefined.

    Default: 1