Skip to content

btnrv/swiftlys2-skills

v0.1.0GPL-3.0-only

Skills for building SwiftlyS2 plugins for Counter-Strike 2.

sws2-traceray

Implement SwiftlyS2 collision traces and aim queries with Core.Trace, including line and hull traces, eye position and view angles for living players, dead players' observer pawns and spectator cameras, collision masks, ignored entities and hit results. Use whenever a plugin needs a raycast, line of sight, what a player is aiming or looking at, wall or ground checks, teleport-to-aim, hit position or surface normal, or distance to a surface.

Read SKILL.md at the source

Pinned to revision b8ce269292be, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.