Garry's Mod

Garry's Mod

Improved Crossbow Bolt
Showing 1-10 of 34 entries
< 1  2  3  4 >
Update: 17 Apr @ 7:53am

  • Completely overhauled the inner workings of the addon to improve performance and increase compatibility with addons and scripts that use 'crossbow_bolt' entities
  • Introduced the hip-fire option that moves the launching position of a bolt from the shooter's eyes to the equipped crossbow and is toggleable via the 'improved_crossbowbolt_hipfire' ConVar
  • Bolts are affected by the world's gravity and for this reason, the gravity option is now a multiplier and its ConVar has been renamed to 'improved_crossbowbolt_gravitymul'
  • Underwater speed penalty is less severe, but the speed treshold over which the slowdown takes effect has been lowered
  • Toggling the trajectory preview will display a quick notification, including a warning when certain server options that have a negative impact on the result are enabled
  • Underwater bubbles are now animated, vibrating slightly as they float
  • Added two new buttons to the sliders of the options menu: one resets the slider to its default value, the other, where available, sets it to the value used by Half-Life 2
  • Fixed a regression with flying crossbow bolts not glowing
  • Corrected a small inaccuracy of the clientside trajectory preview when shooting through breakable glass
  • Fixed excessive 'InvalidateLayout' hook calls by the addon's options menu window
  • Addressed harmless console warnings regarding a missing material and uninitialized physics, they no longer appear
  • Fixed a bug with both serverside and clientside ragdolls being able to be pinned to the sky

Update: 8 Mar @ 9:05am

  • Introduced shot inaccuracy, customizable via the new ConVar 'improved_crossbowbolt_spread'

Update: 3 Jan @ 3:19am

  • Fixed a lua error when sticking a bolt prop to an entity that either has no model or its skeleton has an invalid bone at index 1

Update: 20 Aug, 2024 @ 9:11am

  • Code has been simplified by taking advantage of the new features introduced in the July 2024 update, resulting in small performance improvements
  • Ragdolls are pinned more accurately, reducing glitchy-looking geometry overlaps with the entity they are stuck to
  • Fixed a bug with ragdolls being unable to be pinned to solid entities bullets can pass through, like metal fences and grates

Update: 27 Jun, 2024 @ 2:00am

  • Added the option to visualize a preview of the trajectory of crossbow bolts, toggleable via the newly introduced 'improved_crossbowbolt_preview' ConCommand
  • Fixed a bug with bolts no longer dealing damage after breaking and passing through entities made out of glass
  • Restored the ability to reset GUI sliders to their default value via middle mouse button (it was removed in the Dev branch of GMod)

Update: 17 May, 2024 @ 1:19am

  • Added a new ConCommand, 'improved_crossbowbolt_menu', that opens up the addon's configuration options window (even outside of Sandbox gamemode)
  • Fixed a bug with an addon file not being sent to clients, causing a 'File not found or empty' error

Update: 13 Apr, 2024 @ 6:26am

  • Damage can now be scaled depending on the target's body part hit (the damage multipliers are set by the active gamemode). This usually means more damage on headshots and less on limb-shots. This optional feature is controlled by the newly introduced 'improved_crossbowbolt_hitgroupdmg' ConVar
  • Bolts will spawn more reliably at the shooting position. This is a more robust fix for the issue that was addressed in the previous update
  • An entity that is no longer solid will have all bolts stuck to it removed. This fixes some visual glitches involving floating bolts, including one happening when picking up a weapon that has bolts stuck to it
TTT specific improvements, for the people that have addons capable of spawning crossbow bolts in that gamemode:
  • Better interactions with player corpses: ragdoll support is now feature-complete
  • Just like thrown knives, crossbow bolts are recognized as projectile weapons: they now appear on corpse searches as the murder weapon
  • Because of the above feature, a custom-made gui icon has been added

Update: 7 Apr, 2024 @ 6:59am

  • Bolt replacement code is more mindful of server lag, fixes a collision bug with entities close to the shooter

Update: 3 Apr, 2024 @ 10:40am

  • Fixed a lua error with bolts that have no owner entity set

Update: 17 Mar, 2024 @ 3:26am

  • Server hosts will be able to customize bolt trails by changing the size, color and texture
  • Added five new ConVars related to the above new feature: 'improved_crossbowbolt_trail_color', 'improved_crossbowbolt_trail_texture', 'improved_crossbowbolt_trail_startsize', 'improved_crossbowbolt_trail_endsize', 'improved_crossbowbolt_trail_lifetime'
  • QOL changes to the addon's option menu in Sandbox: grouped options into categories for easy filtering + each slider option can now be reset to its default value via middle mouse button click
  • Setting the 'improved_crossbowbolt_pushscale' ConVar to 0 will now nullify the push force as expected
  • Fixed a bug with NULL physics objects when pinning ragdolls