Skip to content

Visual and Physical clipping for Garry's Mod

Notifications You must be signed in to change notification settings

TheVayt/proper_clipping

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proper Clipping


Proper Clipping is a visual and physical clipping tool for Garry's Mod with the ability to load in clips from older clipping tools A and B while also allowing them to load in clips from Proper Clipping.

Has StarfallEx and Expression2 functions

StarfallEx:

  • ENTITY.addClip
  • ENTITY.removeClips
  • ENTITY.removeClip
  • ENTITY.removeClipByIndex
  • ENTITY.clipExists
  • ENTITY.getClipIndex
  • ENTITY.physicsClipsLeft

Expression2:

  • ENTITY.addClip
  • ENTITY.removeClips
  • ENTITY.removeClip
  • ENTITY.removeClipByIndex
  • ENTITY.getClipIndex
  • ENTITY.physicsClipsLeft

Server Convars:

  • proper_clipping_max_physics
  • proper_clipping_max_visual_server

Client Convars:

  • proper_clipping_max_visual
  • proper_clipping_mode
  • proper_clipping_offset
  • proper_clipping_physics
  • proper_clipping_pitch
  • proper_clipping_yaw
  • proper_clipping_undo

Hooks:

  • [Shared] ProperClippingCanPhysicsClip(Entity ent, Player ply or nil) -> return false to disallow physics clips

  • [Shared] ProperClippingPhysicsClipped(Entity ent, table normals, table distances)

  • [Shared] ProperClippingPhysicsReset(Entity ent)

  • [Shared] ProperClippingClipAdded(Entity ent, Vector normal, number distance, boolean inside, boolean physics)

  • [Shared] ProperClippingClipsRemoved(Entity ent)

  • [Server] ProperClippingClipRemoved(Entity ent, number index)

  • [Server] ProperClippingClipsNetworked(Entity ent, Player ply or nil)

  • [Shared] CanTool(Player ply, TraceResult trace, "proper_clipping_physics") -> return false to disallow physics clips


Available on the Steam Workshop

About

Visual and Physical clipping for Garry's Mod

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%